Skip to content
Snippets Groups Projects
Commit f396ad8c authored by Vangelis Koukis's avatar Vangelis Koukis Committed by Iustin Pop
Browse files

Ensure unused ports return to the free port pool


Ensure ports previously allocated by calling ConfigWriter's AllocatePort() are
returned to the pool of free ports when no longer needed:

 * Return the network_port of an instance when it is removed
 * Return the port used by a DRBD-based disk when it is removed

Signed-off-by: default avatarVangelis Koukis <vkoukis@grnet.gr>
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent ca8f5622
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment