1
0
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:
Julien Duponchelle 2016-12-13 09:21:06 +01:00
parent 89537204df
commit 8f42122702
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -108,3 +108,6 @@ class Device:
""" """
raise NotImplementedError raise NotImplementedError
def hw_virtualization(self):
return False