mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-10-28 03:02:22 +02:00
Fix 'EthernetSwitch' object has no attribute 'hw_virtualization'
Fix #828
This commit is contained in:
parent
89537204df
commit
8f42122702
@ -106,3 +106,6 @@ class Bridge(Device):
|
|||||||
|
|
||||||
yield from self._hypervisor.send('nio_bridge remove_nio "{name}" {nio}'.format(name=self._name, nio=nio))
|
yield from self._hypervisor.send('nio_bridge remove_nio "{name}" {nio}'.format(name=self._name, nio=nio))
|
||||||
self._nios.remove(nio)
|
self._nios.remove(nio)
|
||||||
|
|
||||||
|
def hw_virtualization(self):
|
||||||
|
return False
|
||||||
|
|||||||
@ -108,3 +108,6 @@ class Device:
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
|
def hw_virtualization(self):
|
||||||
|
return False
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user