Esempio n. 1
0
 def not_configured_actions(self):
     """return a list of available actions not configured in the probe."""
     configured_actions = {action.name for action, _ in self.actions}
     l = [action
          for action_name, action in available_actions.items()
          if action_name not in configured_actions]
     l.sort(key=lambda action: action.name)
     return l
Esempio n. 2
0
 def not_configured_actions(self):
     """return a list of available actions not configured in the probe."""
     configured_actions = {action.name for action, _ in self.actions}
     al = [
         action for action_name, action in available_actions.items()
         if action_name not in configured_actions
     ]
     al.sort(key=lambda action: action.name)
     return al