This change is to update the service disabling and going standby
dependency check.
The 2 specific rules are
1. "service a" has a disable action dependency to "service b", with
targeted "service b" state of disabled, disable action of
"service a" is considered as "dependency met" only when "service b"
is in disabled stated, or enabled-standby state.
2. "service a" has a go-standby action dependency "to service b", with
targeted "service b" state of disabled, go-standby action of
"service a" is considered as "dependency met" only when "service b"
is in disabled stated, or enabled-standby state.
TCs:
passed: Perform repeatedly host-swact operations, with adding long
delay in xxx-fs ocf-script in disable action, observed that
all xxx-fs services are disabled before drbd-xxx services
start disabling.
Closes-Bug: 2012570
Signed-off-by: Bin Qian <bin.qian@windriver.com>
Change-Id: Ie9717d3b2b73dc7d623e1b980b3387c6c4e6d991