fixed results docs

reviewable/pr18780/r1
Brian Coca 9 years ago
parent 3af0d509c5
commit 5da7cf696c

@ -79,49 +79,51 @@ 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
description: Unique UUID. contains:
returned: success id:
type: string description: Unique UUID.
name: returned: success
description: Name given to the subnet. type: string
returned: success name:
type: string description: Name given to the subnet.
network_id: returned: success
description: Network ID this subnet belongs in. type: string
returned: success network_id:
type: string description: Network ID this subnet belongs in.
cidr: returned: success
description: Subnet's CIDR. type: string
returned: success cidr:
type: string description: Subnet's CIDR.
gateway_ip: returned: success
description: Subnet's gateway ip. type: string
returned: success gateway_ip:
type: string description: Subnet's gateway ip.
enable_dhcp: returned: success
description: DHCP enable flag for this subnet. type: string
returned: success enable_dhcp:
type: bool description: DHCP enable flag for this subnet.
ip_version: returned: success
description: IP version for this subnet. type: bool
returned: success ip_version:
type: int description: IP version for this subnet.
tenant_id: returned: success
description: Tenant id associated with this subnet. type: int
returned: success tenant_id:
type: string description: Tenant id associated with this subnet.
dns_nameservers: returned: success
description: DNS name servers for this subnet. type: string
returned: success dns_nameservers:
type: list of strings description: DNS name servers for this subnet.
allocation_pools: returned: success
description: Allocation pools associated with this subnet. type: list of strings
returned: success allocation_pools:
type: list of dicts description: Allocation pools associated with this subnet.
returned: success
type: list of dicts
''' '''
def main(): def main():

Loading…
Cancel
Save