def list_nodes_full(call=None, for_output=True):
    '''
    Return a list of the VMs that are on the provider
    '''
    if call == 'action':
        raise SaltCloudSystemExit(
            'The list_nodes_full function must be called with -f or --function.'
        )
    creds = get_creds()
    clc.v1.SetCredentials(creds["token"], creds["token_pass"])
    servers_raw = clc.v1.Server.GetServers(location=None)
    servers_raw = salt.utils.json.dumps(servers_raw)
    servers = salt.utils.json.loads(servers_raw)
    return servers
def list_nodes_full ( call = None , for_output = True ) : if call == 'action' : raise SaltCloudSystemExit ( 'The list_nodes_full function must be called with -f or --function.' ) creds = get_creds ( ) clc . v1 . SetCredentials ( creds [ "token" ] , creds [ "token_pass" ] ) servers_raw = clc . v1 . Server . GetServers ( location = None ) servers_raw = salt . utils . json . dumps ( servers_raw ) servers = salt . utils . json . loads ( servers_raw ) return servers
Return a list of the VMs that are on the provider