commit 9bed2eaa4517edb2a15a6778a1c484bcad1b0c75
Author: Alexander Saprykin <email address hidden>
Date: Wed May 18 13:27:25 2016 +0200
Allow passing list of dicts for create-vms-conf command
Previous implementation of command "fuel2 node create-vms-conf"
didn't allow using list of dicts for --conf parameter. It required
to use multiple arguments like:
--conf '{"id": 1}' '{"id": 2}'
which is non obvious for user and inconsistent with UI (in UI
user sees list of dicts).
This patch introduces new possibility to pass parameters
as json list:
--conf '[{"id": 1}, {"id": 2}]'
Change-Id: I50e961c1afce91fd1c43d1fdcf6436a08a20c2be
Related-Bug: #1582136
Closes-Bug: #1582120
(cherry-picked from commit d0f6840a48f6c3aafa6aafae38439ead364ff831)
Reviewed: https:/ /review. openstack. org/351615 /git.openstack. org/cgit/ openstack/ python- fuelclient/ commit/ ?id=9bed2eaa451 7edb2a15a6778a1 c484bcad1b0c75
Committed: https:/
Submitter: Jenkins
Branch: stable/7.0
commit 9bed2eaa4517edb 2a15a6778a1c484 bcad1b0c75
Author: Alexander Saprykin <email address hidden>
Date: Wed May 18 13:27:25 2016 +0200
Allow passing list of dicts for create-vms-conf command
Previous implementation of command "fuel2 node create-vms-conf"
didn't allow using list of dicts for --conf parameter. It required
to use multiple arguments like:
--conf '{"id": 1}' '{"id": 2}'
which is non obvious for user and inconsistent with UI (in UI
user sees list of dicts).
This patch introduces new possibility to pass parameters
as json list:
--conf '[{"id": 1}, {"id": 2}]'
Change-Id: I50e961c1afce91 fd1c43d1fdcf643 6a08a20c2be afa6aafae38439e ad364ff831)
Related-Bug: #1582136
Closes-Bug: #1582120
(cherry-picked from commit d0f6840a48f6c3a