ANSIBLE.QUANTUM_ROUTER_INTERFACE(3)

NAME
quantum_router_interface - Attach/Dettach a subnet's interface to a router

DESCRIPTION

Attach/Dettach a subnet interface to a router, to provide a gateway for the subnet.

OPTIONS

auth_url
    The keystone URL for authentication (default: http://127.0.0.1:35357/v2.0/)

login_password
    Password of login user(required) (default: yes)

login_tenant_name
    The tenant name of the login user(required) (default: yes)

login_username
    login username to authenticate to keystone(required) (default: admin)

region_name
    Name of the region (default: None)

router_name
    Name of the router to which the subnet's interface should be attached.(required) (default: None)

state
    Indicate desired state of the resource Choices: present,absent. (default: present)

subnet_name
    Name of the subnet to whose interface should be attached to the router.(required) (default: None)

tenant_name
    Name of the tenant whose subnet has to be attached. (default: None)."
    # 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

SEE ALSO
ansible(1), http://ansible.github.com/modules.html#quantum-router-interface