def list_nodes_full(call=None):
 if (call == 'action'):
  raise SaltCloudSystemExit('The list_nodes_full function must be called with -f or --function.')
 ret = {}
 items = query(action='ve')
 for item in items:
  name = item.attrib['name']
  node = show_instance(name, call='action')
  ret[name] = node
  ret[name]['image'] = node['platform']['template-info']['name']
  if ('private-ip' in node['network']):
   ret[name]['private_ips'] = [node['network']['private-ip']['address']]
  if ('public-ip' in node['network']):
   ret[name]['public_ips'] = [node['network']['public-ip']['address']]
 return ret

def list_nodes_full ( call = None ) : if ( call == 'action' ) : raise SaltCloudSystemExit ( 'The list_nodes_full function must be called with -f or --function.' ) ret = { } items = query ( action = 've' ) for item in items : name = item . attrib [ 'name' ] node = show_instance ( name , call = 'action' ) ret [ name ] = node ret [ name ] [ 'image' ] = node [ 'platform' ] [ 'template-info' ] [ 'name' ] if ( 'private-ip' in node [ 'network' ] ) : ret [ name ] [ 'private_ips' ] = [ node [ 'network' ] [ 'private-ip' ] [ 'address' ] ] if ( 'public-ip' in node [ 'network' ] ) : ret [ name ] [ 'public_ips' ] = [ node [ 'network' ] [ 'public-ip' ] [ 'address' ] ] return ret
list devices .