ha/service-mgmt-tools/sm-tools/sm_tools
Bin Qian 778d4e2dcf Add new provision/deprovison command option
Add "--apply" command option for sm-provision and sm-deprovision
commands to apply the change to SM immediately.

If SM runtime configuration has not already been created, the new option
will not do extra. SM will load the up-to-date configuration from static
db when it creates runtime configuration.

The new commands:
sm-provision service-group-member
sm-deprovision service-group-member

will provision/deprovision both service and service group member.
The commands below are now deprecated, although they are still supported
for backward compatibility.

sm-provision service
sm-deprovision service

Story: 2005486
Task: 30622

Depends-on: https://review.opendev.org/#/c/655766

Change-Id: I6dda4129ab1d121a7e5861d20a4df791c0c535a8
Signed-off-by: Bin Qian <bin.qian@windriver.com>
2019-04-25 15:58:16 -04:00
..
__init__.py StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_action.py Unsupress pylint warnings. 2018-10-04 14:19:31 -05:00
sm_api_msg_utils.py Add new provision/deprovison command option 2019-04-25 15:58:16 -04:00
sm_configure.py SM monitoring for cluster-host-ip service 2019-04-11 07:43:06 -04:00
sm_dump.py Fix flake8 errors and disable ignore case 2018-11-07 08:12:37 +08:00
sm_provision.py Add new provision/deprovison command option 2019-04-25 15:58:16 -04:00
sm_query.py Fix flake8 errors and disable ignore case 2018-11-07 08:12:37 +08:00