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)
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)
def openstack_client(controller_remote): return os_cli.OpenStack(controller_remote)