|
|
@ -79,46 +79,48 @@ EXAMPLES = '''
|
|
|
|
'''
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|
RETURN = '''
|
|
|
|
RETURN = '''
|
|
|
|
This module registers subnet details in facts named openstack_subnets. If a
|
|
|
|
openstack_subnets:
|
|
|
|
subnet name/id and or filter does not result in a subnet found, an empty list
|
|
|
|
description: has all the openstack facts about the subnets
|
|
|
|
is set in openstack_subnets.
|
|
|
|
returned: always, but can be null
|
|
|
|
id:
|
|
|
|
type: complex
|
|
|
|
|
|
|
|
contains:
|
|
|
|
|
|
|
|
id:
|
|
|
|
description: Unique UUID.
|
|
|
|
description: Unique UUID.
|
|
|
|
returned: success
|
|
|
|
returned: success
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
|
name:
|
|
|
|
name:
|
|
|
|
description: Name given to the subnet.
|
|
|
|
description: Name given to the subnet.
|
|
|
|
returned: success
|
|
|
|
returned: success
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
|
network_id:
|
|
|
|
network_id:
|
|
|
|
description: Network ID this subnet belongs in.
|
|
|
|
description: Network ID this subnet belongs in.
|
|
|
|
returned: success
|
|
|
|
returned: success
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
|
cidr:
|
|
|
|
cidr:
|
|
|
|
description: Subnet's CIDR.
|
|
|
|
description: Subnet's CIDR.
|
|
|
|
returned: success
|
|
|
|
returned: success
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
|
gateway_ip:
|
|
|
|
gateway_ip:
|
|
|
|
description: Subnet's gateway ip.
|
|
|
|
description: Subnet's gateway ip.
|
|
|
|
returned: success
|
|
|
|
returned: success
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
|
enable_dhcp:
|
|
|
|
enable_dhcp:
|
|
|
|
description: DHCP enable flag for this subnet.
|
|
|
|
description: DHCP enable flag for this subnet.
|
|
|
|
returned: success
|
|
|
|
returned: success
|
|
|
|
type: bool
|
|
|
|
type: bool
|
|
|
|
ip_version:
|
|
|
|
ip_version:
|
|
|
|
description: IP version for this subnet.
|
|
|
|
description: IP version for this subnet.
|
|
|
|
returned: success
|
|
|
|
returned: success
|
|
|
|
type: int
|
|
|
|
type: int
|
|
|
|
tenant_id:
|
|
|
|
tenant_id:
|
|
|
|
description: Tenant id associated with this subnet.
|
|
|
|
description: Tenant id associated with this subnet.
|
|
|
|
returned: success
|
|
|
|
returned: success
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
|
dns_nameservers:
|
|
|
|
dns_nameservers:
|
|
|
|
description: DNS name servers for this subnet.
|
|
|
|
description: DNS name servers for this subnet.
|
|
|
|
returned: success
|
|
|
|
returned: success
|
|
|
|
type: list of strings
|
|
|
|
type: list of strings
|
|
|
|
allocation_pools:
|
|
|
|
allocation_pools:
|
|
|
|
description: Allocation pools associated with this subnet.
|
|
|
|
description: Allocation pools associated with this subnet.
|
|
|
|
returned: success
|
|
|
|
returned: success
|
|
|
|
type: list of dicts
|
|
|
|
type: list of dicts
|
|
|
|