quantum_subnet - Add/Remove floating IP from an instance

Synopsis

New in version 1.2.

Add or Remove a floating IP to an instance

Options

parameter required default choices comments
allocation_pool_end no None
    From the subnet pool the last IP that should be assigned to the virtual machines
    allocation_pool_start no None
      From the subnet pool the starting address from which the IP should be allocated
      auth_url no http://127.0.0.1:35357/v2.0/
        The keystone URL for authentication
        cidr yes None
          The CIDR representation of the subnet that should be assigned to the subnet
          dns_nameservers no None
            DNS nameservers for this subnet, comma-separated
            enable_dhcp no True
              Whether DHCP should be enabled for this subnet.
              gateway_ip no None
                The ip that would be assigned to the gateway for this subnet
                ip_version no 4
                  The IP version of the subnet 4 or 6
                  login_password yes True
                    Password of login user
                    login_tenant_name yes True
                      The tenant name of the login user
                      login_username yes admin
                        login username to authenticate to keystone
                        network_name yes None
                          Name of the network to which the subnet should be attached
                          region_name no None
                            Name of the region
                            state no present
                            • present
                            • absent
                            Indicate desired state of the resource
                            tenant_name no None
                              The name of the tenant for whom the subnet should be created

                              Note

                              Requires quantumclient

                              Note

                              Requires neutronclient

                              Note

                              Requires keystoneclient

                              Examples


                              # Create a subnet for a tenant with the specified subnet
                              - quantum_subnet: state=present login_username=admin login_password=admin
                                                login_tenant_name=admin tenant_name=tenant1
                                                network_name=network1 name=net1subnet cidr=192.168.0.0/24"