19 import "plugins/ikev2/ikev2_types.api";
20 import "vnet/ip/ip_types.api";
21 import "vnet/interface_types.api";
27 define ikev2_plugin_get_version
38 define ikev2_plugin_get_version_reply
49 define ikev2_profile_dump
53 option status=
"in_progress";
60 define ikev2_profile_details
64 option status=
"in_progress";
76 option status =
"in_progress";
84 define ikev2_sa_details
90 option status =
"in_progress";
98 define ikev2_child_sa_dump
104 option vat_help =
"sa_index <index>";
105 option status =
"in_progress";
113 define ikev2_child_sa_details
119 option status =
"in_progress";
128 define ikev2_nonce_get
135 option vat_help =
"initiator|responder sa_index <index>";
136 option status =
"in_progress";
146 define ikev2_nonce_get_reply
153 option status =
"in_progress";
164 define ikev2_traffic_selector_dump
172 option vat_help =
"initiator|responder sa_index <index> child_sa_index <index>";
173 option status =
"in_progress";
182 define ikev2_traffic_selector_details
187 vl_api_ikev2_ts_t
ts;
188 option status =
"in_progress";
197 autoreply define ikev2_profile_add_del
204 option vat_help =
"name <profile_name> [del]";
205 option status=
"in_progress";
217 autoreply define ikev2_profile_set_auth
227 option vat_help =
"name <profile_name> auth_method <method> (auth_data 0x<data> | auth_data <data>)";
228 option status=
"in_progress";
240 autoreply define ikev2_profile_set_id
250 option vat_help =
"name <profile_name> id_type <type> (id_data 0x<data> | id_data <data>) (local|remote)";
251 option status=
"in_progress";
259 autoreply define ikev2_profile_disable_natt
265 option status=
"in_progress";
274 autoreply define ikev2_profile_set_ts
280 vl_api_ikev2_ts_t
ts;
281 option vat_help =
"name <profile_name> protocol <proto> start_port <port> end_port <port> start_addr <ip> end_addr <ip> (local|remote)";
282 option status=
"in_progress";
295 string key_file[256];
296 option vat_help =
"file <absolute_file_path>";
297 option status=
"in_progress";
307 autoreply define ikev2_set_tunnel_interface
314 option status=
"in_progress";
323 autoreply define ikev2_set_responder
330 option vat_help =
"<profile_name> interface <interface> address <addr>";
331 option status=
"in_progress";
334 autoreply define ikev2_set_responder_hostname
342 option status=
"in_progress";
351 autoreply define ikev2_set_ike_transforms
357 vl_api_ikev2_ike_transforms_t
tr;
358 option vat_help =
"<profile_name> <crypto alg> <key size> <integrity alg> <DH group>";
359 option status=
"in_progress";
368 autoreply define ikev2_set_esp_transforms
374 vl_api_ikev2_esp_transforms_t
tr;
375 option vat_help =
"<profile_name> <crypto alg> <key size> <integrity alg>";
376 option status=
"in_progress";
388 autoreply define ikev2_set_sa_lifetime
398 option vat_help =
"<profile_name> <seconds> <jitter> <handover> <max bytes>";
399 option status=
"in_progress";
413 option vat_help =
"<profile_name>";
414 option status=
"in_progress";
422 autoreply define ikev2_initiate_del_ike_sa
428 option vat_help =
"<ispi>";
429 option status=
"in_progress";
437 autoreply define ikev2_initiate_del_child_sa
443 option vat_help =
"<ispi>";
444 option status=
"in_progress";
458 option vat_help =
"<ispi>";
459 option status=
"in_progress";
467 autoreply define ikev2_profile_set_udp_encap
473 option status=
"in_progress";
483 autoreply define ikev2_profile_set_ipsec_udp_port
491 option status=
"in_progress";
500 autoreply define ikev2_profile_set_liveness
507 option status=
"in_progress";
515 description
"packets processed";
521 description
"IKE SA INIT retransmit";
527 description
"IKE_SA_INIT ignore (IKE SA already auth)";
533 description
"IKE request retransmit";
539 description
"IKE request ignore (old msgid)";
545 description
"Non IKEv2 packets received";
551 description
"Bad packet length";
557 description
"Malformed packet";
563 description
"No buffer space";
569 description
"IKE keepalive messages received";
575 description
"IKE rekey requests received";
581 description
"IKE EXCHANGE SA requests received";
587 description
"IKE AUTH SA requests received";
591 "/err/ikev2-ip4" "ike";
592 "/err/ikev2-ip6" "ike";
593 "/err/ikev2-ip4-natt" "ike";