W3cubDocs

/Ansible

quantum_router - Create or Remove router from openstack

DEPRECATED

Deprecated in 2.0. Use os_router instead

Synopsis

Create or Delete routers from OpenStack

Requirements (on host that executes module)

  • python >= 2.6
  • python-neutronclient or python-quantumclient
  • python-keystoneclient

Options

parameter required default choices comments
admin_state_up
no True
desired admin state of the created router .
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
name
yes None
Name to be give to the router
region_name
no None
Name of the region
state
no present
  • present
  • absent
Indicate desired state of the resource
tenant_name
no None
Name of the tenant for which the router has to be created, if none router would be created for the login tenant.

Examples

# Creates a router for tenant admin
- quantum_router: state=present
                login_username=admin
                login_password=admin
                login_tenant_name=admin
                name=router1"

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_module.html