summaryrefslogtreecommitdiffstats
path: root/internal/testbinapi/binapi2001/.vppapi/core/vxlan.api.json
diff options
context:
space:
mode:
authorOndrej Fabry <ofabry@cisco.com>2020-07-22 04:40:55 +0200
committerOndrej Fabry <ofabry@cisco.com>2020-07-22 04:40:55 +0200
commit58da9ac6e691a8c660eb8ca838a154e11da0db68 (patch)
treea1bbda04c6d0621ce0fc20779276620f1820190b /internal/testbinapi/binapi2001/.vppapi/core/vxlan.api.json
parenta155cd438c6558da266c1c5931361ea088b35653 (diff)
Fix binapigen decoding and minor improvements
- fixed allocating byte slices before copying decoded data - simplified encoding functions - several minor improvements Change-Id: I6669424b89eb86333805cb1b57e4551169980cc2 Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'internal/testbinapi/binapi2001/.vppapi/core/vxlan.api.json')
-rw-r--r--internal/testbinapi/binapi2001/.vppapi/core/vxlan.api.json275
1 files changed, 275 insertions, 0 deletions
diff --git a/internal/testbinapi/binapi2001/.vppapi/core/vxlan.api.json b/internal/testbinapi/binapi2001/.vppapi/core/vxlan.api.json
new file mode 100644
index 0000000..8cdf8a7
--- /dev/null
+++ b/internal/testbinapi/binapi2001/.vppapi/core/vxlan.api.json
@@ -0,0 +1,275 @@
+{
+ "types": [],
+ "messages": [
+ [
+ "vxlan_add_del_tunnel",
+ [
+ "u16",
+ "_vl_msg_id"
+ ],
+ [
+ "u32",
+ "client_index"
+ ],
+ [
+ "u32",
+ "context"
+ ],
+ [
+ "u8",
+ "is_add"
+ ],
+ [
+ "u8",
+ "is_ipv6"
+ ],
+ [
+ "u32",
+ "instance"
+ ],
+ [
+ "u8",
+ "src_address",
+ 16
+ ],
+ [
+ "u8",
+ "dst_address",
+ 16
+ ],
+ [
+ "u32",
+ "mcast_sw_if_index"
+ ],
+ [
+ "u32",
+ "encap_vrf_id"
+ ],
+ [
+ "u32",
+ "decap_next_index"
+ ],
+ [
+ "u32",
+ "vni"
+ ],
+ {
+ "crc": "0x00f4bdd0"
+ }
+ ],
+ [
+ "vxlan_add_del_tunnel_reply",
+ [
+ "u16",
+ "_vl_msg_id"
+ ],
+ [
+ "u32",
+ "context"
+ ],
+ [
+ "i32",
+ "retval"
+ ],
+ [
+ "u32",
+ "sw_if_index"
+ ],
+ {
+ "crc": "0xfda5941f"
+ }
+ ],
+ [
+ "vxlan_tunnel_dump",
+ [
+ "u16",
+ "_vl_msg_id"
+ ],
+ [
+ "u32",
+ "client_index"
+ ],
+ [
+ "u32",
+ "context"
+ ],
+ [
+ "u32",
+ "sw_if_index"
+ ],
+ {
+ "crc": "0x529cb13f"
+ }
+ ],
+ [
+ "vxlan_tunnel_details",
+ [
+ "u16",
+ "_vl_msg_id"
+ ],
+ [
+ "u32",
+ "context"
+ ],
+ [
+ "u32",
+ "sw_if_index"
+ ],
+ [
+ "u32",
+ "instance"
+ ],
+ [
+ "u8",
+ "src_address",
+ 16
+ ],
+ [
+ "u8",
+ "dst_address",
+ 16
+ ],
+ [
+ "u32",
+ "mcast_sw_if_index"
+ ],
+ [
+ "u32",
+ "encap_vrf_id"
+ ],
+ [
+ "u32",
+ "decap_next_index"
+ ],
+ [
+ "u32",
+ "vni"
+ ],
+ [
+ "u8",
+ "is_ipv6"
+ ],
+ {
+ "crc": "0xce38e127"
+ }
+ ],
+ [
+ "sw_interface_set_vxlan_bypass",
+ [
+ "u16",
+ "_vl_msg_id"
+ ],
+ [
+ "u32",
+ "client_index"
+ ],
+ [
+ "u32",
+ "context"
+ ],
+ [
+ "u32",
+ "sw_if_index"
+ ],
+ [
+ "u8",
+ "is_ipv6"
+ ],
+ [
+ "u8",
+ "enable"
+ ],
+ {
+ "crc": "0xe74ca095"
+ }
+ ],
+ [
+ "sw_interface_set_vxlan_bypass_reply",
+ [
+ "u16",
+ "_vl_msg_id"
+ ],
+ [
+ "u32",
+ "context"
+ ],
+ [
+ "i32",
+ "retval"
+ ],
+ {
+ "crc": "0xe8d4e804"
+ }
+ ],
+ [
+ "vxlan_offload_rx",
+ [
+ "u16",
+ "_vl_msg_id"
+ ],
+ [
+ "u32",
+ "client_index"
+ ],
+ [
+ "u32",
+ "context"
+ ],
+ [
+ "u32",
+ "hw_if_index"
+ ],
+ [
+ "u32",
+ "sw_if_index"
+ ],
+ [
+ "u8",
+ "enable"
+ ],
+ {
+ "crc": "0xf0b08786"
+ }
+ ],
+ [
+ "vxlan_offload_rx_reply",
+ [
+ "u16",
+ "_vl_msg_id"
+ ],
+ [
+ "u32",
+ "context"
+ ],
+ [
+ "i32",
+ "retval"
+ ],
+ {
+ "crc": "0xe8d4e804"
+ }
+ ]
+ ],
+ "unions": [],
+ "enums": [],
+ "services": {
+ "vxlan_add_del_tunnel": {
+ "reply": "vxlan_add_del_tunnel_reply"
+ },
+ "vxlan_tunnel_dump": {
+ "reply": "vxlan_tunnel_details",
+ "stream": true
+ },
+ "sw_interface_set_vxlan_bypass": {
+ "reply": "sw_interface_set_vxlan_bypass_reply"
+ },
+ "vxlan_offload_rx": {
+ "reply": "vxlan_offload_rx_reply"
+ }
+ },
+ "options": {
+ "version": "1.1.0"
+ },
+ "aliases": {},
+ "vl_api_version": "0xa95aa271"
+}