summaryrefslogtreecommitdiffstats
path: root/src/plugins/gtpu/gtpu.api
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/gtpu/gtpu.api')
-rw-r--r--src/plugins/gtpu/gtpu.api15
1 files changed, 4 insertions, 11 deletions
diff --git a/src/plugins/gtpu/gtpu.api b/src/plugins/gtpu/gtpu.api
index f8333ff2ebc..b5f4f029c53 100644
--- a/src/plugins/gtpu/gtpu.api
+++ b/src/plugins/gtpu/gtpu.api
@@ -39,6 +39,7 @@ define gtpu_add_del_tunnel
u32 encap_vrf_id;
u32 decap_next_index;
u32 teid;
+ option vat_help = "src <ip-addr> { dst <ip-addr> | group <mcast-ip-addr> { <intfc> | mcast_sw_if_index <nn> } } teid <teid> [encap-vrf-id <nn>] [decap-next <l2|nn>] [del]";
};
/** \brief reply for set or delete an GTPU tunnel
@@ -63,6 +64,7 @@ define gtpu_tunnel_dump
u32 client_index;
u32 context;
u32 sw_if_index;
+ option vat_help = "[<intfc> | sw_if_index <nn>]";
};
/** \brief dump details of an GTPU tunnel
@@ -96,23 +98,14 @@ define gtpu_tunnel_details
@param is_ipv6 - if non-zero, enable ipv6-gtpu-bypass, else ipv4-gtpu-bypass
@param enable - if non-zero enable, else disable
*/
-define sw_interface_set_gtpu_bypass
+autoreply define sw_interface_set_gtpu_bypass
{
u32 client_index;
u32 context;
u32 sw_if_index;
u8 is_ipv6;
u8 enable;
-};
-
-/** \brief Interface set gtpu-bypass response
- @param context - sender context, to match reply w/ request
- @param retval - return code for the request
-*/
-define sw_interface_set_gtpu_bypass_reply
-{
- u32 context;
- i32 retval;
+ option vat_help = "<intfc> | sw_if_index <id> [ip4 | ip6] [enable | disable]";
};
/*