binapi: remove internal/testbinapi
[govpp.git] / internal / testbinapi / binapi2001 / .vppapi / core / bfd.api.json
diff --git a/internal/testbinapi/binapi2001/.vppapi/core/bfd.api.json b/internal/testbinapi/binapi2001/.vppapi/core/bfd.api.json
deleted file mode 100644 (file)
index 390a0ca..0000000
+++ /dev/null
@@ -1,1254 +0,0 @@
-{
-    "types": [
-        [
-            "address",
-            [
-                "vl_api_address_family_t",
-                "af"
-            ],
-            [
-                "vl_api_address_union_t",
-                "un"
-            ]
-        ],
-        [
-            "prefix",
-            [
-                "vl_api_address_t",
-                "address"
-            ],
-            [
-                "u8",
-                "len"
-            ]
-        ],
-        [
-            "mprefix",
-            [
-                "vl_api_address_family_t",
-                "af"
-            ],
-            [
-                "u16",
-                "grp_address_length"
-            ],
-            [
-                "vl_api_address_union_t",
-                "grp_address"
-            ],
-            [
-                "vl_api_address_union_t",
-                "src_address"
-            ]
-        ],
-        [
-            "ip6_prefix",
-            [
-                "vl_api_ip6_address_t",
-                "address"
-            ],
-            [
-                "u8",
-                "len"
-            ]
-        ],
-        [
-            "ip4_prefix",
-            [
-                "vl_api_ip4_address_t",
-                "address"
-            ],
-            [
-                "u8",
-                "len"
-            ]
-        ],
-        [
-            "prefix_matcher",
-            [
-                "u8",
-                "le"
-            ],
-            [
-                "u8",
-                "ge"
-            ]
-        ]
-    ],
-    "messages": [
-        [
-            "bfd_udp_set_echo_source",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "vl_api_interface_index_t",
-                "sw_if_index"
-            ],
-            {
-                "crc": "0xf9e6675e"
-            }
-        ],
-        [
-            "bfd_udp_set_echo_source_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "bfd_udp_del_echo_source",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            {
-                "crc": "0x51077d14"
-            }
-        ],
-        [
-            "bfd_udp_del_echo_source_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "bfd_udp_get_echo_source",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            {
-                "crc": "0x51077d14"
-            }
-        ],
-        [
-            "bfd_udp_get_echo_source_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            [
-                "vl_api_interface_index_t",
-                "sw_if_index"
-            ],
-            [
-                "bool",
-                "is_set"
-            ],
-            [
-                "bool",
-                "have_usable_ip4"
-            ],
-            [
-                "vl_api_ip4_address_t",
-                "ip4_addr"
-            ],
-            [
-                "bool",
-                "have_usable_ip6"
-            ],
-            [
-                "vl_api_ip6_address_t",
-                "ip6_addr"
-            ],
-            {
-                "crc": "0x1e00cfce"
-            }
-        ],
-        [
-            "bfd_udp_add",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "vl_api_interface_index_t",
-                "sw_if_index"
-            ],
-            [
-                "u32",
-                "desired_min_tx"
-            ],
-            [
-                "u32",
-                "required_min_rx"
-            ],
-            [
-                "vl_api_address_t",
-                "local_addr"
-            ],
-            [
-                "vl_api_address_t",
-                "peer_addr"
-            ],
-            [
-                "u8",
-                "detect_mult"
-            ],
-            [
-                "bool",
-                "is_authenticated"
-            ],
-            [
-                "u8",
-                "bfd_key_id"
-            ],
-            [
-                "u32",
-                "conf_key_id"
-            ],
-            {
-                "crc": "0x7a6d1185"
-            }
-        ],
-        [
-            "bfd_udp_add_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "bfd_udp_mod",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "vl_api_interface_index_t",
-                "sw_if_index"
-            ],
-            [
-                "u32",
-                "desired_min_tx"
-            ],
-            [
-                "u32",
-                "required_min_rx"
-            ],
-            [
-                "vl_api_address_t",
-                "local_addr"
-            ],
-            [
-                "vl_api_address_t",
-                "peer_addr"
-            ],
-            [
-                "u8",
-                "detect_mult"
-            ],
-            {
-                "crc": "0x783a3ff6"
-            }
-        ],
-        [
-            "bfd_udp_mod_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "bfd_udp_del",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "vl_api_interface_index_t",
-                "sw_if_index"
-            ],
-            [
-                "vl_api_address_t",
-                "local_addr"
-            ],
-            [
-                "vl_api_address_t",
-                "peer_addr"
-            ],
-            {
-                "crc": "0x8096514d"
-            }
-        ],
-        [
-            "bfd_udp_del_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "bfd_udp_session_dump",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            {
-                "crc": "0x51077d14"
-            }
-        ],
-        [
-            "bfd_udp_session_details",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "vl_api_interface_index_t",
-                "sw_if_index"
-            ],
-            [
-                "vl_api_address_t",
-                "local_addr"
-            ],
-            [
-                "vl_api_address_t",
-                "peer_addr"
-            ],
-            [
-                "vl_api_bfd_state_t",
-                "state"
-            ],
-            [
-                "bool",
-                "is_authenticated"
-            ],
-            [
-                "u8",
-                "bfd_key_id"
-            ],
-            [
-                "u32",
-                "conf_key_id"
-            ],
-            [
-                "u32",
-                "required_min_rx"
-            ],
-            [
-                "u32",
-                "desired_min_tx"
-            ],
-            [
-                "u8",
-                "detect_mult"
-            ],
-            {
-                "crc": "0x60653c02"
-            }
-        ],
-        [
-            "bfd_udp_session_set_flags",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "vl_api_interface_index_t",
-                "sw_if_index"
-            ],
-            [
-                "vl_api_address_t",
-                "local_addr"
-            ],
-            [
-                "vl_api_address_t",
-                "peer_addr"
-            ],
-            [
-                "vl_api_if_status_flags_t",
-                "flags"
-            ],
-            {
-                "crc": "0xcf313851"
-            }
-        ],
-        [
-            "bfd_udp_session_set_flags_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "want_bfd_events",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "bool",
-                "enable_disable"
-            ],
-            [
-                "u32",
-                "pid"
-            ],
-            {
-                "crc": "0xc5e2af94"
-            }
-        ],
-        [
-            "want_bfd_events_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "bfd_auth_set_key",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "conf_key_id"
-            ],
-            [
-                "u8",
-                "key_len"
-            ],
-            [
-                "u8",
-                "auth_type"
-            ],
-            [
-                "u8",
-                "key",
-                20
-            ],
-            {
-                "crc": "0x690b8877"
-            }
-        ],
-        [
-            "bfd_auth_set_key_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "bfd_auth_del_key",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "conf_key_id"
-            ],
-            {
-                "crc": "0x65310b22"
-            }
-        ],
-        [
-            "bfd_auth_del_key_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "bfd_auth_keys_dump",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            {
-                "crc": "0x51077d14"
-            }
-        ],
-        [
-            "bfd_auth_keys_details",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "conf_key_id"
-            ],
-            [
-                "u32",
-                "use_count"
-            ],
-            [
-                "u8",
-                "auth_type"
-            ],
-            {
-                "crc": "0x84130e9f"
-            }
-        ],
-        [
-            "bfd_udp_auth_activate",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "vl_api_interface_index_t",
-                "sw_if_index"
-            ],
-            [
-                "vl_api_address_t",
-                "local_addr"
-            ],
-            [
-                "vl_api_address_t",
-                "peer_addr"
-            ],
-            [
-                "bool",
-                "is_delayed"
-            ],
-            [
-                "u8",
-                "bfd_key_id"
-            ],
-            [
-                "u32",
-                "conf_key_id"
-            ],
-            {
-                "crc": "0x493ee0ec"
-            }
-        ],
-        [
-            "bfd_udp_auth_activate_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "bfd_udp_auth_deactivate",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "vl_api_interface_index_t",
-                "sw_if_index"
-            ],
-            [
-                "vl_api_address_t",
-                "local_addr"
-            ],
-            [
-                "vl_api_address_t",
-                "peer_addr"
-            ],
-            [
-                "bool",
-                "is_delayed"
-            ],
-            {
-                "crc": "0x99978c32"
-            }
-        ],
-        [
-            "bfd_udp_auth_deactivate_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ]
-    ],
-    "unions": [
-        [
-            "address_union",
-            [
-                "vl_api_ip4_address_t",
-                "ip4"
-            ],
-            [
-                "vl_api_ip6_address_t",
-                "ip6"
-            ]
-        ]
-    ],
-    "enums": [
-        [
-            "if_status_flags",
-            [
-                "IF_STATUS_API_FLAG_ADMIN_UP",
-                1
-            ],
-            [
-                "IF_STATUS_API_FLAG_LINK_UP",
-                2
-            ],
-            {
-                "enumtype": "u32"
-            }
-        ],
-        [
-            "mtu_proto",
-            [
-                "MTU_PROTO_API_L3",
-                1
-            ],
-            [
-                "MTU_PROTO_API_IP4",
-                2
-            ],
-            [
-                "MTU_PROTO_API_IP6",
-                3
-            ],
-            [
-                "MTU_PROTO_API_MPLS",
-                4
-            ],
-            [
-                "MTU_PROTO_API_N",
-                5
-            ],
-            {
-                "enumtype": "u32"
-            }
-        ],
-        [
-            "link_duplex",
-            [
-                "LINK_DUPLEX_API_UNKNOWN",
-                0
-            ],
-            [
-                "LINK_DUPLEX_API_HALF",
-                1
-            ],
-            [
-                "LINK_DUPLEX_API_FULL",
-                2
-            ],
-            {
-                "enumtype": "u32"
-            }
-        ],
-        [
-            "sub_if_flags",
-            [
-                "SUB_IF_API_FLAG_NO_TAGS",
-                1
-            ],
-            [
-                "SUB_IF_API_FLAG_ONE_TAG",
-                2
-            ],
-            [
-                "SUB_IF_API_FLAG_TWO_TAGS",
-                4
-            ],
-            [
-                "SUB_IF_API_FLAG_DOT1AD",
-                8
-            ],
-            [
-                "SUB_IF_API_FLAG_EXACT_MATCH",
-                16
-            ],
-            [
-                "SUB_IF_API_FLAG_DEFAULT",
-                32
-            ],
-            [
-                "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY",
-                64
-            ],
-            [
-                "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY",
-                128
-            ],
-            [
-                "SUB_IF_API_FLAG_MASK_VNET",
-                254
-            ],
-            [
-                "SUB_IF_API_FLAG_DOT1AH",
-                256
-            ],
-            {
-                "enumtype": "u32"
-            }
-        ],
-        [
-            "rx_mode",
-            [
-                "RX_MODE_API_UNKNOWN",
-                0
-            ],
-            [
-                "RX_MODE_API_POLLING",
-                1
-            ],
-            [
-                "RX_MODE_API_INTERRUPT",
-                2
-            ],
-            [
-                "RX_MODE_API_ADAPTIVE",
-                3
-            ],
-            [
-                "RX_MODE_API_DEFAULT",
-                4
-            ],
-            {
-                "enumtype": "u32"
-            }
-        ],
-        [
-            "if_type",
-            [
-                "IF_API_TYPE_HARDWARE",
-                1
-            ],
-            [
-                "IF_API_TYPE_SUB",
-                2
-            ],
-            [
-                "IF_API_TYPE_P2P",
-                3
-            ],
-            [
-                "IF_API_TYPE_PIPE",
-                4
-            ],
-            {
-                "enumtype": "u32"
-            }
-        ],
-        [
-            "address_family",
-            [
-                "ADDRESS_IP4",
-                0
-            ],
-            [
-                "ADDRESS_IP6",
-                1
-            ],
-            {
-                "enumtype": "u32"
-            }
-        ],
-        [
-            "ip_ecn",
-            [
-                "IP_API_ECN_NONE",
-                0
-            ],
-            [
-                "IP_API_ECN_ECT0",
-                1
-            ],
-            [
-                "IP_API_ECN_ECT1",
-                2
-            ],
-            [
-                "IP_API_ECN_CE",
-                3
-            ],
-            {
-                "enumtype": "u8"
-            }
-        ],
-        [
-            "ip_dscp",
-            [
-                "IP_API_DSCP_CS0",
-                0
-            ],
-            [
-                "IP_API_DSCP_CS1",
-                8
-            ],
-            [
-                "IP_API_DSCP_AF11",
-                10
-            ],
-            [
-                "IP_API_DSCP_AF12",
-                12
-            ],
-            [
-                "IP_API_DSCP_AF13",
-                14
-            ],
-            [
-                "IP_API_DSCP_CS2",
-                16
-            ],
-            [
-                "IP_API_DSCP_AF21",
-                18
-            ],
-            [
-                "IP_API_DSCP_AF22",
-                20
-            ],
-            [
-                "IP_API_DSCP_AF23",
-                22
-            ],
-            [
-                "IP_API_DSCP_CS3",
-                24
-            ],
-            [
-                "IP_API_DSCP_AF31",
-                26
-            ],
-            [
-                "IP_API_DSCP_AF32",
-                28
-            ],
-            [
-                "IP_API_DSCP_AF33",
-                30
-            ],
-            [
-                "IP_API_DSCP_CS4",
-                32
-            ],
-            [
-                "IP_API_DSCP_AF41",
-                34
-            ],
-            [
-                "IP_API_DSCP_AF42",
-                36
-            ],
-            [
-                "IP_API_DSCP_AF43",
-                38
-            ],
-            [
-                "IP_API_DSCP_CS5",
-                40
-            ],
-            [
-                "IP_API_DSCP_EF",
-                46
-            ],
-            [
-                "IP_API_DSCP_CS6",
-                48
-            ],
-            [
-                "IP_API_DSCP_CS7",
-                50
-            ],
-            {
-                "enumtype": "u8"
-            }
-        ],
-        [
-            "ip_proto",
-            [
-                "IP_API_PROTO_HOPOPT",
-                0
-            ],
-            [
-                "IP_API_PROTO_ICMP",
-                1
-            ],
-            [
-                "IP_API_PROTO_IGMP",
-                2
-            ],
-            [
-                "IP_API_PROTO_TCP",
-                6
-            ],
-            [
-                "IP_API_PROTO_UDP",
-                17
-            ],
-            [
-                "IP_API_PROTO_GRE",
-                47
-            ],
-            [
-                "IP_API_PROTO_AH",
-                50
-            ],
-            [
-                "IP_API_PROTO_ESP",
-                51
-            ],
-            [
-                "IP_API_PROTO_EIGRP",
-                88
-            ],
-            [
-                "IP_API_PROTO_OSPF",
-                89
-            ],
-            [
-                "IP_API_PROTO_SCTP",
-                132
-            ],
-            [
-                "IP_API_PROTO_RESERVED",
-                255
-            ],
-            {
-                "enumtype": "u32"
-            }
-        ],
-        [
-            "bfd_state",
-            [
-                "BFD_STATE_API_ADMIN_DOWN",
-                0
-            ],
-            [
-                "BFD_STATE_API_DOWN",
-                1
-            ],
-            [
-                "BFD_STATE_API_INIT",
-                2
-            ],
-            [
-                "BFD_STATE_API_UP",
-                3
-            ],
-            {
-                "enumtype": "u32"
-            }
-        ]
-    ],
-    "services": {
-        "bfd_udp_set_echo_source": {
-            "reply": "bfd_udp_set_echo_source_reply"
-        },
-        "bfd_udp_del_echo_source": {
-            "reply": "bfd_udp_del_echo_source_reply"
-        },
-        "bfd_udp_get_echo_source": {
-            "reply": "bfd_udp_get_echo_source_reply"
-        },
-        "bfd_udp_add": {
-            "reply": "bfd_udp_add_reply"
-        },
-        "bfd_udp_mod": {
-            "reply": "bfd_udp_mod_reply"
-        },
-        "bfd_udp_del": {
-            "reply": "bfd_udp_del_reply"
-        },
-        "bfd_udp_session_dump": {
-            "reply": "bfd_udp_session_details",
-            "stream": true
-        },
-        "bfd_udp_session_set_flags": {
-            "reply": "bfd_udp_session_set_flags_reply"
-        },
-        "want_bfd_events": {
-            "reply": "want_bfd_events_reply"
-        },
-        "bfd_auth_set_key": {
-            "reply": "bfd_auth_set_key_reply"
-        },
-        "bfd_auth_del_key": {
-            "reply": "bfd_auth_del_key_reply"
-        },
-        "bfd_auth_keys_dump": {
-            "reply": "bfd_auth_keys_details",
-            "stream": true
-        },
-        "bfd_udp_auth_activate": {
-            "reply": "bfd_udp_auth_activate_reply"
-        },
-        "bfd_udp_auth_deactivate": {
-            "reply": "bfd_udp_auth_deactivate_reply"
-        }
-    },
-    "options": {
-        "version": "2.0.0"
-    },
-    "aliases": {
-        "interface_index": {
-            "type": "u32"
-        },
-        "ip4_address": {
-            "type": "u8",
-            "length": 4
-        },
-        "ip6_address": {
-            "type": "u8",
-            "length": 16
-        },
-        "address_with_prefix": {
-            "type": "vl_api_prefix_t"
-        },
-        "ip4_address_with_prefix": {
-            "type": "vl_api_ip4_prefix_t"
-        },
-        "ip6_address_with_prefix": {
-            "type": "vl_api_ip6_prefix_t"
-        }
-    },
-    "vl_api_version": "0xfd792c8c"
-}