This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def _is_degraded(self, obj, exclude=None): | |
exclude = exclude or [] | |
if "provisioning_status" not in exclude: | |
if obj.provisioning_status == constants.ERROR: | |
return True | |
if "operating_status" not in exclude: | |
if ((obj.operating_status != lb_const.ONLINE) and | |
(obj.operating_status != lb_const.NO_MONITOR)): | |
return True | |
return False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am crc32a on github. | |
* I am crc32 (https://keybase.io/crc32) on keybase. | |
* I have a public key whose fingerprint is 7687 AE51 D70F FADE CF08 54B5 589C 9175 69D5 932E | |
To claim this, I am signing this object: |