def list_nodes_full(mask='mask[id, hostname, primaryIpAddress, \
        primaryBackendIpAddress, processorPhysicalCoreAmount, memoryCount]',
        call=None):
    '''
    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.'
        )

    ret = {}
    conn = get_conn(service='SoftLayer_Account')
    response = conn.getHardware(mask=mask)

    for node in response:
        ret[node['hostname']] = node
    __utils__['cloud.cache_node_list'](ret, __active_provider_name__.split(':')[0], __opts__)
    return ret
def list_nodes_full ( mask = 'mask[id, hostname, primaryIpAddress, \
        primaryBackendIpAddress, processorPhysicalCoreAmount, memoryCount]' , call = None ) : if call == 'action' : raise SaltCloudSystemExit ( 'The list_nodes_full function must be called with -f or --function.' ) ret = { } conn = get_conn ( service = 'SoftLayer_Account' ) response = conn . getHardware ( mask = mask ) for node in response : ret [ node [ 'hostname' ] ] = node __utils__ [ 'cloud.cache_node_list' ] ( ret , __active_provider_name__ . split ( ':' ) [ 0 ] , __opts__ ) return ret
Return a list of the VMs that are on the provider