otcextensions.sdk.dcaas.v2.virtual_interface¶
The Virtual Interface Class¶
The VirtualInterface
class inherits from
Resource
.
-
class
otcextensions.sdk.dcaas.v2.virtual_interface.
VirtualInterface
(_synchronized=False, connection=None, **attrs)¶ The base resource
- Parameters
_synchronized (bool) – This is not intended to be used directly. See
new()
andexisting()
.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 interface name.
-
project_id
¶ Project id.
-
description
¶ Indicates the description of the virtual interface.
-
direct_connect_id
¶ Specifies the connection ID.
-
vgw_id
¶ Specifies the virtual gateway ID.
-
bandwidth
¶ Specifies the virtual interface bandwidth.
-
local_gateway_v4_ip
¶ Specifies the IPv4 address of the local gateway.
-
remote_gateway_v4_ip
¶ Specifies the IPv4 address of the remote gateway.
-
route_mode
¶ Specifies the routing mode. The value can be static or bgp.
-
bgp_asn
¶ Specifies the AS number of the BGP peer.
-
bgp_md5
¶ Specifies the MD5 password of the BGP peer.
-
create_time
¶ Specifies the time when the virtual interface is created.
-
delete_time
¶ Specifies the time when the virtual interface is deleted.