mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-10-21 18:32:23 +03:00
fix: enable Layer 1 keepalives by default. Ref #2975
This commit is contained in:
parent
2e3557d534
commit
e4c25549f0
@ -192,7 +192,7 @@ class IOUVM(KernelDatapathMixin, BaseNode):
|
|||||||
self._private_config = ""
|
self._private_config = ""
|
||||||
self._ram = 1024 # Megabytes
|
self._ram = 1024 # Megabytes
|
||||||
self._application_id = application_id
|
self._application_id = application_id
|
||||||
self._l1_keepalives = False
|
self._l1_keepalives = True
|
||||||
|
|
||||||
# Kernel datapath (see KernelDatapathMixin): one persistent TAP per
|
# Kernel datapath (see KernelDatapathMixin): one persistent TAP per
|
||||||
# Ethernet bay/unit, opened and held by uBridge's iol_bridge while a
|
# Ethernet bay/unit, opened and held by uBridge's iol_bridge while a
|
||||||
|
|||||||
@ -38,7 +38,7 @@ class IOUTemplateBase(TemplateBase):
|
|||||||
startup_config: Optional[str] = Field("iou_l3_base_startup-config.txt", description="Startup-config of IOU")
|
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")
|
private_config: Optional[str] = Field("", description="Private-config of IOU")
|
||||||
l1_keepalives: Optional[bool] = Field(
|
l1_keepalives: Optional[bool] = Field(
|
||||||
False,
|
True,
|
||||||
description="Enable Layer 1 keepalives so IOU interfaces report accurate link state",
|
description="Enable Layer 1 keepalives so IOU interfaces report accurate link state",
|
||||||
)
|
)
|
||||||
console_type: Optional[ConsoleType] = Field(ConsoleType.telnet, description="Console type")
|
console_type: Optional[ConsoleType] = Field(ConsoleType.telnet, description="Console type")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user