mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-10-12 13:35:31 +03:00
Merge pull request #2976 from GNS3/enable-iou-l1-keepalive
fix: enable Layer 1 keepalives by default at the template level
This commit is contained in:
commit
cb8918b584
@ -38,7 +38,7 @@ class IOUTemplateBase(TemplateBase):
|
||||
startup_config: Optional[str] = Field("iou_l3_base_startup-config.txt", description="Startup-config of IOU")
|
||||
private_config: Optional[str] = Field("", description="Private-config of IOU")
|
||||
l1_keepalives: Optional[bool] = Field(
|
||||
False,
|
||||
True,
|
||||
description="Enable Layer 1 keepalives so IOU interfaces report accurate link state",
|
||||
)
|
||||
console_type: Optional[ConsoleType] = Field(ConsoleType.telnet, description="Console type")
|
||||
|
||||
@ -1065,7 +1065,7 @@ class TestIOUTemplate:
|
||||
"startup_config": "iou_l3_base_startup-config.txt",
|
||||
"symbol": unittest.mock.ANY,
|
||||
"use_default_iou_values": False,
|
||||
"l1_keepalives": False,
|
||||
"l1_keepalives": True,
|
||||
}
|
||||
|
||||
for item, value in expected_response.items():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user