commit 39f6f5f0453ba5c3f23aea26300af0fb71b40dc1
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 298187d131a3aa3162b75530b8f661edf4550101)
Reviewed: https:/ /review. openstack. org/320462 /git.openstack. org/cgit/ openstack/ python- fuelclient/ commit/ ?id=39f6f5f0453 ba5c3f23aea2630 0af0fb71b40dc1
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 39f6f5f0453ba5c 3f23aea26300af0 fb71b40dc1
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 162b75530b8f661 edf4550101)
Related-Bug: #1582136
Closes-Bug: #1582120
(cherry-picked from commit 298187d131a3aa3