From cc7fe1a47730a026a1d0f504b4d1e632e94066a7 Mon Sep 17 00:00:00 2001 From: grossmj Date: Thu, 10 Sep 2015 03:44:56 -0600 Subject: [PATCH] VMware Fusion support with uBridge. --- gns3server/modules/vmware/vmware_vm.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gns3server/modules/vmware/vmware_vm.py b/gns3server/modules/vmware/vmware_vm.py index 9f922ae3..e6e0bf9c 100644 --- a/gns3server/modules/vmware/vmware_vm.py +++ b/gns3server/modules/vmware/vmware_vm.py @@ -320,6 +320,9 @@ class VMwareVM(BaseVM): interface=npf)) else: raise VMwareError("Could not find NPF id for VMnet interface {}".format(vmnet_interface)) + elif sys.platform.startswith("darwin"): + yield from self._ubridge_hypervisor.send('bridge add_nio_fusion_vmnet {name} "{interface}"'.format(name=vnet, + interface=vmnet_interface)) else: yield from self._ubridge_hypervisor.send('bridge add_nio_ethernet {name} "{interface}"'.format(name=vnet, interface=vmnet_interface))