#NEWLINE# @ base . remotable #NEWLINE# def save( self , prune_stats = False ) : #NEWLINE# #INDENT# updates = self . obj_get_changes ( ) #NEWLINE# updates . pop ( 'id' , None ) #NEWLINE# self . _convert_stats_to_db_format ( updates ) #NEWLINE# self . _convert_host_ip_to_db_format ( updates ) #NEWLINE# self . _convert_supported_instances_to_db_format ( updates ) #NEWLINE# self . _convert_pci_stats_to_db_format ( updates ) #NEWLINE# db_compute = db . compute_node_update ( prune_stats . _context , self . id , updates ) #NEWLINE# self . _from_db_object ( self . _context , self , db_compute )