mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-05 06:41:13 +02:00
Allows VMware VMs to use vmnet interfaces for connections without using uBridge. Fixes #295.
This commit is contained in:
1 parent
476e033a78
commit
4efec03448
6 files changed
+262
-83
No files matched your search
@@ -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,
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user