Deprecated in 2.0. Use os_router instead
Attach/Detach a subnet interface to a router, to provide a gateway for the subnet.
| 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 |
|
| region_name | no | None | Name of the region |
|
| router_name | yes | None | Name of the router to which the subnet's interface should be attached. |
|
| state | no | present |
| Indicate desired state of the resource |
| subnet_name | yes | None | Name of the subnet to whose interface should be attached to the router. |
|
| tenant_name | no | None | Name of the tenant whose subnet has to be attached. |
# Attach tenant1's subnet to the external router
- quantum_router_interface: state=present login_username=admin
login_password=admin
login_tenant_name=admin
tenant_name=tenant1
router_name=external_route
subnet_name=t1subnet
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, developing_test_pr and Developing Modules.
© 2012–2016 Michael DeHaan
© 2016 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/quantum_router_interface_module.html