masakari/masakari/tests/unit/objects
suzhengwei fe88eae9cb add enabled to segment
Sometimes, operators want to temporarily close instance-ha function.
This patch add 'enabled' to segment. If the segment 'enabled' value
is set False, all notifications of this segment will be ignored
and no recovery methods will execuate.

Change-Id: I561a2519626fa1beae1e3033a6de510cea8f3fac
Implements: BP enable-to-segment
2021-03-03 10:42:35 +08:00
..
__init__.py Added masakari objects 2016-09-07 15:57:17 +05:30
fake_args.py Define objects used for notification 2019-03-03 19:12:53 +05:30
test_fields.py [Part1]Remove six 2020-08-30 09:03:07 +00:00
test_hosts.py add enabled to segment 2021-03-03 10:42:35 +08:00
test_notifications.py remove unicode from code 2021-01-04 01:02:06 +00:00
test_objects.py add enabled to segment 2021-03-03 10:42:35 +08:00
test_segments.py add enabled to segment 2021-03-03 10:42:35 +08:00