#NEWLINE# def disassociate_floating_ip( self , context , instance , address ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# self . network_api . disassociate_floating_ip ( context , instance , address ) #NEWLINE# #UNINDENT# except exception . Forbidden : #NEWLINE# #INDENT# raise webob . exc . HTTPForbidden ( ) #NEWLINE# #UNINDENT# except exception . CannotDisassociateAutoAssignedFloatingIP : #NEWLINE# #INDENT# msg = _ ( 'Cannot disassociate auto assigned floating IP' ) #NEWLINE# raise webob . exc . HTTPForbidden ( explanation = msg )