Esempio n. 1
0
def create_rest_client(
        manager_ip,
        username=None,
        password=None,
        tenant=None,
        **kwargs):
    return CloudifyClient(
        host=manager_ip,
        username=username or cli_env.get_username(),
        password=password or cli_env.get_password(),
        tenant=tenant or cli_env.get_tenant_name(),
        **kwargs)
Esempio n. 2
0
def get_manager_tenant():
    return cli_env.get_tenant_name()
Esempio n. 3
0
def get_manager_tenant():
    return cli_env.get_tenant_name()