openstack-python-openstackc.../openstackclient/compute/v2
Stephen Finucane d3bd0146ae compute: Add support for loading BDMs from files
The syntax of the '--block-device' parameter is complex and easily
screwed up. Allow users to load a block device config from a file. For
example:

  $ openstack server create ... --block-device file:///tmp/bdm.json ...

This should alleviate the pain that is BDMv2 somewhat.

No functional tests are provided since we already have tests for the CSV
style of passing parameters and the unit tests show that the net result
is the same.

Change-Id: I3e3299bbdbbb343863b4c14fb4d9196ff3e1698d
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2021-03-05 13:11:09 +00:00
..
__init__.py Remove copyright from empty files 2014-01-20 17:28:13 +04:00
agent.py trivial: Document removal of support for agents 2020-11-17 11:44:31 +00:00
aggregate.py trivial: Use plural for appended parameters 2021-01-06 12:02:57 +00:00
console.py Switch console url show operations to SDK 2020-10-24 10:19:52 +02:00
flavor.py trivial: Use plural for appended parameters 2021-01-06 12:02:57 +00:00
host.py compute: host: expand kwargs in host_set() call 2018-07-20 10:37:34 +02:00
hypervisor.py compute: Add missing options for 'hypervisor list' 2021-01-12 17:07:23 +00:00
hypervisor_stats.py Replace six.iteritems() with .items() 2020-01-09 18:41:29 +09:00
keypair.py compute: Add missing options for 'keypair list' 2021-01-08 12:14:43 +00:00
server.py compute: Add support for loading BDMs from files 2021-03-05 13:11:09 +00:00
server_backup.py Remove oslo.utils 2020-10-12 17:29:57 +01:00
server_event.py compute: Add missing options for 'server event list' 2021-01-21 11:00:31 +00:00
server_group.py compute: Add missing options for 'server group list' 2021-01-21 10:58:41 +00:00
server_image.py compute: Add missing options for 'server image create' 2021-01-08 12:14:43 +00:00
server_volume.py compute: Add 'server volume update' command 2021-01-12 16:29:07 +00:00
service.py Document 2.53 behavior for compute service list/delete 2019-08-20 15:38:59 +00:00
usage.py compute: Fix 'usage * -f yaml' output 2021-01-06 12:02:25 +00:00