mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Network handler for UDP port allocation and server network interfaces.
This commit is contained in:
1 parent
c002bbfb23
commit
50fea669b5
9 files changed
+134
-63
No files matched your search
@@ -343,7 +343,10 @@ class VPCSVM(BaseVM):
|
||||
port_id=port_id))
|
||||
|
||||
nio = self._ethernet_adapter.get_nio(port_id)
|
||||
if str(nio) == "NIO UDP":
|
||||
self.manager.port_manager.release_udp_port(nio.lport)
|
||||
self._ethernet_adapter.remove_nio(port_id)
|
||||
|
||||
log.info("VPCS {name} [{uuid}]: {nio} removed from port {port_id}".format(name=self._name,
|
||||
uuid=self.uuid,
|
||||
nio=nio,
|
||||
|
||||
Reference in new issue
Block a user