Exemplo n.º 1
0
 def user_create(self, name, password, tenant=None):
     # TODO(gdyuldin) remove this methods after moving to functions.os_cli
     with self._get_controller().ssh() as remote:
         return os_cli.OpenStack(remote).user_create(name=name,
                                                     password=password,
                                                     tenant=tenant)
Exemplo n.º 2
0
 def user_delete(self, name):
     # TODO(gdyuldin) remove this methods after moving to functions.os_cli
     with self._get_controller().ssh() as remote:
         return os_cli.OpenStack(remote).user_delete(name=name)
Exemplo n.º 3
0
def openstack_client(controller_remote):
    return os_cli.OpenStack(controller_remote)