otcextensions.sdk.nat.v2.gateway¶
The NAT Gateway Class¶
The Gateway
class inherits from
Resource
.
-
class
otcextensions.sdk.nat.v2.gateway.
Gateway
(_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.
-
admin_state_up
¶ Specifies whether GW is up or down true: Gw is up false: GW is down
-
created_at
¶ Specifies when GW was is created format is yyyy-mm-dd hh:mm:ss
-
description
¶ Provides description of gateway
-
id
¶ Specifies the ID of the gateway.
-
internal_network_id
¶ Specifies the network ID of the downstream interface
-
name
¶ Specifies the name of the gateway. Contains only digits, letters, underscores and hyphens
-
project_id
¶ Specifies the project ID
-
router_id
¶ Specifies the router ID
-
spec
¶ Specifies the type of the gateway. 1: small type, supports up to 10,000 SNAT connections 2: medium type, supports up to 50,000 SNAT connections 3: large type, supports up to 200,000 SNAT connections 4: extra-large type, supports up to 1,000,000 SNAT connections
-
status
¶ Specifies the status