The Router
class inherits from Resource
.
The base resource
_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.
Availability zone hints to use when scheduling the router. Type: list of availability zone names
Availability zones for the router. Type: list of availability zone names
Timestamp when the router was created.
The router description.
The ndp proxy state of the router
The network_id
, for the external gateway. Type: dict
The ID of the flavor.
The administrative state of the router, which is up True
or down False
. Type: bool
The distributed state of the router, which is distributed True
or not False
. Type: bool
The highly-available state of the router, which is highly available
True
or not False
. Type: bool
The router name.
The ID of the project this router is associated with.
Tenant_id (deprecated attribute).
Revision number of the router. Type: int
The extra routes configuration for the router.
The router status.
Timestamp when the router was created.
Add an internal interface to a logical router.
session (Adapter
) – The session to communicate through.
body (dict) – The body requested to be updated on the router
The body of the response as a dictionary.
SDKException
on error.
Remove an internal interface from a logical router.
session (Adapter
) – The session to communicate through.
body (dict) – The body requested to be updated on the router
The body of the response as a dictionary.
SDKException
on error.
Add extra routes to a logical router.
session (Adapter
) – The session to communicate through.
body (dict) – The request body as documented in the api-ref.
The response as a Router object with the added extra routes.
SDKException
on error.
Remove extra routes from a logical router.
session (Adapter
) – The session to communicate through.
body (dict) – The request body as documented in the api-ref.
The response as a Router object with the extra routes left.
SDKException
on error.
Add an external gateway to a logical router.
session (Adapter
) – The session to communicate through.
body (dict) – The body requested to be updated on the router
The body of the response as a dictionary.
Remove an external gateway from a logical router.
session (Adapter
) – The session to communicate through.
body (dict) – The body requested to be updated on the router
The body of the response as a dictionary.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.