#NEWLINE# def strip_wait_dhcp( self , vm ) : #NEWLINE# #INDENT# LOG . debug ( 'updaing port %s ip address' , ip . port_id ) #NEWLINE# ip = vm . ip . replace ( constants . IP_DHCP_WAIT , '' ) #NEWLINE# params = { #NEWLINE# #INDENT# 'columns' : { #NEWLINE# #INDENT# 'ip' : ip , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } #NEWLINE# self . update_vm_db ( vm . port_id , ** params )