otcextensions.sdk.dcaas.v2.connection

The Connection Class

The Connection class inherits from Resource.

class otcextensions.sdk.dcaas.v2.connection.Connection(_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 connection name.

description

Indicates the description of the connection.

bandwidth

Specifies the connection bandwidth in Mbit/s.

location

Specifies the connection access location.

device_id

Specifies the gateway device ID of the connection.

interface_name

Specifies the name of the interface accessed by the connection.

redundant_id

Specifies the ID of the redundant connection using the same gateway.

provider

Specifies the connection bandwidth in Mbit/s.

type

Specifies the connection type. The value can be hosted.

vlan

Specifies the VLAN pre-allocated to the hosted connection.

apply_time

Specifies the time when the connection is requested.

create_time

Specifies the time when the connection is created.

delete_time

Specifies the time when the connection is deleted.

order_id

Specifies the order number of the connection.

product_id

Specifies the product ID corresponding to the connection’s order.