1 Better to use command.Lister;
2 Revise to `openstack cluster service list`
3 Indeed, this command can't work now, implement it.
Closes-Bug: #1705321
Change-Id: I5986751ba6d8a0b33c3c3d53e1efd93f7003d028
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>
This patch fixes problem found after sdk version 0.9.1 which includes a
new implementation of senlin cluster resources.
Change-Id: I67b265731f34080df85233dac09c1256f43aecdb
During my review of the project, I corrected these typos
to make it more clear. If we will generate docs based on
the code, this will help.
Change-Id: Iee3d9210431e0489c4872637fe04409fe0addc0e
This patch adds link to Senlin API document in client module to
give developers a guide to invoke senlinclient interfaces.
Change-Id: I1671e0f0f3df15cd9667ff2b039e61d5b462e8e7
Expose check and recover for manual health management scenario
Change-Id: Ib669d4e759d74f9dc7054e91d7247d50c90d41ed
Implements: blueprint support-health-management-customization
Expose check and recover for manual health management scenario
Implements: blueprint support-health-management-customization
Change-Id: Ib5f3c6710459d31831f842534acaae547336d23f
We temporarily removed 'show_details' support due to SDK support. This
feature is not part of SDK now after the following patch is merged.
This patch proposes adding back the support.
https://review.openstack.org/262367
Change-Id: Iac00a927b0ebf9cbfe81d73b021c9ed4304f9985
This patch proposes a migration to use SDK calls directly from the
client module. After this migration is completed, we don't need to
maintain the 'models' in this project any more.
Change-Id: I3be1814634858278b2dc77a759c86ce315c51b8f
This patch adds client side support to receivers.
Change-Id: Ifc15a524a8a7de1a7e283119385bfd2a5cf43481
partial-blueprint: support-general-receiver-abstraction
Depends-On: I400f9d34737d443e1cc4b7f4fcc6f6241ff96bd2
This patch is the client side fix for profile-type-schema and
policy-type-schema.
Depends-On: I61a406ec941f902cb88e4ec521a42af05bb5a93a
Change-Id: I3a932c47b3f72bc256ad49d1994301714e7df398
This patch sets the default auth_plugin to 'password', it also removes
the authenticator reference from client module. These code are breaking
the client code.
Change-Id: I7f815d3847b0bd0f5e6c3f78c2cc0efd3c80a523
This patch proposes a removal of some methods that are never used in the
client module. They will eventually get invoked from sdk. We don't need
to do this at senlin client's side.
Change-Id: I9dd0cb9a3d60fba5e6c2cd3b7c1502d03b91119f
This is an effort to make the interface exposed by senlinclient more
usable for other software. Eventually, all these logic will go to
either openstackclient or openstacksdk, but for now we keep it locally
to make things work.
Change-Id: I25fdb0f3bb224951256ccb0eeafa09e906195805
This patch optimizes the client constructor so that caller doesn't have
to provide user_preferences or user_agent arguments. It would be a
convenience for projects such as senlin-dashboard.
Change-Id: I0e98fb055441a941ad7c9da6e36b4a388ae0a75a
This patch revises the client.Client constructor so that other software
can invoke senlinclient in the same way as they do with other client
packages.
Change-Id: I060e2bf70d51ec381934cfd487a1a6cb44f0edd2
Closes-Bug: #1498906
When trying to scale-in a cluster without configuring
'count' option, TypeError will happen. This is because
'count' is not the key of 'params'.
Closes-Bug: #1485820
Change-Id: I753bf2f9234910271254e6a60110b98a3d9994c7
This patch fixes the cluster-policy-list operation error where
'path_args' was not treated in a dedicated parameter.
Change-Id: I3a259b58585d9900e8db9ace141d85369f854bad
The SDK provides an additional parameter 'paginated' for specifying
whether the result will be paginated at server side. This feature saves
us from hacking the list function.
Also, the latest SDK revision has consolidated all kwargs in to a single
parameter named 'params'. This patch also fixes this problem.
Change-Id: Ib4ce1d03d18fe38cb655c541547faf41f3312a26
Due to recent changes in OpenStack SDK:
https://review.openstack.org/#/c/200822/
We will not use the thin interface any more.
Change-Id: Iab6648d45e855af55d1237c13e721df6d847c206
Flake8 is now complaining about the grouping of imports. This patch try
please it by moving imports around.
Change-Id: I65a0ee03d8fcc78de597d06424f647e0a2d2beae