quantum_router_interface - Attach/Dettach a subnet’s interface to a router

Synopsis

New in version 1.2.

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

Options

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
              • present
              • absent
              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.

                  Note

                  Requires quantumclient

                  Note

                  Requires keystoneclient

                  Examples


                  # 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