osc network vpn ipsec-site-connection set
Updates connection settings for an IPsec connection.
Normal response codes: 200
Error response codes: 400, 401, 404
Usage: osc network vpn ipsec-site-connection set [OPTIONS] <ID>
Arguments:
<ID>
— id parameter for /v2.0/vpn/ipsec-site-connections/{id} API
Options:
-
--admin-state-up <ADMIN_STATE_UP>
— The administrative state of the resource, which is up (true
) or down (false
)Possible values:
true
,false
-
--description <DESCRIPTION>
— A human-readable description for the resource. Default is an empty string -
--dpd <DPD>
— A dictionary with dead peer detection (DPD) protocol controls -
--initiator <INITIATOR>
— Indicates whether this VPN can only respond to connections or both respond to and initiate connections. A valid value isresponse- only
orbi-directional
. Default isbi-directional
Possible values:
bi-directional
,response-only
-
--local-ep-group-id <LOCAL_EP_GROUP_ID>
— The ID for the endpoint group that contains private subnets for the local side of the connection. Yo must specify this parameter with thepeer_ep_group_id
parameter unless in backward- compatible mode wherepeer_cidrs
is provided with asubnet_id
for the VPN service -
--local-id <LOCAL_ID>
— An ID to be used instead of the external IP address for a virtual router used in traffic between instances on different networks in east-west traffic. Most often, local ID would be domain name, email address, etc. If this is not configured then the external IP address will be used as the ID -
--mtu <MTU>
— The maximum transmission unit (MTU) value to address fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6 -
--name <NAME>
— Human-readable name of the resource. Default is an empty string -
--peer-address <PEER_ADDRESS>
— The peer gateway public IPv4 or IPv6 address or FQDN -
--peer-cidrs <PEER_CIDRS>
— (Deprecated) Unique list of valid peer private CIDRs in the form < net_address > / < prefix > -
--peer-ep-group-id <PEER_EP_GROUP_ID>
— The ID for the endpoint group that contains private CIDRs in the form < net_address > / < prefix > for the peer side of the connection. You must specify this parameter with thelocal_ep_group_id
parameter unless in backward-compatible mode wherepeer_cidrs
is provided with asubnet_id
for the VPN service -
--peer-id <PEER_ID>
— The peer router identity for authentication. A valid value is an IPv4 address, IPv6 address, e-mail address, key ID, or FQDN. Typically, this value matches thepeer_address
value -
--psk <PSK>
— The pre-shared key. A valid value is any string