Misc. rST fixes

This commit is contained in:
Seth House 2013-11-11 15:52:25 -07:00
parent ee0dd1a669
commit 4701c25bbc
3 changed files with 8 additions and 5 deletions

View File

@ -756,8 +756,9 @@ def list_availability_zones():
def block_device_mappings(vm_):
'''
Return the block device mapping
e.g. [{'DeviceName': '/dev/sdb', 'VirtualName': 'ephemeral0'},
Return the block device mapping::
[{'DeviceName': '/dev/sdb', 'VirtualName': 'ephemeral0'},
{'DeviceName': '/dev/sdc', 'VirtualName': 'ephemeral1'}]
'''
return config.get_config_value(

View File

@ -423,12 +423,13 @@ def create_node(**kwargs):
def destroy(name, call=None):
'''
destroy a machine by name
:param name: name given to the machine
:param call: call value in this case is 'action'
:return: array of booleans , true if successful;ly stopped and true if
successfully removed
CLI Example:
CLI Example::
salt-cloud -d vm_name

View File

@ -227,8 +227,9 @@ def iam_profile(vm_):
def block_device_mappings(vm_):
'''
Return the block device mapping
e.g. [{'DeviceName': '/dev/sdb', 'VirtualName': 'ephemeral0'},
Return the block device mapping::
[{'DeviceName': '/dev/sdb', 'VirtualName': 'ephemeral0'},
{'DeviceName': '/dev/sdc', 'VirtualName': 'ephemeral1'}]
'''
return config.get_config_value(