Exemple #1
0
 def get_maintenance_config(self, albabackend):
     # type : (AlbaBackend, int) -> dict
     """
     Set the maintenance config for the Backend
     :param albabackend: ALBA Backend to set the maintenance config for
     :type albabackend: ovs.dal.hybrids.albabackend.AlbaBackend
     :return: Dict that represents the config
     :rtype: dict
     """
     return AlbaController.get_maintenance_config(
         alba_backend_guid=albabackend.guid)