New in version 1.2.
Creates/Removes a gateway interface from the router, used to associate a external network with a router to route external traffic.
| parameter | required | default | choices | comments |
|---|---|---|---|---|
| auth_url | no | http://127.0.0.1:35357/v2.0/ | The keystone URL for authentication | |
| login_password | yes | yes | Password of login user | |
| login_tenant_name | yes | yes | The tenant name of the login user | |
| login_username | yes | admin | login username to authenticate to keystone | |
| network_name | yes | None | Name of the external network which should be attached to the router. | |
| region_name | no | None | Name of the region | |
| router_name | yes | None | Name of the router to which the gateway should be attached. | |
| state | no | present |
|
Indicate desired state of the resource |
Note
Requires quantumclient
Note
Requires neutronclient
Note
Requires keystoneclient