otcextensions.sdk.dcaas.v2.virtual_gateway

The Virtual Gateway Class

The VirtualGateway class inherits from Resource.

class otcextensions.sdk.dcaas.v2.virtual_gateway.VirtualGateway(_synchronized=False, connection=None, **attrs)

The base resource

Parameters
  • _synchronized (bool) – This is not intended to be used directly. See new() and existing().

  • connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

id

ID of the direct connection.

name

Indicates the virtual gateway name.

description

Indicates the description of the virtual gateway.

vpc_id

Specifies the ID of the VPC to be accessed.

device_id

Specifies the ID of the physical device used by the virtual gateway.

ipsec_bandwidth

Specifies the bandwidth provided for IPsec VPN in Mbit/s.

bgp_asn

Specifies the BGP ASN of the virtual gateway.

project_id

Specifies the project ID.