Nat node use port 0

pull/712/head
Julien Duponchelle 8 years ago
parent d7c60db2b9
commit 1d70a18b11
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

@ -42,7 +42,7 @@ class Nat(Cloud):
"name": "nat0",
"type": "ethernet",
"interface": "eth1",
"port_number": 1
"port_number": 0
}
]

@ -32,7 +32,7 @@ PORT_OBJECT_SCHEMA = {
"port_number": {
"description": "Port number",
"type": "integer",
"minimum": 1
"minimum": 0
},
"type": {
"description": "Port type",
@ -58,7 +58,7 @@ PORT_OBJECT_SCHEMA = {
"port_number": {
"description": "Port number",
"type": "integer",
"minimum": 1
"minimum": 0
},
"type": {
"description": "Port type",
@ -84,7 +84,7 @@ PORT_OBJECT_SCHEMA = {
"port_number": {
"description": "Port number",
"type": "integer",
"minimum": 1
"minimum": 0
},
"type": {
"description": "Port type",

@ -33,7 +33,7 @@ def test_json(on_gns3vm, project):
{
"interface": "eth1",
"name": "nat0",
"port_number": 1,
"port_number": 0,
"type": "ethernet"
}
]

Loading…
Cancel
Save