ANSIBLE.QUANTUM_SUBNET(3)

NAME
quantum_subnet - Add/Remove floating IP from an instance

DESCRIPTION

Add or Remove a floating IP to an instance

OPTIONS

allocation_pool_end
    From the subnet pool the last IP that should be assigned to the virtual machines (default: None)

allocation_pool_start
    From the subnet pool the starting address from which the IP should be allocated (default: None)

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

cidr
    The CIDR representation of the subnet that should be assigned to the subnet(required) (default: None)

enable_dhcp
    Whether DHCP should be enabled for this subnet. (default: yes

gateway_ip
    The ip that would be assigned to the gateway for this subnet (default: None)

ip_version
    The IP version of the subnet 4 or 6 (default: 4)

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 network to which the subnet should be attached(required) (default: None)

region_name
    Name of the region (default: None)

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

tenant_name
    The name of the tenant for whom the subnet should be created (default: None)."
    # 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"

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