Allows VMware VMs to use vmnet interfaces for connections without using uBridge. Fixes #295.

This commit is contained in:
grossmj committed 2015-09-05 14:38:11 -06:00
1 parent 476e033a78
commit 4efec03448
6 files changed
+262 -83

No files matched your search

+16
View File
@@ -143,6 +143,21 @@ NIO_SCHEMA = {
"required": ["type", "control_file", "local_file"],
"additionalProperties": False
},
"VMNET": {
"description": "VMNET Network Input/Output",
"properties": {
"type": {
"enum": ["nio_vmnet"]
},
"vmnet": {
"description": "VMnet interface name e.g. vmnet12",
"type": "string",
"minLength": 1
},
},
"required": ["type", "vmnet"],
"additionalProperties": False
},
"NULL": {
"description": "NULL Network Input/Output",
"properties": {
@@ -162,6 +177,7 @@ NIO_SCHEMA = {
{"$ref": "#/definitions/TAP"},
{"$ref": "#/definitions/UNIX"},
{"$ref": "#/definitions/VDE"},
{"$ref": "#/definitions/VMNET"},
{"$ref": "#/definitions/NULL"},
],
"additionalProperties": True,
+12
View File
@@ -71,6 +71,10 @@ VMWARE_CREATE_SCHEMA = {
"type": "string",
"minLength": 1,
},
"use_ubridge": {
"description": "use uBridge for network connections",
"type": "boolean",
},
"use_any_adapter": {
"description": "allow GNS3 to use any VMware adapter",
"type": "boolean",
@@ -124,6 +128,10 @@ VMWARE_UPDATE_SCHEMA = {
"type": "string",
"minLength": 1,
},
"use_ubridge": {
"description": "use uBridge for network connections",
"type": "boolean",
},
"use_any_adapter": {
"description": "allow GNS3 to use any VMware adapter",
"type": "boolean",
@@ -188,6 +196,10 @@ VMWARE_OBJECT_SCHEMA = {
"type": "string",
"minLength": 1,
},
"use_ubridge": {
"description": "use uBridge for network connections",
"type": "boolean",
},
"use_any_adapter": {
"description": "allow GNS3 to use any VMware adapter",
"type": "boolean",