commit d0f6840a48f6c3aafa6aafae38439ead364ff831
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/351604 /git.openstack. org/cgit/ openstack/ python- fuelclient/ commit/ ?id=d0f6840a48f 6c3aafa6aafae38 439ead364ff831
Committed: https:/
Submitter: Jenkins
Branch: stable/8.0
commit d0f6840a48f6c3a afa6aafae38439e ad364ff831
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}]'
Conflicts: /commands/ node.py /tests/ unit/common/ test_utils. py
fuelclient
fuelclient
Change-Id: I50e961c1afce91 fd1c43d1fdcf643 6a08a20c2be 3f23aea26300af0 fb71b40dc1)
Related-Bug: #1582136
Closes-Bug: #1582120
(cherry-picked from commit 39f6f5f0453ba5c