aboutsummaryrefslogtreecommitdiffstats
path: root/internal/testbinapi/binapi2001/.vppapi/core/span.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/span.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/span.api.json')
-rw-r--r--internal/testbinapi/binapi2001/.vppapi/core/span.api.json125
1 files changed, 125 insertions, 0 deletions
diff --git a/internal/testbinapi/binapi2001/.vppapi/core/span.api.json b/internal/testbinapi/binapi2001/.vppapi/core/span.api.json
new file mode 100644
index 0000000..0063d9b
--- /dev/null
+++ b/internal/testbinapi/binapi2001/.vppapi/core/span.api.json
@@ -0,0 +1,125 @@
+{
+ "types": [],
+ "messages": [
+ [
+ "sw_interface_span_enable_disable",
+ [
+ "u16",
+ "_vl_msg_id"
+ ],
+ [
+ "u32",
+ "client_index"
+ ],
+ [
+ "u32",
+ "context"
+ ],
+ [
+ "u32",
+ "sw_if_index_from"
+ ],
+ [
+ "u32",
+ "sw_if_index_to"
+ ],
+ [
+ "u8",
+ "state"
+ ],
+ [
+ "u8",
+ "is_l2"
+ ],
+ {
+ "crc": "0x7216258d"
+ }
+ ],
+ [
+ "sw_interface_span_enable_disable_reply",
+ [
+ "u16",
+ "_vl_msg_id"
+ ],
+ [
+ "u32",
+ "context"
+ ],
+ [
+ "i32",
+ "retval"
+ ],
+ {
+ "crc": "0xe8d4e804"
+ }
+ ],
+ [
+ "sw_interface_span_dump",
+ [
+ "u16",
+ "_vl_msg_id"
+ ],
+ [
+ "u32",
+ "client_index"
+ ],
+ [
+ "u32",
+ "context"
+ ],
+ [
+ "u8",
+ "is_l2"
+ ],
+ {
+ "crc": "0x67c54650"
+ }
+ ],
+ [
+ "sw_interface_span_details",
+ [
+ "u16",
+ "_vl_msg_id"
+ ],
+ [
+ "u32",
+ "context"
+ ],
+ [
+ "u32",
+ "sw_if_index_from"
+ ],
+ [
+ "u32",
+ "sw_if_index_to"
+ ],
+ [
+ "u8",
+ "state"
+ ],
+ [
+ "u8",
+ "is_l2"
+ ],
+ {
+ "crc": "0x23966371"
+ }
+ ]
+ ],
+ "unions": [],
+ "enums": [],
+ "services": {
+ "sw_interface_span_enable_disable": {
+ "reply": "sw_interface_span_enable_disable_reply"
+ },
+ "sw_interface_span_dump": {
+ "reply": "sw_interface_span_details",
+ "stream": true
+ }
+ },
+ "options": {
+ "version": "1.0.0"
+ },
+ "aliases": {},
+ "vl_api_version": "0x10769b5"
+}