I am thinking about that we can change the structure of ALLOCATED_PORTS, use the instance_uuid as key to record these ports are being used by specific server. Only release ports that are not used by other servers when we call serial_console.release_port() during destroy a server.
I am thinking about that we can change the structure of ALLOCATED_PORTS, use the instance_uuid as key to record these ports are being used by specific server. Only release ports that are not used by other servers when we call serial_ console. release_ port() during destroy a server.