@utils.synchronized(SERIAL_LOCK)
def release_port(host, port):
    ALLOCATED_PORTS.discard((host, port))
Release TCP port to be used next time.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/console/serial.py/release_port