Attribute | Type | Required | CRUD
|
Default Value | Validation Constraints | Notes |
---|---|---|---|---|---|---|
id | uuid-str | N/A | R | generated | N/A | Unique identifier for the VPN Service object. |
tenant_id | uuid-str | Yes | CR | Derived from Authentication token | valid tenant_id | Owner of the VPN service. Only admin users can specify a tenant identifier other than their own. |
name | String | No | CRU | None | N/A | Human readable name for the VPN service. Does not have to be unique. |
description | String | No | CRU | None | N/A | Human readable description for the VPN service. |
status | String | N/A | R | N/A | N/A | Indicates whether IPsec VPN service is currently operational. Possible values include: ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE, or PENDING_DELETE. |
admin_state_up | Bool | N/A | CRU | true | {true | false } | Administrative state of the vpnservice. If false (down), port does not forward packets. |
subnet_id | uuid-str | Yes | CR | N/A | valid subnet ID | The subnet on which the tenant wants the VPN service. This may be extended in the future to support multiple subnets. |
router_id | uuid-str | Yes | CR | N/A | valid router ID | Router ID to which the VPN service is inserted. This may change in the future, when router level insertion is available. |
Attribute | Type | Required | CRUD
|
Default Value | Validation Constraints | Notes |
---|---|---|---|---|---|---|
id | uuid-str | N/A | R | generated | N/A | Unique identifier for the IKE policy. |
tenant_id | uuid-str | Yes | CR | None | valid tenant_id | Unique identifier for owner of the VPN service. |
name | string | yes | CRU | None | N/A | Friendly name for the IKE policy. |
description | string | no | CRU | None | N/A | Description of the IKE policy. |
auth_algorithm | string | no | CRU | sha1 | N/A | Authentication Hash algorithms: sha1. |
encryption_algorithm | string | no | CRU | aes-128 | N/A | Encryption Algorithms: 3des, aes-128, aes-256, aes-192, etc. |
phase1_negotiation_mode | string | no | CRU | Main Mode | N/A | IKE mode: Main Mode. |
pfs | string | no | CRU | Group5 | N/A | Perfect Forward Secrecy: Group2, Group5, or Group14. |
ike_version | string | no | CRU | v1 | N/A | Version: v1 or v2. |
lifetime | dict | no | CRU | units: seconds, value: 3600. | Dictionary should be in this form: {'units': 'seconds', 'value': 2000}. Value is a positive integer. | Lifetime of the SA. Units in 'seconds'. Either units or value may be omitted. |
Attribute | Type | Required | CRUD
|
Default Value | Validation Constraints | Notes |
---|---|---|---|---|---|---|
id | uuid-str | N/A | R | generated | N/A | Unique identifier for the IPsec policy. |
tenant_id | uuid-str | Yes | CR | None | valid tenant_id | Unique identifier for owner of the VPN service. |
name | string | yes | CRU | None | N/A | Friendly name for the IPsec policy. |
description | string | no | CRU | None | N/A | Description of the IPSec policy. |
transform_protocol | string | no | CRU | ESP | N/A | Transform protocol used: ESP, AH, or AH-ESP. |
encapsulation_mode | string | no | CRU | tunnel | N/A | Encapsulation mode: tunnel or transport. |
auth_algorithm | string | no | CRU | sha1 | N/A | Authentication algorithm: sha1. |
encryption_algorithm | string | no | CRU | aes-128 | N/A | Encryption Algorithms: 3des, aes-128, aes-256, or aes-192. |
pfs | string | no | CRU | group5 | N/A | Perfect Forward Secrecy: group2, group5, or group14. |
lifetime | dict | no | CRU | units: seconds, value: 3600. | Dictionary should be in this form: {'units': 'seconds', 'value': 2000}. Value is a positive integer. | Lifetime of the SA. Units in 'seconds'. Either units or value may be omitted. |
Attribute | Type | Required | CRUD
|
Default Value | Validation Constraints | Notes |
---|---|---|---|---|---|---|
id | uuid-str | N/A | R | generated | N/A | Unique identifier for the IPSec site-to-site connection. |
tenant_id | uuid-str | Yes | CR | None | valid tenant_id | Unique identifier for owner of the VPN service. |
name | string | no | CRU | None | N/A | Name for IPSec site-to-site connection. |
description | string | no | CRU | None | N/A | Description of the IPSec site-to-site connection. |
peer_address | string | yes | CRU | N/A | N/A | Peer gateway public IPv4/IPv6 address or FQDN. |
peer_id | string | yes | CRU | N/A | N/A | Peer router identity for authentication. Can be IPv4/IPv6 address, e-mail address, key id, or FQDN. |
peer_cidrs | list[string] | yes | CRU | N/A | unique list of valid cidr in the form <net_address>/<prefix> | Peer private CIDRs. |
route_mode | string | no | R | static | static | Route mode: static. This will be extended in the future. |
mtu | integer | no | CRU | 1500 | Integer. Minimum is 68 for IPv4 and 1280 for IPv6. | Maximum Transmission Unit to address fragmentation. |
auth_mode | string | no | R | psk | psk/certs | Authentication mode: PSK or certificate. |
psk | string | yes | CRU | N/A | NO | Pre Shared Key: any string. |
initiator | string | no | CRU | bi-directional | bi-directional / response-only | Whether this VPN can only respond to connections or can initiate as well. |
admin_state_up | bool | N/A | CRU | TRUE | true / false | Administrative state of VPN connection. If false (down), VPN connection does not forward packets. |
status | string | N/A | R | N/A | N/A | Indicates whether VPN connection is currently operational. Possible values include: ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE, or PENDING_DELETE. |
ikepolicy_id | uuid | yes | CR | N/A | Unique identifier of IKE policy | Unique identifier of IKE policy. |
ipsecpolicy_id | uuid | yes | CR | N/A | Unique identifier of IPSec policy | Unique identifier of IPSec policy. |
vpnservice_id | uuid | yes | CR | N/A | Unique identifier of VPN service | Unique identifier of VPN service. |
dpd | dict | no | CRU | action: hold, interval: 30, timeout: 120 | Dictionary should be in this form: {'action': 'clear', 'interval': 20, 'timeout': 60}. Interval is positive integer. Timeout is greater than interval. | Dead Peer Detection protocol controls. Action: clear, hold, restart, disabled, or restart-by-peer. Interval and timeout in seconds. |