Пример #1
0
 def __init__(self, config=None):
     if not hasattr(self, "_virt_env"):
         self._virt_env = None
     if not hasattr(self, "_fuel_web"):
         self._fuel_web = None
     self._config = config
     self.ssh_manager = SSHManager()
     self.ssh_manager.initialize(
         self.get_admin_node_ip(),
         login=settings.SSH_CREDENTIALS['login'],
         password=settings.SSH_CREDENTIALS['password'])
     self.admin_actions = AdminActions()
     self.base_actions = BaseActions()
     self.cobbler_actions = CobblerActions()
     self.nailgun_actions = NailgunActions()
     self.postgres_actions = PostgresActions()
     self.fuel_bootstrap_actions = FuelBootstrapCliActions()
Пример #2
0
 def cobbler_actions(self):
     return CobblerActions(self.d_env.get_admin_remote())