diff options
author | 2020-07-22 04:40:55 +0200 | |
---|---|---|
committer | 2020-07-22 04:40:55 +0200 | |
commit | 58da9ac6e691a8c660eb8ca838a154e11da0db68 (patch) | |
tree | a1bbda04c6d0621ce0fc20779276620f1820190b /internal/testbinapi/binapi2001/.vppapi/core/vxlan_gpe.api.json | |
parent | a155cd438c6558da266c1c5931361ea088b35653 (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_gpe.api.json')
-rw-r--r-- | internal/testbinapi/binapi2001/.vppapi/core/vxlan_gpe.api.json | 224 |
1 files changed, 224 insertions, 0 deletions
diff --git a/internal/testbinapi/binapi2001/.vppapi/core/vxlan_gpe.api.json b/internal/testbinapi/binapi2001/.vppapi/core/vxlan_gpe.api.json new file mode 100644 index 0000000..f1ff47d --- /dev/null +++ b/internal/testbinapi/binapi2001/.vppapi/core/vxlan_gpe.api.json @@ -0,0 +1,224 @@ +{ + "types": [], + "messages": [ + [ + "vxlan_gpe_add_del_tunnel", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "u8", + "is_ipv6" + ], + [ + "u8", + "local", + 16 + ], + [ + "u8", + "remote", + 16 + ], + [ + "u32", + "mcast_sw_if_index" + ], + [ + "u32", + "encap_vrf_id" + ], + [ + "u32", + "decap_vrf_id" + ], + [ + "u8", + "protocol" + ], + [ + "u32", + "vni" + ], + [ + "u8", + "is_add" + ], + { + "crc": "0xd15850ba" + } + ], + [ + "vxlan_gpe_add_del_tunnel_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + [ + "u32", + "sw_if_index" + ], + { + "crc": "0xfda5941f" + } + ], + [ + "vxlan_gpe_tunnel_dump", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "u32", + "sw_if_index" + ], + { + "crc": "0x529cb13f" + } + ], + [ + "vxlan_gpe_tunnel_details", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "u32", + "sw_if_index" + ], + [ + "u8", + "local", + 16 + ], + [ + "u8", + "remote", + 16 + ], + [ + "u32", + "vni" + ], + [ + "u8", + "protocol" + ], + [ + "u32", + "mcast_sw_if_index" + ], + [ + "u32", + "encap_vrf_id" + ], + [ + "u32", + "decap_vrf_id" + ], + [ + "u8", + "is_ipv6" + ], + { + "crc": "0x2673fbfa" + } + ], + [ + "sw_interface_set_vxlan_gpe_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_gpe_bypass_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + { + "crc": "0xe8d4e804" + } + ] + ], + "unions": [], + "enums": [], + "services": { + "vxlan_gpe_add_del_tunnel": { + "reply": "vxlan_gpe_add_del_tunnel_reply" + }, + "vxlan_gpe_tunnel_dump": { + "reply": "vxlan_gpe_tunnel_details", + "stream": true + }, + "sw_interface_set_vxlan_gpe_bypass": { + "reply": "sw_interface_set_vxlan_gpe_bypass_reply" + } + }, + "options": { + "version": "1.0.0" + }, + "aliases": {}, + "vl_api_version": "0x25bfb55d" +} |