1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-29 02:08:10 +00:00

Support "L1 keepalives" in IOU appliance schema.

This commit is contained in:
grossmj 2018-11-18 16:04:08 +07:00
parent c7b8c347d7
commit a33b8eac3a
2 changed files with 7 additions and 1 deletions

View File

@ -60,6 +60,11 @@ IOU_APPLIANCE_PROPERTIES = {
"type": "string",
"default": ""
},
"l1_keepalives": {
"description": "Always keep up Ethernet interface (does not always work)",
"type": "boolean",
"default": False
},
"console_type": {
"description": "Console type",
"enum": ["telnet", "none"],

View File

@ -603,7 +603,8 @@ def test_iou_appliance_create(http_controller):
"serial_adapters": 2,
"startup_config": "iou_l3_base_startup-config.txt",
"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():
assert response.json.get(item) == value