#NEWLINE# def node_info( ) : #NEWLINE# #INDENT# "\n    Return a dict with information about this node\n\n    CLI Example:\n\n    .. code-block:: bash\n\n        salt '*' virt.node_info\n    " #NEWLINE# conn = __get_conn ( ) #NEWLINE# raw = conn . getInfo ( ) #NEWLINE# info = { #NEWLINE# #INDENT# 'cpucores' : raw [ 6 ] , #NEWLINE# 'cpumhz' : raw [ 3 ] , #NEWLINE# 'cpumodel' : str ( raw [ 0 ] ) , #NEWLINE# 'cpus' : raw [ 2 ] , #NEWLINE# 'cputhreads' : raw [ 7 ] , #NEWLINE# 'numanodes' : raw [ 4 ] , #NEWLINE# 'phymemory' : raw [ 1 ] , #NEWLINE# 'sockets' : raw [ 5 ] , #NEWLINE# #UNINDENT# } #NEWLINE# return info