mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-11-17 01:04:51 +02:00
Support "L1 keepalives" in IOU appliance schema.
This commit is contained in:
parent
c7b8c347d7
commit
a33b8eac3a
@ -60,6 +60,11 @@ IOU_APPLIANCE_PROPERTIES = {
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"default": ""
|
"default": ""
|
||||||
},
|
},
|
||||||
|
"l1_keepalives": {
|
||||||
|
"description": "Always keep up Ethernet interface (does not always work)",
|
||||||
|
"type": "boolean",
|
||||||
|
"default": False
|
||||||
|
},
|
||||||
"console_type": {
|
"console_type": {
|
||||||
"description": "Console type",
|
"description": "Console type",
|
||||||
"enum": ["telnet", "none"],
|
"enum": ["telnet", "none"],
|
||||||
|
@ -603,7 +603,8 @@ def test_iou_appliance_create(http_controller):
|
|||||||
"serial_adapters": 2,
|
"serial_adapters": 2,
|
||||||
"startup_config": "iou_l3_base_startup-config.txt",
|
"startup_config": "iou_l3_base_startup-config.txt",
|
||||||
"symbol": ":/symbols/multilayer_switch.svg",
|
"symbol": ":/symbols/multilayer_switch.svg",
|
||||||
"use_default_iou_values": True}
|
"use_default_iou_values": True,
|
||||||
|
"l1_keepalives": False}
|
||||||
|
|
||||||
for item, value in expected_response.items():
|
for item, value in expected_response.items():
|
||||||
assert response.json.get(item) == value
|
assert response.json.get(item) == value
|
||||||
|
Loading…
Reference in New Issue
Block a user