def detach_and_delete_port(self, tenant_id, net_id, port_id):
        LOG.debug(_("Deleting port %(port_id)s on net %(net_id)s"
                    " for %(tenant_id)s" % locals()))

        self.client.detach_resource(net_id, port_id, tenant=tenant_id)
        self.client.delete_port(net_id, port_id, tenant=tenant_id)
Detach and delete the specified Quantum port.
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/network/quantum/quantum_connection.py/QuantumClientConnection.detach_and_delete_port