diff options
author | Takashi NATSUME <natsume.takashi@lab.ntt.co.jp> | 2018-11-21 13:38:01 +0900 |
---|---|---|
committer | Takashi NATSUME <natsume.takashi@lab.ntt.co.jp> | 2018-11-21 13:39:59 +0900 |
commit | 1df18e2d99d397bd3f0a8e5d21ba2d68b106e9a6 (patch) | |
tree | 1d4ef8b7d8b104b3416cad1aa1fc59769dc04377 | |
parent | 58b3ac457aa817da28c757b4845bc39e565139dd (diff) | |
download | python-novaclient-1df18e2d99d397bd3f0a8e5d21ba2d68b106e9a6.tar.gz |
Fix a type of block_device_mapping_v2 in a comment
Change-Id: I9c74402fbc4b2390b64265c6f174bc7e343900cc
Closes-Bug: #1804198
-rw-r--r-- | novaclient/v2/servers.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/novaclient/v2/servers.py b/novaclient/v2/servers.py index e94f3567..98f22ba2 100644 --- a/novaclient/v2/servers.py +++ b/novaclient/v2/servers.py @@ -710,6 +710,7 @@ class ServerManager(base.BootingManagerWithFind): body["server"]["availability_zone"] = availability_zone # Block device mappings are passed as a list of dictionaries + # in the create API if block_device_mapping: body['server']['block_device_mapping'] = \ self._parse_block_device_mapping(block_device_mapping) @@ -1229,8 +1230,8 @@ class ServerManager(base.BootingManagerWithFind): placement. :param block_device_mapping: (optional extension) A dict of block device mappings for this server. - :param block_device_mapping_v2: (optional extension) A dict of block - device mappings for this server. + :param block_device_mapping_v2: (optional extension) A list of block + device mappings (dicts) for this server. :param nics: An ordered list of nics (dicts) to be added to this server, with information about connected networks, fixed IPs, port etc. |