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 (added in Ansible 1.4) | |
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 | |
name | yes | None | The name of the subnet that should be created | |
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 |
|
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