mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-26 00:38:10 +00: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…
Reference in New Issue
Block a user