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>