Convert to reduced list of known types (#50010)

This commit is contained in:
Dag Wieers
2018-12-18 22:25:30 +01:00
committed by Jordan Borean
parent fcd1486b51
commit 05c6ff79f9
908 changed files with 4822 additions and 4821 deletions

View File

@@ -132,7 +132,7 @@ RETURN = '''
id:
description: The cluster UUID.
returned: On success when I(state) is 'present'
type: string
type: str
sample: "39007a7e-ee4f-4d13-8283-b4da2e037c69"
cluster_template:
description: Dictionary describing the template.
@@ -141,15 +141,15 @@ cluster_template:
contains:
coe:
description: The Container Orchestration Engine for this clustertemplate
type: string
type: str
sample: kubernetes
dns_nameserver:
description: The DNS nameserver address
type: string
type: str
sample: '8.8.8.8'
docker_storage_driver:
description: Docker storage driver
type: string
type: str
sample: devicemapper
docker_volume_size:
description: The size in GB of the docker volume
@@ -157,21 +157,21 @@ cluster_template:
sample: 5
external_network_id:
description: The external network to attach to the Cluster
type: string
type: str
sample: public
fixed_network:
description: The fixed network name to attach to the Cluster
type: string
type: str
sample: 07767ec6-85f5-44cb-bd63-242a8e7f0d9d
fixed_subnet:
description:
- The fixed subnet name to attach to the Cluster
type: string
type: str
sample: 05567ec6-85f5-44cb-bd63-242a8e7f0d9d
flavor_id:
description:
- The flavor of the minion node for this ClusterTemplate
type: string
type: str
sample: c1.c1r1
floating_ip_enabled:
description:
@@ -181,12 +181,12 @@ cluster_template:
keypair_id:
description:
- Name or ID of the keypair to use.
type: string
type: str
sample: mykey
image_id:
description:
- Image id the cluster will be based on
type: string
type: str
sample: 05567ec6-85f5-44cb-bd63-242a8e7f0e9d
labels:
description: One or more key/value pairs
@@ -196,18 +196,18 @@ cluster_template:
description:
- Address of a proxy that will receive all HTTP requests and relay them
The format is a URL including a port number
type: string
type: str
sample: http://10.0.0.11:9090
https_proxy:
description:
- Address of a proxy that will receive all HTTPS requests and relay
them. The format is a URL including a port number
type: string
type: str
sample: https://10.0.0.10:8443
master_flavor_id:
description:
- The flavor of the master node for this ClusterTemplate
type: string
type: str
sample: c1.c1r1
master_lb_enabled:
description:
@@ -218,18 +218,18 @@ cluster_template:
name:
description:
- Name that has to be given to the cluster template
type: string
type: str
sample: k8scluster
network_driver:
description:
- The name of the driver used for instantiating container networks
type: string
type: str
sample: calico
no_proxy:
description:
- A comma separated list of IPs for which proxies should not be
used in the cluster
type: string
type: str
sample: 10.0.0.4,10.0.0.5
public:
description:
@@ -244,7 +244,7 @@ cluster_template:
server_type:
description:
- Server type for this ClusterTemplate
type: string
type: str
sample: vm
tls_disabled:
description:
@@ -254,7 +254,7 @@ cluster_template:
volume_driver:
description:
- The name of the driver used for instantiating container volumes
type: string
type: str
sample: cinder
'''

View File

@@ -126,12 +126,12 @@ openstack_flavors:
id:
description: Flavor ID.
returned: success
type: string
type: str
sample: "515256b8-7027-4d73-aa54-4e30a4a4a339"
name:
description: Flavor name.
returned: success
type: string
type: str
sample: "tiny"
disk:
description: Size of local disk, in GB.

View File

@@ -78,19 +78,19 @@ group:
contains:
id:
description: Unique group ID
type: string
type: str
sample: "ee6156ff04c645f481a6738311aea0b0"
name:
description: Group name
type: string
type: str
sample: "demo"
description:
description: Group description
type: string
type: str
sample: "Demo Group"
domain_id:
description: Domain for the group
type: string
type: str
sample: "default"
'''

View File

@@ -68,27 +68,27 @@ openstack_image:
id:
description: Unique UUID.
returned: success
type: string
type: str
name:
description: Name given to the image.
returned: success
type: string
type: str
status:
description: Image status.
returned: success
type: string
type: str
created_at:
description: Image created at timestamp.
returned: success
type: string
type: str
deleted:
description: Image deleted flag.
returned: success
type: boolean
type: bool
container_format:
description: Container format of the image.
returned: success
type: string
type: str
min_ram:
description: Min amount of RAM required for this image.
returned: success
@@ -96,11 +96,11 @@ openstack_image:
disk_format:
description: Disk format of the image.
returned: success
type: string
type: str
updated_at:
description: Image updated at timestamp.
returned: success
type: string
type: str
properties:
description: Additional properties associated with the image.
returned: success
@@ -112,23 +112,23 @@ openstack_image:
protected:
description: Image protected flag.
returned: success
type: boolean
type: bool
checksum:
description: Checksum for the image.
returned: success
type: string
type: str
owner:
description: Owner for the image.
returned: success
type: string
type: str
is_public:
description: Is public flag of the image.
returned: success
type: boolean
type: bool
deleted_at:
description: Image deleted at timestamp.
returned: success
type: string
type: str
size:
description: Size of the image.
returned: success

View File

@@ -57,19 +57,19 @@ ansible_facts:
contains:
memory_mb:
description: Amount of node memory as updated in the node properties
type: string
type: str
sample: "1024"
cpu_arch:
description: Detected CPU architecture type
type: string
type: str
sample: "x86_64"
local_gb:
description: Total size of local disk storage as updaed in node properties.
type: string
type: str
sample: "10"
cpus:
description: Count of cpu cores defined in the updated node properties.
type: string
type: str
sample: "1"
'''

View File

@@ -65,20 +65,20 @@ RETURN = '''
id:
description: Unique UUID.
returned: success
type: string
type: str
name:
description: Name given to the keypair.
returned: success
type: string
type: str
public_key:
description: The public key value for the keypair.
returned: success
type: string
type: str
private_key:
description: The private key value for the keypair.
returned: Only when a keypair is generated for the user (e.g., when creating one
and a public key is not specified).
type: string
type: str
'''
from ansible.module_utils.basic import AnsibleModule

View File

@@ -73,25 +73,25 @@ domain:
contains:
id:
description: Domain ID.
type: string
type: str
sample: "474acfe5-be34-494c-b339-50f06aa143e4"
name:
description: Domain name.
type: string
type: str
sample: "demo"
description:
description: Domain description.
type: string
type: str
sample: "Demo Domain"
enabled:
description: Domain description.
type: boolean
type: bool
sample: True
id:
description: The domain ID.
returned: On success when I(state) is 'present'
type: string
type: str
sample: "474acfe5-be34-494c-b339-50f06aa143e4"
'''

View File

@@ -70,15 +70,15 @@ openstack_domains:
id:
description: Unique UUID.
returned: success
type: string
type: str
name:
description: Name given to the domain.
returned: success
type: string
type: str
description:
description: Description of the domain.
returned: success
type: string
type: str
enabled:
description: Flag to indicate if the domain is enabled.
returned: success

View File

@@ -82,27 +82,27 @@ endpoint:
contains:
id:
description: Endpoint ID.
type: string
type: str
sample: 3292f020780b4d5baf27ff7e1d224c44
region:
description: Region Name.
type: string
type: str
sample: RegionOne
service_id:
description: Service ID.
type: string
type: str
sample: b91f1318f735494a825a55388ee118f3
interface:
description: Endpoint Interface.
type: string
type: str
sample: public
url:
description: Service URL.
type: string
type: str
sample: http://controller:9292
enabled:
description: Service status.
type: boolean
type: bool
sample: True
'''

View File

@@ -63,11 +63,11 @@ role:
contains:
id:
description: Unique role ID.
type: string
type: str
sample: "677bfab34c844a01b88a217aa12ec4c2"
name:
description: Role name.
type: string
type: str
sample: "demo"
'''

View File

@@ -76,28 +76,28 @@ service:
contains:
id:
description: Service ID.
type: string
type: str
sample: "3292f020780b4d5baf27ff7e1d224c44"
name:
description: Service name.
type: string
type: str
sample: "glance"
service_type:
description: Service type.
type: string
type: str
sample: "image"
description:
description: Service description.
type: string
type: str
sample: "OpenStack Image Service"
enabled:
description: Service status.
type: boolean
type: bool
sample: True
id:
description: The service ID.
returned: On success when I(state) is 'present'
type: string
type: str
sample: "3292f020780b4d5baf27ff7e1d224c44"
'''

View File

@@ -63,7 +63,7 @@ RETURN = '''
id:
description: The listener UUID.
returned: On success when I(state) is 'present'
type: string
type: str
sample: "39007a7e-ee4f-4d13-8283-b4da2e037c69"
listener:
description: Dictionary describing the listener.
@@ -72,19 +72,19 @@ listener:
contains:
id:
description: Unique UUID.
type: string
type: str
sample: "39007a7e-ee4f-4d13-8283-b4da2e037c69"
name:
description: Name given to the listener.
type: string
type: str
sample: "test"
description:
description: The listener description.
type: string
type: str
sample: "description"
load_balancer_id:
description: The load balancer UUID this listener belongs to.
type: string
type: str
sample: "b32eef7e-d2a6-4ea4-a301-60a873f89b3b"
loadbalancers:
description: A list of load balancer IDs..
@@ -92,11 +92,11 @@ listener:
sample: [{"id": "b32eef7e-d2a6-4ea4-a301-60a873f89b3b"}]
provisioning_status:
description: The provisioning status of the listener.
type: string
type: str
sample: "ACTIVE"
operating_status:
description: The operating status of the listener.
type: string
type: str
sample: "ONLINE"
is_admin_state_up:
description: The administrative state of the listener.
@@ -104,7 +104,7 @@ listener:
sample: true
protocol:
description: The protocol for the listener.
type: string
type: str
sample: "HTTP"
protocol_port:
description: The protocol port number for the listener.

View File

@@ -134,7 +134,7 @@ RETURN = '''
id:
description: The load balancer UUID.
returned: On success when C(state=present)
type: string
type: str
sample: "39007a7e-ee4f-4d13-8283-b4da2e037c69"
loadbalancer:
description: Dictionary describing the load balancer.
@@ -143,39 +143,39 @@ loadbalancer:
contains:
id:
description: Unique UUID.
type: string
type: str
sample: "39007a7e-ee4f-4d13-8283-b4da2e037c69"
name:
description: Name given to the load balancer.
type: string
type: str
sample: "lingxian_test"
vip_network_id:
description: Network ID the load balancer virutal IP port belongs in.
type: string
type: str
sample: "f171db43-56fd-41cf-82d7-4e91d741762e"
vip_subnet_id:
description: Subnet ID the load balancer virutal IP port belongs in.
type: string
type: str
sample: "c53e3c70-9d62-409a-9f71-db148e7aa853"
vip_port_id:
description: The load balancer virutal IP port ID.
type: string
type: str
sample: "2061395c-1c01-47ab-b925-c91b93df9c1d"
vip_address:
description: The load balancer virutal IP address.
type: string
type: str
sample: "192.168.2.88"
public_vip_address:
description: The load balancer public VIP address.
type: string
type: str
sample: "10.17.8.254"
provisioning_status:
description: The provisioning status of the load balancer.
type: string
type: str
sample: "ACTIVE"
operating_status:
description: The operating status of the load balancer.
type: string
type: str
sample: "ONLINE"
is_admin_state_up:
description: The administrative state of the load balancer.

View File

@@ -64,7 +64,7 @@ RETURN = '''
id:
description: The member UUID.
returned: On success when I(state) is 'present'
type: string
type: str
sample: "39007a7e-ee4f-4d13-8283-b4da2e037c69"
member:
description: Dictionary describing the member.
@@ -73,23 +73,23 @@ member:
contains:
id:
description: Unique UUID.
type: string
type: str
sample: "39007a7e-ee4f-4d13-8283-b4da2e037c69"
name:
description: Name given to the member.
type: string
type: str
sample: "test"
description:
description: The member description.
type: string
type: str
sample: "description"
provisioning_status:
description: The provisioning status of the member.
type: string
type: str
sample: "ACTIVE"
operating_status:
description: The operating status of the member.
type: string
type: str
sample: "ONLINE"
is_admin_state_up:
description: The administrative state of the member.
@@ -101,11 +101,11 @@ member:
sample: 80
subnet_id:
description: The subnet ID the member service is accessible from.
type: string
type: str
sample: "489247fa-9c25-11e8-9679-00224d6b7bc1"
address:
description: The IP address of the backend member server.
type: string
type: str
sample: "192.168.2.10"
'''

View File

@@ -89,11 +89,11 @@ network:
contains:
id:
description: Network ID.
type: string
type: str
sample: "4bb4f9a5-3bd2-4562-bf6a-d17a6341bb56"
name:
description: Network name.
type: string
type: str
sample: "ext_network"
shared:
description: Indicates whether this network is shared across all tenants.
@@ -101,11 +101,11 @@ network:
sample: false
status:
description: Network status.
type: string
type: str
sample: "ACTIVE"
mtu:
description: The MTU of a network resource.
type: integer
type: int
sample: 0
admin_state_up:
description: The administrative state of the network.
@@ -121,7 +121,7 @@ network:
sample: true
tenant_id:
description: The tenant ID.
type: string
type: str
sample: "06820f94b9f54b119636be2728d216fc"
subnets:
description: The associated subnets.
@@ -129,15 +129,15 @@ network:
sample: []
"provider:physical_network":
description: The physical network where this network object is implemented.
type: string
type: str
sample: my_vlan_net
"provider:network_type":
description: The type of physical network that maps to this network resource.
type: string
type: str
sample: vlan
"provider:segmentation_id":
description: An isolated segment on the physical network.
type: string
type: str
sample: 101
'''

View File

@@ -94,15 +94,15 @@ openstack_networks:
id:
description: Unique UUID.
returned: success
type: string
type: str
name:
description: Name given to the network.
returned: success
type: string
type: str
status:
description: Network status.
returned: success
type: string
type: str
subnets:
description: Subnet(s) included in this network.
returned: success
@@ -110,11 +110,11 @@ openstack_networks:
tenant_id:
description: Tenant id associated with this network.
returned: success
type: string
type: str
shared:
description: Network shared flag.
returned: success
type: boolean
type: bool
'''
from ansible.module_utils.basic import AnsibleModule

View File

@@ -113,12 +113,12 @@ flavor:
id:
description: Flavor ID.
returned: success
type: string
type: str
sample: "515256b8-7027-4d73-aa54-4e30a4a4a339"
name:
description: Flavor name.
returned: success
type: string
type: str
sample: "tiny"
disk:
description: Size of local disk, in GB.

View File

@@ -68,7 +68,7 @@ RETURN = '''
id:
description: The pool UUID.
returned: On success when I(state) is 'present'
type: string
type: str
sample: "39007a7e-ee4f-4d13-8283-b4da2e037c69"
listener:
description: Dictionary describing the pool.
@@ -77,15 +77,15 @@ listener:
contains:
id:
description: Unique UUID.
type: string
type: str
sample: "39007a7e-ee4f-4d13-8283-b4da2e037c69"
name:
description: Name given to the pool.
type: string
type: str
sample: "test"
description:
description: The pool description.
type: string
type: str
sample: "description"
loadbalancers:
description: A list of load balancer IDs.
@@ -101,19 +101,19 @@ listener:
sample: [{"id": "b32eef7e-d2a6-4ea4-a301-60a873f89b3b"}]
loadbalancer_id:
description: The load balancer ID the pool belongs to. This field is set when the pool doesn't belong to any listener in the load balancer.
type: string
type: str
sample: "7c4be3f8-9c2f-11e8-83b3-44a8422643a4"
listener_id:
description: The listener ID the pool belongs to.
type: string
type: str
sample: "956aa716-9c2f-11e8-83b3-44a8422643a4"
provisioning_status:
description: The provisioning status of the pool.
type: string
type: str
sample: "ACTIVE"
operating_status:
description: The operating status of the pool.
type: string
type: str
sample: "ONLINE"
is_admin_state_up:
description: The administrative state of the pool.
@@ -121,11 +121,11 @@ listener:
sample: true
protocol:
description: The protocol for the pool.
type: string
type: str
sample: "HTTP"
lb_algorithm:
description: The load balancing algorithm for the pool.
type: string
type: str
sample: "ROUND_ROBIN"
'''

View File

@@ -148,15 +148,15 @@ RETURN = '''
id:
description: Unique UUID.
returned: success
type: string
type: str
name:
description: Name given to the port.
returned: success
type: string
type: str
network_id:
description: Network ID this port belongs in.
returned: success
type: string
type: str
security_groups:
description: Security group(s) associated with this port.
returned: success
@@ -164,7 +164,7 @@ security_groups:
status:
description: Port's status.
returned: success
type: string
type: str
fixed_ips:
description: Fixed ip(s) associated with this port.
returned: success
@@ -172,7 +172,7 @@ fixed_ips:
tenant_id:
description: Tenant id associated with this port.
returned: success
type: string
type: str
allowed_address_pairs:
description: Allowed address pairs with this port.
returned: success

View File

@@ -70,7 +70,7 @@ openstack_ports:
description: The administrative state of the router, which is
up (true) or down (false).
returned: success
type: boolean
type: bool
sample: true
allowed_address_pairs:
description: A set of zero or more allowed address pairs. An
@@ -81,7 +81,7 @@ openstack_ports:
"binding:host_id":
description: The UUID of the host where the port is allocated.
returned: success
type: string
type: str
sample: "b4bd682d-234a-4091-aa5b-4b025a6a7759"
"binding:profile":
description: A dictionary the enables the application running on
@@ -106,17 +106,17 @@ openstack_ports:
description: The virtual network interface card (vNIC) type that is
bound to the neutron port.
returned: success
type: string
type: str
sample: "normal"
device_id:
description: The UUID of the device that uses this port.
returned: success
type: string
type: str
sample: "b4bd682d-234a-4091-aa5b-4b025a6a7759"
device_owner:
description: The UUID of the entity that uses this port.
returned: success
type: string
type: str
sample: "network:router_interface"
dns_assignment:
description: DNS assignment information.
@@ -125,7 +125,7 @@ openstack_ports:
dns_name:
description: DNS name
returned: success
type: string
type: str
sample: ""
extra_dhcp_opts:
description: A set of zero or more extra DHCP option pairs.
@@ -141,32 +141,32 @@ openstack_ports:
id:
description: The UUID of the port.
returned: success
type: string
type: str
sample: "3ec25c97-7052-4ab8-a8ba-92faf84148de"
ip_address:
description: The IP address.
returned: success
type: string
type: str
sample: "127.0.0.1"
mac_address:
description: The MAC address.
returned: success
type: string
type: str
sample: "00:00:5E:00:53:42"
name:
description: The port name.
returned: success
type: string
type: str
sample: "port_name"
network_id:
description: The UUID of the attached network.
returned: success
type: string
type: str
sample: "dd1ede4f-3952-4131-aab6-3b8902268c7d"
port_security_enabled:
description: The port security status. The status is enabled (true) or disabled (false).
returned: success
type: boolean
type: bool
sample: false
security_groups:
description: The UUIDs of any attached security groups.
@@ -175,12 +175,12 @@ openstack_ports:
status:
description: The port status.
returned: success
type: string
type: str
sample: "ACTIVE"
tenant_id:
description: The UUID of the tenant who owns the network.
returned: success
type: string
type: str
sample: "51fce036d7984ba6af4f6c849f65ef00"
'''

View File

@@ -82,15 +82,15 @@ project:
contains:
id:
description: Project ID
type: string
type: str
sample: "f59382db809c43139982ca4189404650"
name:
description: Project name
type: string
type: str
sample: "demoproject"
description:
description: Project description
type: string
type: str
sample: "demodescription"
enabled:
description: Boolean to indicate if project is enabled

View File

@@ -83,12 +83,12 @@ flavor:
id:
description: Flavor ID.
returned: success
type: string
type: str
sample: "515256b8-7027-4d73-aa54-4e30a4a4a339"
name:
description: Flavor name.
returned: success
type: string
type: str
sample: "tiny"
'''

View File

@@ -83,15 +83,15 @@ openstack_projects:
id:
description: Unique UUID.
returned: success
type: string
type: str
name:
description: Name given to the project.
returned: success
type: string
type: str
description:
description: Description of the project
returned: success
type: string
type: str
enabled:
description: Flag to indicate if the project is enabled
returned: success

View File

@@ -94,23 +94,23 @@ recordset:
contains:
id:
description: Unique recordset ID
type: string
type: str
sample: "c1c530a3-3619-46f3-b0f6-236927b2618c"
name:
description: Recordset name
type: string
type: str
sample: "www.example.net."
zone_id:
description: Zone id
type: string
type: str
sample: 9508e177-41d8-434e-962c-6fe6ca880af7
type:
description: Recordset type
type: string
type: str
sample: "A"
description:
description: Recordset description
type: string
type: str
sample: "Test description"
ttl:
description: Zone TTL value

View File

@@ -169,27 +169,27 @@ router:
contains:
id:
description: Router ID.
type: string
type: str
sample: "474acfe5-be34-494c-b339-50f06aa143e4"
name:
description: Router name.
type: string
type: str
sample: "router1"
admin_state_up:
description: Administrative state of the router.
type: boolean
type: bool
sample: true
status:
description: The router status.
type: string
type: str
sample: "ACTIVE"
tenant_id:
description: The tenant ID.
type: string
type: str
sample: "861174b82b43463c9edc5202aadc60ef"
external_gateway_info:
description: The external gateway parameters.
type: dictionary
type: dict
sample: {
"enable_snat": true,
"external_fixed_ips": [

View File

@@ -132,16 +132,16 @@ EXAMPLES = '''
RETURN = '''
id:
description: Unique rule UUID.
type: string
type: str
returned: state == present
direction:
description: The direction in which the security group rule is applied.
type: string
type: str
sample: 'egress'
returned: state == present
ethertype:
description: One of IPv4 or IPv6.
type: string
type: str
sample: 'IPv4'
returned: state == present
port_range_min:
@@ -158,17 +158,17 @@ port_range_max:
returned: state == present
protocol:
description: The protocol that is matched by the security group rule.
type: string
type: str
sample: 'tcp'
returned: state == present
remote_ip_prefix:
description: The remote IP prefix to be associated with this security group rule.
type: string
type: str
sample: '0.0.0.0/0'
returned: state == present
security_group_id:
description: The security group ID to associate with this security group rule.
type: string
type: str
returned: state == present
'''

View File

@@ -77,11 +77,11 @@ RETURN = '''
id:
description: Unique UUID.
returned: success
type: string
type: str
name:
description: The name of the server group.
returned: success
type: string
type: str
policies:
description: A list of one or more policy names of the server group.
returned: success
@@ -97,11 +97,11 @@ metadata:
project_id:
description: The project ID who owns the server group.
returned: success
type: string
type: str
user_id:
description: The user ID who owns the server group.
returned: success
type: string
type: str
'''
from ansible.module_utils.basic import AnsibleModule

View File

@@ -87,7 +87,7 @@ RETURN = '''
server_id:
description: The compute instance id where the change was made
returned: success
type: string
type: str
sample: "324c4e91-3e03-4f62-9a4d-06119a8a8d16"
metadata:
description: The metadata of compute instance after the change

View File

@@ -92,7 +92,7 @@ EXAMPLES = '''
RETURN = '''
id:
description: Stack ID.
type: string
type: str
sample: "97a3f543-8136-4570-920e-fd7605c989d6"
returned: always
@@ -103,27 +103,27 @@ stack:
contains:
action:
description: Action, could be Create or Update.
type: string
type: str
sample: "CREATE"
creation_time:
description: Time when the action has been made.
type: string
type: str
sample: "2016-07-05T17:38:12Z"
description:
description: Description of the Stack provided in the heat template.
type: string
type: str
sample: "HOT template to create a new instance and networks"
id:
description: Stack ID.
type: string
type: str
sample: "97a3f543-8136-4570-920e-fd7605c989d6"
name:
description: Name of the Stack
type: string
type: str
sample: "test-stack"
identifier:
description: Identifier of the current Stack action.
type: string
type: str
sample: "test-stack/97a3f543-8136-4570-920e-fd7605c989d6"
links:
description: Links to the current Stack.

View File

@@ -93,23 +93,23 @@ openstack_subnets:
id:
description: Unique UUID.
returned: success
type: string
type: str
name:
description: Name given to the subnet.
returned: success
type: string
type: str
network_id:
description: Network ID this subnet belongs in.
returned: success
type: string
type: str
cidr:
description: Subnet's CIDR.
returned: success
type: string
type: str
gateway_ip:
description: Subnet's gateway ip.
returned: success
type: string
type: str
enable_dhcp:
description: DHCP enable flag for this subnet.
returned: success
@@ -121,7 +121,7 @@ openstack_subnets:
tenant_id:
description: Tenant id associated with this subnet.
returned: success
type: string
type: str
dns_nameservers:
description: DNS name servers for this subnet.
returned: success

View File

@@ -117,23 +117,23 @@ user:
contains:
default_project_id:
description: User default project ID. Only present with Keystone >= v3.
type: string
type: str
sample: "4427115787be45f08f0ec22a03bfc735"
domain_id:
description: User domain ID. Only present with Keystone >= v3.
type: string
type: str
sample: "default"
email:
description: User email address
type: string
type: str
sample: "demo@example.com"
id:
description: User ID
type: string
type: str
sample: "f59382db809c43139982ca4189404650"
name:
description: User name
type: string
type: str
sample: "demouser"
'''
from distutils.version import StrictVersion

View File

@@ -83,11 +83,11 @@ openstack_users:
id:
description: Unique UUID.
returned: success
type: string
type: str
name:
description: Name given to the user.
returned: success
type: string
type: str
enabled:
description: Flag to indicate if the user is enabled
returned: success
@@ -95,19 +95,19 @@ openstack_users:
domain_id:
description: Domain ID containing the user
returned: success
type: string
type: str
default_project_id:
description: Default project ID of the user
returned: success
type: string
type: str
email:
description: Email of the user
returned: success
type: string
type: str
username:
description: Username of the user
returned: success
type: string
type: str
'''
from ansible.module_utils.basic import AnsibleModule

View File

@@ -89,23 +89,23 @@ zone:
contains:
id:
description: Unique zone ID
type: string
type: str
sample: "c1c530a3-3619-46f3-b0f6-236927b2618c"
name:
description: Zone name
type: string
type: str
sample: "example.net."
type:
description: Zone type
type: string
type: str
sample: "PRIMARY"
email:
description: Zone owner email
type: string
type: str
sample: "test@example.net"
description:
description: Zone description
type: string
type: str
sample: "Test description"
ttl:
description: Zone TTL value