2.159. vpp_ikev2 module

class vpp_ikev2.AuthMethod

Bases: object

v = {'rsa-sig': 1, 'shared-key': 2}
static value(key)
class vpp_ikev2.IDType

Bases: object

v = {'fqdn': 2, 'ip4-addr': 1, 'ip6-addr': 5}
static value(key)
class vpp_ikev2.Profile(test, profile_name)

Bases: vpp_object.VppObject

IKEv2 profile

add_auth(method, data, is_hex=False)
add_esp_transforms(tr)
add_ike_transforms(tr)
add_local_id(id_type, data)
add_local_ts(start_addr, end_addr, start_port=0, end_port=65535, proto=0, is_ip4=True)
add_remote_id(id_type, data)
add_remote_ts(start_addr, end_addr, start_port=0, end_port=65535, proto=0)
add_responder(responder)
add_responder_hostname(hn)
add_vpp_config()

Add the configuration for this object to vpp.

disable_natt()
object_id()

Return a unique string representing this object.

query_vpp_config()

Query the vpp configuration.

Returns

True if the object is configured

remove_vpp_config()

Remove the configuration for this object from vpp.

set_ipsec_over_udp_port(port)
set_lifetime_data(data)
set_tunnel_interface(sw_if_index)
set_udp_encap(udp_encap)