ANSIBLE.QUANTUM_ROUTER_GATEWAY(3)

NAME
quantum_router_gateway - set/unset a gateway interface for the router with the specified external network

DESCRIPTION

Creates/Removes a gateway interface from the router, used to associate a external network with a router to route external traffic.

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)

network_name
    Name of the external network which should be attached to the router.(required) (default: None)

region_name
    Name of the region (default: None)

router_name
    Name of the router to which the gateway should be attached.(required) (default: None)

state
    Indicate desired state of the resource Choices: present,absent. (default: present)."
    # Attach an external network with a router to allow flow of external traffic
    - quantum_router_gateway: state=present login_username=admin login_password=admin
                              login_tenant_name=admin router_name=external_router
                              network_name=external_network

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