The Router class inherits from Resource.
The base resource
| Parameters: | _synchronized (bool) – This is not intended to be used directly. See new() and existing(). |
|---|
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 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 Default: False
The highly-available state of the router, which is highly available True or not False. Type: bool Default: False
The router name.
The ID of the project this router is associated with.
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.
| Parameters: | session (Session) – The session to communicate through. |
|---|
:param dict body : The body requested to be updated on the outer
| Returns: | The body of the response as a dictionary. |
|---|
Remove an internal interface from a logical router.
| Parameters: | session (Session) – The session to communicate through. |
|---|
:param dict body : The body requested to be updated on the outer
| Returns: | 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.