In a cluster, nodes can have differnet profiles.
So here the profile id or name is a default profile.
Change-Id: Ifce8ed47d3270203f08db5df2901fd54d918ec0a
This patch add receiver update operation,
Then user cloud run 'receiver-update' command.
use receiver-update change has exist receiver name,action and params.
Implements: blueprint add-receiver-update
Depends-On: I228edd1f5ada5b91e82ef04c95e9a7fa2b7de305
Change-Id: I8adaef75c18b93ec46d95e91f2058f6a4b8d4608
Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
This patch add senlinclient support display senlin service status
Change-Id: I8ea92d425d0a0ce5913abafba5d66fdf3d09b80f
Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
cluster-show command returned a redundant value named is_profile_only,
this path removed the redundant value because it is not a attr belong
to cluster.
Change-Id: Ic11d0b8ea8eb07a0bbe3b3e125b1ba7d34663784
Closes-Bug: #1693156
This patch add a param 'check' to cluster-recover command.
Then user could choise whether the cluster should check it's nodes
status before doing cluster-recover action.
partial-blueprint: check-before-do-cluster-recover
Change-Id: I390c604c15d8fa841a44d905793198b09dbaf08e
This patch add a parameter 'check' to node-recover command.
Then user could choice whether check physical resource status before do
node-recover action.
partial-blueprint: refresh-status-before-do-node-recover
Change-Id: I94e33351593ffc49458ad85abde8acba5dc972e9
This path revises cluster-update command.
The command could support 'profile-only' parameter.
partial-blueprint: add-profile-only-to-cluster-update
Change-Id: Ibf2e4d67abe76b92a508a3e22e5c528d53cde5a4
Signed-off-by: chohoor <chohoor@gmail.com>
As mentioned in [1], we should avoid using six.itervalues.
We can use dict.values instead.
[1]https://wiki.openstack.org/wiki/Python3
Change-Id: I0e6319adb8c84b88df0240cc0a5e8490d9352dd1
The spec file should be of the profile to be validated, not created,
which is copied from profile create.
Change-Id: Idd7b5426da45ca93c9405fd860c47178ffa1a399
We have supported metadata clean before.This patch adds
help for this function.
Change-Id: I0aba991202ec6053228678dea63ac15679cfd92b
Depends-On:Id541b209b2e0a67a5243ccc3099ed3f5a8d13460
Currently when updating a resource, the 'id' is not allowed to be
in the request body, openstacksdk is can not checking whether 'ID'
is legal or not. So pass an object to openstacksdk to get through.
Change-Id: I3b52ef9ceaa75ab28c3bb52a314b044fa51e6dda
Senlin is going to switch to openstackclient after Apr,2017.
The corresponding command in openstackclient is cluster shrink
and cluster expand not quite familiar with python-senlinclient.
So it's better to correct deprecation in scale-in and scale-out
commands to inform user with the going change.
Change-Id: I29a277fa91a029a029512b1ff9f163fe51ed388b
closes-bug:#1645249
The help of argument "id" is copied from "policy-update".
This patch will fix it.
Change-Id: Ia64305ae4887eee2b0dfb650b64e0d549f4fcd63
Closes-Bug: #1644750
This patch fixes the issue that project_id is wrong when using
`senlin xyz_list -g`.
Depends-On: If5b14270fd339c199261e803d953e8dda6ef3151
Change-Id: I4cf47a8f09b5f5359c085f828333757db01ad3d0
Formatter of "attr_value" is error, which will cause "ValueError"
when doing print_list. This patch changes its formatter from
"json_formatter" to "lambda x: utils.json_formatter(x.attr_value)"
Change-Id: Ie058b034ab27b8600ebad07429012c3fea671775
Closes-Bug: #1643454
In the help info, the default value of "--list" is True,
but actually it is False.
Change-Id: I7d10e4e1d467fd2ea476e3a1d05524ba4b52e2b1
Closes-Bug: #1643441
In python-openstacksdk, senlin-api,senlin-engine layers,
"global_project" option has been support for action-list.
But in senlin client and db layer this hasn't been supported.
This patch Add "global_project" arguments for action-list in
senlinclient.
Depends-On: I064422a2b7058a1353206ab0978fe8ce0bffd732
Change-Id: Iaae58e8121e20789d072d5acbe28921ec255a8e0
There is no command named 'openstack cluster node members list',
it should be 'openstack cluster members list'.
Change-Id: I2d301b01fba5cea94d39a8eba999533edc122b93
The value of args.enabled must change from string to bool
Revise the related unit test
Change-Id: Id297a26799ddad00221ef71f2e6c2f70b8e21ede
Closed-Bug: 1639687