HomeClusterLabs Projects

Refactor: python: Update standby mode setting/getting.

Description

Refactor: python: Update standby mode setting/getting.

  • Rename standby_status to in_standby_mode.
  • in_standby_mode should return a boolean. Unfortunately, this means we have to do a string comparison but hopefully the value we're looking for won't change.
  • set_standby_mode should take a boolean as an argument instead of "on"/"off".

Details

Provenance
clumensAuthored on Jul 11 2023, 10:22 AM
Parents
rP62db56170e78: Refactor: python: Add docstrings to clustermanager.py.
Branches
Unknown
Tags
Unknown