mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +00:00
parent
694a4e8068
commit
04220846b3
@ -246,7 +246,7 @@ class EthernetSwitch(Device):
|
|||||||
elif settings["type"] == "dot1q":
|
elif settings["type"] == "dot1q":
|
||||||
yield from self.set_dot1q_port(port_number, settings["vlan"])
|
yield from self.set_dot1q_port(port_number, settings["vlan"])
|
||||||
elif settings["type"] == "qinq":
|
elif settings["type"] == "qinq":
|
||||||
yield from self.set_qinq_port(port_number, settings["vlan"], settings["ethertype"])
|
yield from self.set_qinq_port(port_number, settings["vlan"], settings.get("ethertype"))
|
||||||
|
|
||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def set_access_port(self, port_number, vlan_id):
|
def set_access_port(self, port_number, vlan_id):
|
||||||
|
Loading…
Reference in New Issue
Block a user