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:
parent
c7b8c347d7
commit
a33b8eac3a
@ -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"],
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user