#NEWLINE# def take_action( self , parsed_args ) : #NEWLINE# #INDENT# neutron_client = self . get_client ( ) #NEWLINE# _net_id = neutronV20 . find_resourceid_by_name_or_id ( neutron_client , 'network' , parsed_args . network ) #NEWLINE# neutron_client . remove_network_from_dhcp_agent ( parsed_args . dhcp_agent , _net_id ) #NEWLINE# print ( ( _ ( 'Removed network %s from DHCP agent' ) % parsed_args . network ) , file = self . app . stdout )