Refactored binapi generator with message encoding
[govpp.git] / cmd / binapi-generator / testdata / ip.api.json
diff --git a/cmd/binapi-generator/testdata/ip.api.json b/cmd/binapi-generator/testdata/ip.api.json
deleted file mode 100644 (file)
index 530b6d6..0000000
+++ /dev/null
@@ -1,2246 +0,0 @@
-{
-    "services": [
-        {
-            "ip_source_and_port_range_check_add_del": {
-                "reply": "ip_source_and_port_range_check_add_del_reply"
-            }
-        },
-        {
-            "ip6_fib_dump": {
-                "reply": "ip6_fib_details",
-                "stream": true
-            }
-        },
-        {
-            "want_ip6_nd_events": {
-                "reply": "want_ip6_nd_events_reply"
-            }
-        },
-        {
-            "ip_punt_police": {
-                "reply": "ip_punt_police_reply"
-            }
-        },
-        {
-            "set_arp_neighbor_limit": {
-                "reply": "set_arp_neighbor_limit_reply"
-            }
-        },
-        {
-            "ip6nd_proxy_add_del": {
-                "reply": "ip6nd_proxy_add_del_reply"
-            }
-        },
-        {
-            "ioam_disable": {
-                "reply": "ioam_disable_reply"
-            }
-        },
-        {
-            "ip_table_add_del": {
-                "reply": "ip_table_add_del_reply"
-            }
-        },
-        {
-            "ip_neighbor_dump": {
-                "reply": "ip_neighbor_details",
-                "stream": true
-            }
-        },
-        {
-            "ip4_arp_event": {
-                "reply": null
-            }
-        },
-        {
-            "ip_punt_redirect": {
-                "reply": "ip_punt_redirect_reply"
-            }
-        },
-        {
-            "sw_interface_ip6nd_ra_prefix": {
-                "reply": "sw_interface_ip6nd_ra_prefix_reply"
-            }
-        },
-        {
-            "reset_fib": {
-                "reply": "reset_fib_reply"
-            }
-        },
-        {
-            "ip6_mfib_dump": {
-                "reply": "ip6_mfib_details",
-                "stream": true
-            }
-        },
-        {
-            "sw_interface_ip6nd_ra_config": {
-                "reply": "sw_interface_ip6nd_ra_config_reply"
-            }
-        },
-        {
-            "sw_interface_ip6_enable_disable": {
-                "reply": "sw_interface_ip6_enable_disable_reply"
-            }
-        },
-        {
-            "sw_interface_ip6_set_link_local_address": {
-                "reply": "sw_interface_ip6_set_link_local_address_reply"
-            }
-        },
-        {
-            "mfib_signal_dump": {
-                "reply": "mfib_signal_details",
-                "stream": true
-            }
-        },
-        {
-            "ip_container_proxy_add_del": {
-                "reply": "ip_container_proxy_add_del_reply"
-            }
-        },
-        {
-            "ip_mfib_dump": {
-                "reply": "ip_mfib_details",
-                "stream": true
-            }
-        },
-        {
-            "ip_address_dump": {
-                "reply": "ip_address_details",
-                "stream": true
-            }
-        },
-        {
-            "ip_dump": {
-                "reply": "ip_details",
-                "stream": true
-            }
-        },
-        {
-            "ip_neighbor_add_del": {
-                "reply": "ip_neighbor_add_del_reply"
-            }
-        },
-        {
-            "proxy_arp_intfc_enable_disable": {
-                "reply": "proxy_arp_intfc_enable_disable_reply"
-            }
-        },
-        {
-            "proxy_arp_add_del": {
-                "reply": "proxy_arp_add_del_reply"
-            }
-        },
-        {
-            "ip_add_del_route": {
-                "reply": "ip_add_del_route_reply"
-            }
-        },
-        {
-            "ip6nd_proxy_dump": {
-                "reply": "ip6nd_proxy_details",
-                "stream": true
-            }
-        },
-        {
-            "ip_fib_dump": {
-                "reply": "ip_fib_details",
-                "stream": true
-            }
-        },
-        {
-            "want_ip4_arp_events": {
-                "reply": "want_ip4_arp_events_reply"
-            }
-        },
-        {
-            "ioam_enable": {
-                "reply": "ioam_enable_reply"
-            }
-        },
-        {
-            "ip6_nd_event": {
-                "reply": null
-            }
-        },
-        {
-            "ip_mroute_add_del": {
-                "reply": "ip_mroute_add_del_reply"
-            }
-        },
-        {
-            "ip_source_and_port_range_check_interface_add_del": {
-                "reply": "ip_source_and_port_range_check_interface_add_del_reply"
-            }
-        },
-        {
-            "set_ip_flow_hash": {
-                "reply": "set_ip_flow_hash_reply"
-            }
-        }
-    ],
-    "vl_api_version": "0xb395c625",
-    "enums": [],
-    "messages": [
-        [
-            "ip_table_add_del",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "table_id"
-            ],
-            [
-                "u8",
-                "is_ipv6"
-            ],
-            [
-                "u8",
-                "is_add"
-            ],
-            [
-                "u8",
-                "name",
-                64
-            ],
-            {
-                "crc": "0x0240c89d"
-            }
-        ],
-        [
-            "ip_table_add_del_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "ip_fib_dump",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            {
-                "crc": "0x51077d14"
-            }
-        ],
-        [
-            "ip_fib_details",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "table_id"
-            ],
-            [
-                "u8",
-                "table_name",
-                64
-            ],
-            [
-                "u8",
-                "address_length"
-            ],
-            [
-                "u8",
-                "address",
-                4
-            ],
-            [
-                "u32",
-                "count"
-            ],
-            [
-                "vl_api_fib_path_t",
-                "path",
-                0,
-                "count"
-            ],
-            {
-                "crc": "0x99dfd73b"
-            }
-        ],
-        [
-            "ip6_fib_dump",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            {
-                "crc": "0x51077d14"
-            }
-        ],
-        [
-            "ip6_fib_details",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "table_id"
-            ],
-            [
-                "u8",
-                "table_name",
-                64
-            ],
-            [
-                "u8",
-                "address_length"
-            ],
-            [
-                "u8",
-                "address",
-                16
-            ],
-            [
-                "u32",
-                "count"
-            ],
-            [
-                "vl_api_fib_path_t",
-                "path",
-                0,
-                "count"
-            ],
-            {
-                "crc": "0xabd0060e"
-            }
-        ],
-        [
-            "ip_neighbor_dump",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "sw_if_index"
-            ],
-            [
-                "u8",
-                "is_ipv6"
-            ],
-            {
-                "crc": "0x6b7bcd0a"
-            }
-        ],
-        [
-            "ip_neighbor_details",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "sw_if_index"
-            ],
-            [
-                "u8",
-                "is_static"
-            ],
-            [
-                "u8",
-                "is_ipv6"
-            ],
-            [
-                "u8",
-                "mac_address",
-                6
-            ],
-            [
-                "u8",
-                "ip_address",
-                16
-            ],
-            {
-                "crc": "0x85e32a72"
-            }
-        ],
-        [
-            "ip_neighbor_add_del",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "sw_if_index"
-            ],
-            [
-                "u8",
-                "is_add"
-            ],
-            [
-                "u8",
-                "is_ipv6"
-            ],
-            [
-                "u8",
-                "is_static"
-            ],
-            [
-                "u8",
-                "is_no_adj_fib"
-            ],
-            [
-                "u8",
-                "mac_address",
-                6
-            ],
-            [
-                "u8",
-                "dst_address",
-                16
-            ],
-            {
-                "crc": "0x4711eb25"
-            }
-        ],
-        [
-            "ip_neighbor_add_del_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "set_ip_flow_hash",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "vrf_id"
-            ],
-            [
-                "u8",
-                "is_ipv6"
-            ],
-            [
-                "u8",
-                "src"
-            ],
-            [
-                "u8",
-                "dst"
-            ],
-            [
-                "u8",
-                "sport"
-            ],
-            [
-                "u8",
-                "dport"
-            ],
-            [
-                "u8",
-                "proto"
-            ],
-            [
-                "u8",
-                "reverse"
-            ],
-            {
-                "crc": "0x32ebf737"
-            }
-        ],
-        [
-            "set_ip_flow_hash_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "sw_interface_ip6nd_ra_config",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "sw_if_index"
-            ],
-            [
-                "u8",
-                "suppress"
-            ],
-            [
-                "u8",
-                "managed"
-            ],
-            [
-                "u8",
-                "other"
-            ],
-            [
-                "u8",
-                "ll_option"
-            ],
-            [
-                "u8",
-                "send_unicast"
-            ],
-            [
-                "u8",
-                "cease"
-            ],
-            [
-                "u8",
-                "is_no"
-            ],
-            [
-                "u8",
-                "default_router"
-            ],
-            [
-                "u32",
-                "max_interval"
-            ],
-            [
-                "u32",
-                "min_interval"
-            ],
-            [
-                "u32",
-                "lifetime"
-            ],
-            [
-                "u32",
-                "initial_count"
-            ],
-            [
-                "u32",
-                "initial_interval"
-            ],
-            {
-                "crc": "0xc3f02daa"
-            }
-        ],
-        [
-            "sw_interface_ip6nd_ra_config_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "sw_interface_ip6nd_ra_prefix",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "sw_if_index"
-            ],
-            [
-                "u8",
-                "address",
-                16
-            ],
-            [
-                "u8",
-                "address_length"
-            ],
-            [
-                "u8",
-                "use_default"
-            ],
-            [
-                "u8",
-                "no_advertise"
-            ],
-            [
-                "u8",
-                "off_link"
-            ],
-            [
-                "u8",
-                "no_autoconfig"
-            ],
-            [
-                "u8",
-                "no_onlink"
-            ],
-            [
-                "u8",
-                "is_no"
-            ],
-            [
-                "u32",
-                "val_lifetime"
-            ],
-            [
-                "u32",
-                "pref_lifetime"
-            ],
-            {
-                "crc": "0xca763c9a"
-            }
-        ],
-        [
-            "sw_interface_ip6nd_ra_prefix_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "ip6nd_proxy_add_del",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "sw_if_index"
-            ],
-            [
-                "u8",
-                "is_del"
-            ],
-            [
-                "u8",
-                "address",
-                16
-            ],
-            {
-                "crc": "0xd95f0fa0"
-            }
-        ],
-        [
-            "ip6nd_proxy_add_del_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "ip6nd_proxy_details",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "sw_if_index"
-            ],
-            [
-                "u8",
-                "address",
-                16
-            ],
-            {
-                "crc": "0xd73bf1ab"
-            }
-        ],
-        [
-            "ip6nd_proxy_dump",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            {
-                "crc": "0x51077d14"
-            }
-        ],
-        [
-            "sw_interface_ip6_enable_disable",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "sw_if_index"
-            ],
-            [
-                "u8",
-                "enable"
-            ],
-            {
-                "crc": "0xa36fadc0"
-            }
-        ],
-        [
-            "sw_interface_ip6_enable_disable_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "sw_interface_ip6_set_link_local_address",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "sw_if_index"
-            ],
-            [
-                "u8",
-                "address",
-                16
-            ],
-            {
-                "crc": "0xd73bf1ab"
-            }
-        ],
-        [
-            "sw_interface_ip6_set_link_local_address_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "ip_add_del_route",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "next_hop_sw_if_index"
-            ],
-            [
-                "u32",
-                "table_id"
-            ],
-            [
-                "u32",
-                "classify_table_index"
-            ],
-            [
-                "u32",
-                "next_hop_table_id"
-            ],
-            [
-                "u32",
-                "next_hop_id"
-            ],
-            [
-                "u8",
-                "is_add"
-            ],
-            [
-                "u8",
-                "is_drop"
-            ],
-            [
-                "u8",
-                "is_unreach"
-            ],
-            [
-                "u8",
-                "is_prohibit"
-            ],
-            [
-                "u8",
-                "is_ipv6"
-            ],
-            [
-                "u8",
-                "is_local"
-            ],
-            [
-                "u8",
-                "is_classify"
-            ],
-            [
-                "u8",
-                "is_multipath"
-            ],
-            [
-                "u8",
-                "is_resolve_host"
-            ],
-            [
-                "u8",
-                "is_resolve_attached"
-            ],
-            [
-                "u8",
-                "is_dvr"
-            ],
-            [
-                "u8",
-                "is_source_lookup"
-            ],
-            [
-                "u8",
-                "is_udp_encap"
-            ],
-            [
-                "u8",
-                "next_hop_weight"
-            ],
-            [
-                "u8",
-                "next_hop_preference"
-            ],
-            [
-                "u8",
-                "next_hop_proto"
-            ],
-            [
-                "u8",
-                "dst_address_length"
-            ],
-            [
-                "u8",
-                "dst_address",
-                16
-            ],
-            [
-                "u8",
-                "next_hop_address",
-                16
-            ],
-            [
-                "u8",
-                "next_hop_n_out_labels"
-            ],
-            [
-                "u32",
-                "next_hop_via_label"
-            ],
-            [
-                "u32",
-                "next_hop_out_label_stack",
-                0,
-                "next_hop_n_out_labels"
-            ],
-            {
-                "crc": "0xc85f8290"
-            }
-        ],
-        [
-            "ip_add_del_route_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "ip_mroute_add_del",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "next_hop_sw_if_index"
-            ],
-            [
-                "u32",
-                "table_id"
-            ],
-            [
-                "u32",
-                "entry_flags"
-            ],
-            [
-                "u32",
-                "itf_flags"
-            ],
-            [
-                "u32",
-                "rpf_id"
-            ],
-            [
-                "u32",
-                "bier_imp"
-            ],
-            [
-                "u16",
-                "grp_address_length"
-            ],
-            [
-                "u8",
-                "next_hop_afi"
-            ],
-            [
-                "u8",
-                "is_add"
-            ],
-            [
-                "u8",
-                "is_ipv6"
-            ],
-            [
-                "u8",
-                "is_local"
-            ],
-            [
-                "u8",
-                "grp_address",
-                16
-            ],
-            [
-                "u8",
-                "src_address",
-                16
-            ],
-            {
-                "crc": "0xc37112f7"
-            }
-        ],
-        [
-            "ip_mroute_add_del_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "ip_mfib_dump",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            {
-                "crc": "0x51077d14"
-            }
-        ],
-        [
-            "ip_mfib_details",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "table_id"
-            ],
-            [
-                "u32",
-                "entry_flags"
-            ],
-            [
-                "u32",
-                "rpf_id"
-            ],
-            [
-                "u8",
-                "address_length"
-            ],
-            [
-                "u8",
-                "grp_address",
-                4
-            ],
-            [
-                "u8",
-                "src_address",
-                4
-            ],
-            [
-                "u32",
-                "count"
-            ],
-            [
-                "vl_api_fib_path_t",
-                "path",
-                0,
-                "count"
-            ],
-            {
-                "crc": "0x5e530d5e"
-            }
-        ],
-        [
-            "ip6_mfib_dump",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            {
-                "crc": "0x51077d14"
-            }
-        ],
-        [
-            "ip6_mfib_details",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "table_id"
-            ],
-            [
-                "u8",
-                "address_length"
-            ],
-            [
-                "u8",
-                "grp_address",
-                16
-            ],
-            [
-                "u8",
-                "src_address",
-                16
-            ],
-            [
-                "u32",
-                "count"
-            ],
-            [
-                "vl_api_fib_path_t",
-                "path",
-                0,
-                "count"
-            ],
-            {
-                "crc": "0xe02dcb4b"
-            }
-        ],
-        [
-            "ip_address_details",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u8",
-                "ip",
-                16
-            ],
-            [
-                "u8",
-                "prefix_length"
-            ],
-            [
-                "u32",
-                "sw_if_index"
-            ],
-            [
-                "u8",
-                "is_ipv6"
-            ],
-            {
-                "crc": "0xbc7442f2"
-            }
-        ],
-        [
-            "ip_address_dump",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "sw_if_index"
-            ],
-            [
-                "u8",
-                "is_ipv6"
-            ],
-            {
-                "crc": "0x6b7bcd0a"
-            }
-        ],
-        [
-            "ip_details",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "sw_if_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u8",
-                "is_ipv6"
-            ],
-            {
-                "crc": "0x452ffc5a"
-            }
-        ],
-        [
-            "ip_dump",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u8",
-                "is_ipv6"
-            ],
-            {
-                "crc": "0xde883da4"
-            }
-        ],
-        [
-            "mfib_signal_dump",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            {
-                "crc": "0x51077d14"
-            }
-        ],
-        [
-            "mfib_signal_details",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "sw_if_index"
-            ],
-            [
-                "u32",
-                "table_id"
-            ],
-            [
-                "u16",
-                "grp_address_len"
-            ],
-            [
-                "u8",
-                "grp_address",
-                16
-            ],
-            [
-                "u8",
-                "src_address",
-                16
-            ],
-            [
-                "u16",
-                "ip_packet_len"
-            ],
-            [
-                "u8",
-                "ip_packet_data",
-                256
-            ],
-            {
-                "crc": "0x791bbeab"
-            }
-        ],
-        [
-            "ip_punt_police",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "policer_index"
-            ],
-            [
-                "u8",
-                "is_add"
-            ],
-            [
-                "u8",
-                "is_ip6"
-            ],
-            {
-                "crc": "0x38691592"
-            }
-        ],
-        [
-            "ip_punt_police_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "ip_punt_redirect",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "rx_sw_if_index"
-            ],
-            [
-                "u32",
-                "tx_sw_if_index"
-            ],
-            [
-                "u8",
-                "is_add"
-            ],
-            [
-                "u8",
-                "is_ip6"
-            ],
-            [
-                "u8",
-                "nh",
-                16
-            ],
-            {
-                "crc": "0x996b6603"
-            }
-        ],
-        [
-            "ip_punt_redirect_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "ip_container_proxy_add_del",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u8",
-                "ip",
-                16
-            ],
-            [
-                "u8",
-                "is_ip4"
-            ],
-            [
-                "u8",
-                "plen"
-            ],
-            [
-                "u32",
-                "sw_if_index"
-            ],
-            [
-                "u8",
-                "is_add"
-            ],
-            {
-                "crc": "0x0a355d39"
-            }
-        ],
-        [
-            "ip_container_proxy_add_del_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "ip_source_and_port_range_check_add_del",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u8",
-                "is_ipv6"
-            ],
-            [
-                "u8",
-                "is_add"
-            ],
-            [
-                "u8",
-                "mask_length"
-            ],
-            [
-                "u8",
-                "address",
-                16
-            ],
-            [
-                "u8",
-                "number_of_ranges"
-            ],
-            [
-                "u16",
-                "low_ports",
-                32
-            ],
-            [
-                "u16",
-                "high_ports",
-                32
-            ],
-            [
-                "u32",
-                "vrf_id"
-            ],
-            {
-                "crc": "0x03d6b03a"
-            }
-        ],
-        [
-            "ip_source_and_port_range_check_add_del_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "ip_source_and_port_range_check_interface_add_del",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u8",
-                "is_add"
-            ],
-            [
-                "u32",
-                "sw_if_index"
-            ],
-            [
-                "u32",
-                "tcp_in_vrf_id"
-            ],
-            [
-                "u32",
-                "tcp_out_vrf_id"
-            ],
-            [
-                "u32",
-                "udp_in_vrf_id"
-            ],
-            [
-                "u32",
-                "udp_out_vrf_id"
-            ],
-            {
-                "crc": "0x6966bc44"
-            }
-        ],
-        [
-            "ip_source_and_port_range_check_interface_add_del_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "want_ip4_arp_events",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u8",
-                "enable_disable"
-            ],
-            [
-                "u32",
-                "pid"
-            ],
-            [
-                "u32",
-                "address"
-            ],
-            {
-                "crc": "0x77e06379"
-            }
-        ],
-        [
-            "want_ip4_arp_events_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "ip4_arp_event",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "address"
-            ],
-            [
-                "u32",
-                "pid"
-            ],
-            [
-                "u32",
-                "sw_if_index"
-            ],
-            [
-                "u8",
-                "new_mac",
-                6
-            ],
-            [
-                "u8",
-                "mac_ip"
-            ],
-            {
-                "crc": "0xef7235f7"
-            }
-        ],
-        [
-            "want_ip6_nd_events",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u8",
-                "enable_disable"
-            ],
-            [
-                "u32",
-                "pid"
-            ],
-            [
-                "u8",
-                "address",
-                16
-            ],
-            {
-                "crc": "0x1cf65fbb"
-            }
-        ],
-        [
-            "want_ip6_nd_events_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "ip6_nd_event",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "pid"
-            ],
-            [
-                "u32",
-                "sw_if_index"
-            ],
-            [
-                "u8",
-                "address",
-                16
-            ],
-            [
-                "u8",
-                "new_mac",
-                6
-            ],
-            [
-                "u8",
-                "mac_ip"
-            ],
-            {
-                "crc": "0x96ab2fdd"
-            }
-        ],
-        [
-            "proxy_arp_add_del",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "vrf_id"
-            ],
-            [
-                "u8",
-                "is_add"
-            ],
-            [
-                "u8",
-                "low_address",
-                4
-            ],
-            [
-                "u8",
-                "hi_address",
-                4
-            ],
-            {
-                "crc": "0xc2442918"
-            }
-        ],
-        [
-            "proxy_arp_add_del_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "proxy_arp_intfc_enable_disable",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "sw_if_index"
-            ],
-            [
-                "u8",
-                "enable_disable"
-            ],
-            {
-                "crc": "0x69d24598"
-            }
-        ],
-        [
-            "proxy_arp_intfc_enable_disable_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "reset_fib",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "vrf_id"
-            ],
-            [
-                "u8",
-                "is_ipv6"
-            ],
-            {
-                "crc": "0x8553ebd9"
-            }
-        ],
-        [
-            "reset_fib_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "set_arp_neighbor_limit",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u8",
-                "is_ipv6"
-            ],
-            [
-                "u32",
-                "arp_neighbor_limit"
-            ],
-            {
-                "crc": "0x97d01fd6"
-            }
-        ],
-        [
-            "set_arp_neighbor_limit_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "ioam_enable",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u16",
-                "id"
-            ],
-            [
-                "u8",
-                "seqno"
-            ],
-            [
-                "u8",
-                "analyse"
-            ],
-            [
-                "u8",
-                "pot_enable"
-            ],
-            [
-                "u8",
-                "trace_enable"
-            ],
-            [
-                "u32",
-                "node_id"
-            ],
-            {
-                "crc": "0x9392e032"
-            }
-        ],
-        [
-            "ioam_enable_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "ioam_disable",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u16",
-                "id"
-            ],
-            {
-                "crc": "0x6b16a45e"
-            }
-        ],
-        [
-            "ioam_disable_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ]
-    ],
-    "types": [
-        [
-            "fib_path",
-            [
-                "u32",
-                "sw_if_index"
-            ],
-            [
-                "u32",
-                "table_id"
-            ],
-            [
-                "u8",
-                "weight"
-            ],
-            [
-                "u8",
-                "preference"
-            ],
-            [
-                "u8",
-                "is_local"
-            ],
-            [
-                "u8",
-                "is_drop"
-            ],
-            [
-                "u8",
-                "is_unreach"
-            ],
-            [
-                "u8",
-                "is_prohibit"
-            ],
-            [
-                "u8",
-                "afi"
-            ],
-            [
-                "u8",
-                "next_hop",
-                16
-            ],
-            {
-                "crc": "0xcd899e0a"
-            }
-        ]
-    ]
-}