commit 298187d131a3aa3162b75530b8f661edf4550101
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}]'
Reviewed: https:/ /review. openstack. org/318000 /git.openstack. org/cgit/ openstack/ python- fuelclient/ commit/ ?id=298187d131a 3aa3162b75530b8 f661edf4550101
Committed: https:/
Submitter: Jenkins
Branch: master
commit 298187d131a3aa3 162b75530b8f661 edf4550101
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
Related-Bug: #1582136
Closes-Bug: #1582120