doc fixes

reviewable/pr18780/r1
Brian Coca 10 years ago
parent 3496bac18d
commit 9a216915e9

@ -30,7 +30,7 @@ DOCUMENTATION = '''
module: os_server_volume module: os_server_volume
short_description: Attach/Detach Volumes from OpenStack VM's short_description: Attach/Detach Volumes from OpenStack VM's
extends_documentation_fragment: openstack extends_documentation_fragment: openstack
version_added: "1.10" version_added: "2.0"
description: description:
- Attach or Detach volumes from OpenStack VM's - Attach or Detach volumes from OpenStack VM's
options: options:
@ -39,11 +39,11 @@ options:
- Should the resource be present or absent. - Should the resource be present or absent.
choices: [present, absent] choices: [present, absent]
default: present default: present
required: false
server: server:
description: description:
- Name or ID of server you want to attach a volume to - Name or ID of server you want to attach a volume to
required: true required: true
default: None
volume: volume:
description: description:
- Name or id of volume you want to attach to a server - Name or id of volume you want to attach to a server

@ -28,7 +28,7 @@ DOCUMENTATION = '''
module: os_subnet module: os_subnet
short_description: Add/Remove subnet to an OpenStack network short_description: Add/Remove subnet to an OpenStack network
extends_documentation_fragment: openstack extends_documentation_fragment: openstack
version_added: "1.10" version_added: "2.0"
description: description:
- Add or Remove a subnet to an OpenStack network - Add or Remove a subnet to an OpenStack network
options: options:
@ -36,6 +36,7 @@ options:
description: description:
- Indicate desired state of the resource - Indicate desired state of the resource
choices: ['present', 'absent'] choices: ['present', 'absent']
required: false
default: present default: present
network_name: network_name:
description: description:
@ -52,6 +53,7 @@ options:
- The CIDR representation of the subnet that should be assigned to - The CIDR representation of the subnet that should be assigned to
the subnet. the subnet.
required: true when state is 'present' required: true when state is 'present'
default: None
ip_version: ip_version:
description: description:
- The IP version of the subnet 4 or 6 - The IP version of the subnet 4 or 6

@ -28,7 +28,7 @@ DOCUMENTATION = '''
module: os_volume module: os_volume
short_description: Create/Delete Cinder Volumes short_description: Create/Delete Cinder Volumes
extends_documentation_fragment: openstack extends_documentation_fragment: openstack
version_added: "1.10" version_added: "2.0"
description: description:
- Create or Remove cinder block storage volumes - Create or Remove cinder block storage volumes
options: options:
@ -41,7 +41,6 @@ options:
description: description:
- Name of volume - Name of volume
required: true required: true
default: None
display_description: display_description:
description: description:
- String describing the volume - String describing the volume
@ -53,7 +52,7 @@ options:
required: false required: false
default: None default: None
image: image:
descritpion: description:
- Image name or id for boot from volume - Image name or id for boot from volume
required: false required: false
default: None default: None

Loading…
Cancel
Save