sm-api relys on sm service to provide service.
This change ensure sm-api start provide service after sm runtime
db is created.
Story: 2002988
Task: 23002
Change-Id: I3f1a970d5a5b8d7b77e6014008af39d36c55d6af
Signed-off-by: Bin Qian <bin.qian@windriver.com>
This fixes the issue of unrecoverable sm-api process failure leading to
constant controller degrade in ipv6 system.
Story: 2002838
Task: 22757
Change-Id: If5381e583174cce63cb2734a46e094f401d5172b
Signed-off-by: Jack Ding <jack.ding@windriver.com>
Add full support for Active/Active redudancy model
1. services could have enable dependency to services in other service groups
(standby group)
2. An active/active service failure will degraded the service group it is in
3. A failure of active/active service would not prevent a swact
4. Locking a controller that is sole active/active service
provider will be rejected. But lock with force option will still proceed
to lock the node.
5. sm-api bind to port 7777 on mgmt interface. (was localhost:7777)
Change-Id: I6f0354e1e8fc606c6f3b8b33e3ab862b47824232
Signed-off-by: Jack Ding <jack.ding@windriver.com>