def list_nodes_full(call=None):
    '''
    List nodes, with all available information

    CLI Example:

    .. code-block:: bash

        salt-cloud -F
    '''
    response = _query('grid', 'server/list')

    ret = {}
    for item in response['list']:
        name = item['name']
        ret[name] = item

        ret[name]['image_info'] = item['image']
        ret[name]['image'] = item['image']['friendlyName']
        ret[name]['size'] = item['ram']['name']
        ret[name]['public_ips'] = [item['ip']['ip']]
        ret[name]['private_ips'] = []
        ret[name]['state_info'] = item['state']
        if 'active' in item['state']['description']:
            ret[name]['state'] = 'RUNNING'

    return ret
def list_nodes_full ( call = None ) : response = _query ( 'grid' , 'server/list' ) ret = { } for item in response [ 'list' ] : name = item [ 'name' ] ret [ name ] = item ret [ name ] [ 'image_info' ] = item [ 'image' ] ret [ name ] [ 'image' ] = item [ 'image' ] [ 'friendlyName' ] ret [ name ] [ 'size' ] = item [ 'ram' ] [ 'name' ] ret [ name ] [ 'public_ips' ] = [ item [ 'ip' ] [ 'ip' ] ] ret [ name ] [ 'private_ips' ] = [ ] ret [ name ] [ 'state_info' ] = item [ 'state' ] if 'active' in item [ 'state' ] [ 'description' ] : ret [ name ] [ 'state' ] = 'RUNNING' return ret
List nodes, with all available information

    CLI Example:

    .. code-block:: bash

        salt-cloud -F