diff options
author | Benoît Ganne <bganne@cisco.com> | 2019-07-04 16:43:26 +0200 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-07-05 08:48:39 +0000 |
commit | 3918bdbcbb6459fe61eb5ab8bd1c30bf287e39ce (patch) | |
tree | b44e38eacab075c4a90049241e8fa5f81e2a00c3 /src/plugins/gbp/gbp.api | |
parent | 73c8d1d644c1b1606848579c7d539f739d63487a (diff) |
gbp: update gbp-ext-itf API
Change gbp-ext-itf API to create anonymous ext-itf through the same API
as non-anonymous instead of a new API
Type: refactor
Change-Id: I381ff2a5bcd55276793df78ca891334c28946cd0
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/plugins/gbp/gbp.api')
-rw-r--r-- | src/plugins/gbp/gbp.api | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/plugins/gbp/gbp.api b/src/plugins/gbp/gbp.api index cf0564ccc9a..99be9c4f777 100644 --- a/src/plugins/gbp/gbp.api +++ b/src/plugins/gbp/gbp.api @@ -393,11 +393,18 @@ define gbp_vxlan_tunnel_details vl_api_gbp_vxlan_tunnel_t tunnel; }; +enum gbp_ext_itf_flags +{ + GBP_API_EXT_ITF_F_NONE = 0, + GBP_API_EXT_ITF_F_ANON = 1, +}; + typeonly define gbp_ext_itf { u32 sw_if_index; u32 bd_id; u32 rd_id; + vl_api_gbp_ext_itf_flags_t flags; }; manual_print autoreply define gbp_ext_itf_add_del @@ -420,14 +427,6 @@ define gbp_ext_itf_details vl_api_gbp_ext_itf_t ext_itf; }; -manual_print autoreply define gbp_ext_itf_anon_add_del -{ - u32 client_index; - u32 context; - u8 is_add; - vl_api_gbp_ext_itf_t ext_itf; -}; - /* * Local Variables: * eval: (c-set-style "gnu") |