#NEWLINE# def process_show( self , context , process ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# nova_process = self . process_client . process_show ( process [ 'nova_instance_id' ] ) #NEWLINE# process [ 'status' ] = nova_process [ 'status' ] #NEWLINE# for nova_network in nova_process [ 'networks' ] : #NEWLINE# #INDENT# for network in process [ 'networks' ] : #NEWLINE# #INDENT# if ( nova_network [ 'display_name' ] == network [ 'display_name' ] ) : #NEWLINE# #INDENT# network . update ( process ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# except Exception as e : #NEWLINE# #INDENT# LOG . exception ( e ) #NEWLINE# if ( e . code == 404 ) : #NEWLINE# #INDENT# process [ 'status' ] = 'NotExist' #NEWLINE# return #NEWLINE# #UNINDENT# raise exception . OpenStackException ( e . code , e . message )