19 import "vnet/ip/ip_types.api";
20 import "vnet/interface_types.api";
26 define ikev2_plugin_get_version
37 define ikev2_plugin_get_version_reply
51 autoreply define ikev2_profile_add_del
58 option vat_help =
"name <profile_name> [del]";
71 autoreply define ikev2_profile_set_auth
81 option vat_help =
"name <profile_name> auth_method <method> (auth_data 0x<data> | auth_data <data>)";
94 autoreply define ikev2_profile_set_id
104 option vat_help =
"name <profile_name> id_type <type> (id_data 0x<data> | id_data <data>) (local|remote)";
119 autoreply define ikev2_profile_set_ts
131 option vat_help =
"name <profile_name> protocol <proto> start_port <port> end_port <port> start_addr <ip4> end_addr <ip4> (local|remote)";
145 string key_file[256];
146 option vat_help =
"file <absolute_file_path>";
156 autoreply define ikev2_set_tunnel_interface
173 autoreply define ikev2_set_responder
181 option vat_help =
"<profile_name> interface <interface> address <addr>";
195 autoreply define ikev2_set_ike_transforms
205 option vat_help =
"<profile_name> <crypto alg> <key size> <integrity alg> <DH group>";
219 autoreply define ikev2_set_esp_transforms
229 option vat_help =
"<profile_name> <crypto alg> <key size> <integrity alg> <DH group>";
243 autoreply define ikev2_set_sa_lifetime
253 option vat_help =
"<profile_name> <seconds> <jitter> <handover> <max bytes>";
269 option vat_help =
"<profile_name>";
279 autoreply define ikev2_initiate_del_ike_sa
285 option vat_help =
"<ispi>";
295 autoreply define ikev2_initiate_del_child_sa
301 option vat_help =
"<ispi>";
317 option vat_help =
"<ispi>";
325 autoreply define ikev2_profile_set_udp_encap
340 autoreply define ikev2_profile_set_ipsec_udp_port
356 autoreply define ikev2_profile_set_liveness
clib_error_t * ikev2_initiate_sa_init(vlib_main_t *vm, u8 *name)
vl_api_interface_index_t sw_if_index
clib_error_t * ikev2_set_local_key(vlib_main_t *vm, u8 *file)
clib_error_t * ikev2_initiate_rekey_child_sa(vlib_main_t *vm, u32 ispi)
vl_api_ip4_address_t address
vl_api_interface_index_t sw_if_index