'Disable DHCP for a network known to the agent.'

def disable_dhcp_helper(self, network_id):

    network = self.cache.get_network_by_id(network_id)
    if network:
        self.disable_isolated_metadata_proxy(network)
        if self.call_driver('disable', network):
            self.cache.remove(network)
