def _destroy_namespace_and_port(self):
        try:
            self.device_manager.destroy(self.network, self.interface_name)
        except RuntimeError:
            LOG.warning(_LW('Failed trying to delete interface: %s'),
                        self.interface_name)

        ns_ip = ip_lib.IPWrapper(namespace=self.network.namespace)
        try:
            ns_ip.netns.delete(self.network.namespace)
        except __HOLE__:
            LOG.warning(_LW('Failed trying to delete namespace: %s'),
                        self.network.namespace)
dataset/ETHPy150Open openstack/neutron/neutron/agent/linux/dhcp.py/DhcpLocalProcess._destroy_namespace_and_port