diff --git a/cloud/openstack/os_port.py b/cloud/openstack/os_port.py index 8564b07c914..2ee1ab568a6 100644 --- a/cloud/openstack/os_port.py +++ b/cloud/openstack/os_port.py @@ -33,7 +33,7 @@ description: - Add, Update or Remove ports from an OpenStack cloud. A state=present, will ensure the port is created or updated if required. options: - network: + network: description: - Network ID or name this port belongs to. required: true @@ -72,22 +72,22 @@ options: default: False allowed_address_pairs: description: - - Allowed address pairs list. Allowed address pairs are supported with + - "Allowed address pairs list. Allowed address pairs are supported with dictionary structure. e.g. allowed_address_pairs: - ip_address: 10.1.0.12 mac_address: ab:cd:ef:12:34:56 - - ip_address: ... + - ip_address: ..." required: false default: None extra_dhcp_opt: description: - - Extra dhcp options to be assigned to this port. Extra options are + - "Extra dhcp options to be assigned to this port. Extra options are supported with dictionary structure. e.g. extra_dhcp_opt: - opt_name: opt name1 opt_value: value1 - - opt_name: ... + - opt_name: ..." required: false default: None device_owner: diff --git a/cloud/openstack/os_server.py b/cloud/openstack/os_server.py index 55d841ce7d5..433dd5c58e7 100644 --- a/cloud/openstack/os_server.py +++ b/cloud/openstack/os_server.py @@ -110,9 +110,9 @@ options: default: None meta: description: - - A list of key value pairs that should be provided as a metadata to + - 'A list of key value pairs that should be provided as a metadata to the new instance or a string containing a list of key-value pairs. - Eg: meta: "key1=value1,key2=value2" + Eg: meta: "key1=value1,key2=value2"' required: false default: None wait: diff --git a/cloud/openstack/os_subnets_facts.py b/cloud/openstack/os_subnets_facts.py index ca94aa187f9..220d2a239c4 100644 --- a/cloud/openstack/os_subnets_facts.py +++ b/cloud/openstack/os_subnets_facts.py @@ -79,7 +79,7 @@ EXAMPLES = ''' ''' RETURN = ''' -This module registers subnet details in facts named: openstack_subnets. If a +This module registers subnet details in facts named openstack_subnets. If a subnet name/id and or filter does not result in a subnet found, an empty list is set in openstack_subnets. id: