summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2017-09-22 07:52:28 +0200
committerNeale Ranns <nranns@cisco.com>2017-09-28 15:53:30 +0000
commit905e250baf982aa5b81265d8f88ec022ef8666ce (patch)
tree619a79d593d7ec747e490b6e74ac63b35d57a0d9 /src
parent958b750ceaf6c20466bc4e5605da39b4490847d9 (diff)
C++ API: remove deprecated throw lists
Change-Id: Ia58664438c9dc949884a794bd123555a13a02e6c Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/vpp-api/vapi/vapi.hpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/vpp-api/vapi/vapi.hpp b/src/vpp-api/vapi/vapi.hpp
index 3be78b41b0a..a3ac2ce7103 100644
--- a/src/vpp-api/vapi/vapi.hpp
+++ b/src/vpp-api/vapi/vapi.hpp
@@ -587,8 +587,7 @@ private:
return &my_id;
}
- Msg (Connection &con, void *shm_data) throw (Msg_not_available_exception)
- : con{con}
+ Msg (Connection &con, void *shm_data) : con{con}
{
if (!con.is_msg_available (get_msg_id ()))
{
@@ -599,8 +598,7 @@ private:
this, shm_data);
}
- void assign_response (vapi_msg_id_t resp_id,
- void *shm_data) throw (Unexpected_msg_id_exception)
+ void assign_response (vapi_msg_id_t resp_id, void *shm_data)
{
assert (nullptr == this->shm_data);
if (resp_id != get_msg_id ())
@@ -745,8 +743,7 @@ private:
complete = true;
}
- void assign_response (vapi_msg_id_t resp_id,
- void *shm_data) throw (Unexpected_msg_id_exception)
+ void assign_response (vapi_msg_id_t resp_id, void *shm_data)
{
if (resp_id != Msg<M>::get_msg_id ())
{
@@ -852,8 +849,7 @@ template <typename M> class Event_registration : public Common_req
public:
Event_registration (
Connection &con,
- std::function<vapi_error_e (Event_registration<M> &)> callback =
- nullptr) throw (Msg_not_available_exception)
+ std::function<vapi_error_e (Event_registration<M> &)> callback = nullptr)
: Common_req{con}, result_set{con}, callback{callback}
{
if (!con.is_msg_available (M::get_msg_id ()))
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
---
# file: sut.yaml

- hosts: sut
  remote_user: testuser
  become: true
  become_user: root
  gather_facts: false
  pre_tasks:
    - name: Gathering Facts
      gather_facts:
      tags:
        - always
  roles:
    - role: baremetal
      tags: baremetal
    - role: common
      tags: common
    - role: python_env
      tags: python_env
    - role: kernel
      tags: kernel
    - role: mellanox
      tags: mellanox
    - role: intel
      tags: intel
    - role: docker
      tags: docker
    - role: vpp
      tags: vpp
    - role: dpdk
      tags: dpdk
    - role: kernel_vm
      tags: kernel_vm
    - role: csit_sut_image
      tags: csit_sut_image
    - role: performance_tuning
      tags: performance_tuning
    - role: cleanup
      tags: cleanup
    - role: calibration
      tags: calibration

- hosts: sut_aws
  remote_user: testuser
  become: true
  become_user: root
  gather_facts: false
  pre_tasks:
    - name: Gathering Facts
      gather_facts:
      tags:
        - always
  roles:
    - role: user_add
      tags: user_add
    - role: common
      tags: common
    - role: python_env
      tags: python_env
    - role: vpp
      tags: vpp
    - role: dpdk
      tags: dpdk
    - role: iperf
      tags: iperf
    - role: docker
      tags: docker
    - role: aws
      tags: aws
    - role: cleanup
      tags: cleanup
    - role: calibration
      tags: calibration

- hosts: sut_azure
  become: true
  become_user: root
  gather_facts: false
  pre_tasks:
    - name: Gathering Facts
      gather_facts:
      tags:
        - always
  roles:
    - role: user_add
      tags: user_add
    - role: common
      tags: common
    - role: python_env
      tags: python_env
    - role: docker
      tags: docker
    - role: vpp
      tags: vpp
    - role: iperf
      tags: iperf
    - role: dpdk
      tags: dpdk
    - role: azure
      tags: azure
    - role: cleanup
      tags: cleanup
    - role: calibration
      tags: calibration