Ensure we can't connect to occupy port

Ref https://github.com/GNS3/gns3-gui/issues/1759
This commit is contained in:
Julien Duponchelle committed 2017-01-06 10:29:56 +01:00
1 parent 51aef2b9c7
commit 955a466be5
3 files changed
+47 -2

No files matched your search

+12
View File
@@ -26,6 +26,18 @@ class Port:
self._adapter_number = adapter_number
self._port_number = port_number
self._name = name
self._link = None
@property
def link(self):
"""
Link connected to the port
"""
return self._link
@link.setter
def link(self, val):
self._link = val
@property
def adapter_number(self):