Commit Graph

5 Commits

Author SHA1 Message Date
Bin Qian 4fb1c66ab6 delay sm-api to provide service until sm starts
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>
2018-08-15 15:13:18 -04:00
Bin Qian 045a37c672 Create independent sm-api client
1. use sm-api.conf for sm-api configuration
2. create sm-api client code and command line entry
3. add keystone authentication for accessing sm-api
4. removed dead sm-api client code

Story: 2002827
Task: 22744

Depends-On: I743f6b0f09c06325d3c9dc6e11902420882e7931
Change-Id: I861a6fa144494e135f6eb67d96e874d25f4db5d4
Signed-off-by: Bin Qian <bin.qian@windriver.com>
2018-08-13 14:16:57 -04:00
Bin Qian d31c03457b Add server class for ipv6 binding for sm_api
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>
2018-07-23 12:15:39 -04:00
Bin Qian 7de45afb19 Controller Services swact/failover time reduction
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>
2018-06-28 15:43:19 -04:00
Dean Troyer 17c909ec83 StarlingX open source release updates
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-05-31 07:36:26 -07:00