binapi: remove internal/testbinapi
[govpp.git] / internal / testbinapi / binapi2001 / .vppapi / plugins / ikev2.api.json
diff --git a/internal/testbinapi/binapi2001/.vppapi/plugins/ikev2.api.json b/internal/testbinapi/binapi2001/.vppapi/plugins/ikev2.api.json
deleted file mode 100644 (file)
index 84c8259..0000000
+++ /dev/null
@@ -1,1187 +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": [
-        [
-            "ikev2_plugin_get_version",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            {
-                "crc": "0x51077d14"
-            }
-        ],
-        [
-            "ikev2_plugin_get_version_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "major"
-            ],
-            [
-                "u32",
-                "minor"
-            ],
-            {
-                "crc": "0x9b32cf86"
-            }
-        ],
-        [
-            "ikev2_profile_add_del",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "string",
-                "name",
-                64
-            ],
-            [
-                "bool",
-                "is_add"
-            ],
-            {
-                "crc": "0x2c925b55"
-            }
-        ],
-        [
-            "ikev2_profile_add_del_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "ikev2_profile_set_auth",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "string",
-                "name",
-                64
-            ],
-            [
-                "u8",
-                "auth_method"
-            ],
-            [
-                "bool",
-                "is_hex"
-            ],
-            [
-                "u32",
-                "data_len"
-            ],
-            [
-                "u8",
-                "data",
-                0,
-                "data_len"
-            ],
-            {
-                "crc": "0x642c97cd"
-            }
-        ],
-        [
-            "ikev2_profile_set_auth_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "ikev2_profile_set_id",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "string",
-                "name",
-                64
-            ],
-            [
-                "bool",
-                "is_local"
-            ],
-            [
-                "u8",
-                "id_type"
-            ],
-            [
-                "u32",
-                "data_len"
-            ],
-            [
-                "u8",
-                "data",
-                0,
-                "data_len"
-            ],
-            {
-                "crc": "0x4d7e2418"
-            }
-        ],
-        [
-            "ikev2_profile_set_id_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "ikev2_profile_set_ts",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "string",
-                "name",
-                64
-            ],
-            [
-                "bool",
-                "is_local"
-            ],
-            [
-                "u8",
-                "proto"
-            ],
-            [
-                "u16",
-                "start_port"
-            ],
-            [
-                "u16",
-                "end_port"
-            ],
-            [
-                "u32",
-                "start_addr"
-            ],
-            [
-                "u32",
-                "end_addr"
-            ],
-            {
-                "crc": "0x64d55c16"
-            }
-        ],
-        [
-            "ikev2_profile_set_ts_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "ikev2_set_local_key",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u8",
-                "key_file",
-                256
-            ],
-            {
-                "crc": "0xe4996cd5"
-            }
-        ],
-        [
-            "ikev2_set_local_key_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "ikev2_set_responder",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "string",
-                "name",
-                64
-            ],
-            [
-                "vl_api_interface_index_t",
-                "sw_if_index"
-            ],
-            [
-                "vl_api_ip4_address_t",
-                "address"
-            ],
-            {
-                "crc": "0xf0d3dc80"
-            }
-        ],
-        [
-            "ikev2_set_responder_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "ikev2_set_ike_transforms",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "string",
-                "name",
-                64
-            ],
-            [
-                "u32",
-                "crypto_alg"
-            ],
-            [
-                "u32",
-                "crypto_key_size"
-            ],
-            [
-                "u32",
-                "integ_alg"
-            ],
-            [
-                "u32",
-                "dh_group"
-            ],
-            {
-                "crc": "0x936a1a37"
-            }
-        ],
-        [
-            "ikev2_set_ike_transforms_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "ikev2_set_esp_transforms",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "string",
-                "name",
-                64
-            ],
-            [
-                "u32",
-                "crypto_alg"
-            ],
-            [
-                "u32",
-                "crypto_key_size"
-            ],
-            [
-                "u32",
-                "integ_alg"
-            ],
-            [
-                "u32",
-                "dh_group"
-            ],
-            {
-                "crc": "0x936a1a37"
-            }
-        ],
-        [
-            "ikev2_set_esp_transforms_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "ikev2_set_sa_lifetime",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "string",
-                "name",
-                64
-            ],
-            [
-                "u64",
-                "lifetime"
-            ],
-            [
-                "u32",
-                "lifetime_jitter"
-            ],
-            [
-                "u32",
-                "handover"
-            ],
-            [
-                "u64",
-                "lifetime_maxdata"
-            ],
-            {
-                "crc": "0x7039feaa"
-            }
-        ],
-        [
-            "ikev2_set_sa_lifetime_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "ikev2_initiate_sa_init",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "string",
-                "name",
-                64
-            ],
-            {
-                "crc": "0xebf79a66"
-            }
-        ],
-        [
-            "ikev2_initiate_sa_init_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "ikev2_initiate_del_ike_sa",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u64",
-                "ispi"
-            ],
-            {
-                "crc": "0x8d125bdd"
-            }
-        ],
-        [
-            "ikev2_initiate_del_ike_sa_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "ikev2_initiate_del_child_sa",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "ispi"
-            ],
-            {
-                "crc": "0x7f004d2e"
-            }
-        ],
-        [
-            "ikev2_initiate_del_child_sa_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "ikev2_initiate_rekey_child_sa",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u32",
-                "ispi"
-            ],
-            {
-                "crc": "0x7f004d2e"
-            }
-        ],
-        [
-            "ikev2_initiate_rekey_child_sa_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": [
-        [
-            "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"
-            }
-        ],
-        [
-            "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"
-            }
-        ]
-    ],
-    "services": {
-        "ikev2_plugin_get_version": {
-            "reply": "ikev2_plugin_get_version_reply"
-        },
-        "ikev2_profile_add_del": {
-            "reply": "ikev2_profile_add_del_reply"
-        },
-        "ikev2_profile_set_auth": {
-            "reply": "ikev2_profile_set_auth_reply"
-        },
-        "ikev2_profile_set_id": {
-            "reply": "ikev2_profile_set_id_reply"
-        },
-        "ikev2_profile_set_ts": {
-            "reply": "ikev2_profile_set_ts_reply"
-        },
-        "ikev2_set_local_key": {
-            "reply": "ikev2_set_local_key_reply"
-        },
-        "ikev2_set_responder": {
-            "reply": "ikev2_set_responder_reply"
-        },
-        "ikev2_set_ike_transforms": {
-            "reply": "ikev2_set_ike_transforms_reply"
-        },
-        "ikev2_set_esp_transforms": {
-            "reply": "ikev2_set_esp_transforms_reply"
-        },
-        "ikev2_set_sa_lifetime": {
-            "reply": "ikev2_set_sa_lifetime_reply"
-        },
-        "ikev2_initiate_sa_init": {
-            "reply": "ikev2_initiate_sa_init_reply"
-        },
-        "ikev2_initiate_del_ike_sa": {
-            "reply": "ikev2_initiate_del_ike_sa_reply"
-        },
-        "ikev2_initiate_del_child_sa": {
-            "reply": "ikev2_initiate_del_child_sa_reply"
-        },
-        "ikev2_initiate_rekey_child_sa": {
-            "reply": "ikev2_initiate_rekey_child_sa_reply"
-        }
-    },
-    "options": {
-        "version": "1.0.1"
-    },
-    "aliases": {
-        "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"
-        },
-        "interface_index": {
-            "type": "u32"
-        }
-    },
-    "vl_api_version": "0x4eab5d22"
-}