mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-10-25 03:12:23 +02:00
Merge branch '3.1' into python-3.15-support
This commit is contained in:
commit
ad8f5430e2
7
.github/workflows/testing.yml
vendored
7
.github/workflows/testing.yml
vendored
@ -34,9 +34,10 @@ jobs:
|
|||||||
python -m pip install .[ai-features,dev]
|
python -m pip install .[ai-features,dev]
|
||||||
|
|
||||||
- name: Install sharkd (marker replay engine)
|
- name: Install sharkd (marker replay engine)
|
||||||
run: |
|
uses: awalsh128/cache-apt-pkgs-action@latest
|
||||||
sudo apt-get update
|
with:
|
||||||
sudo apt-get install -y wireshark-common
|
packages: wireshark-common
|
||||||
|
version: linux-amd64
|
||||||
|
|
||||||
- name: Run all checks
|
- name: Run all checks
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@ -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")
|
||||||
|
|||||||
@ -1065,7 +1065,7 @@ class TestIOUTemplate:
|
|||||||
"startup_config": "iou_l3_base_startup-config.txt",
|
"startup_config": "iou_l3_base_startup-config.txt",
|
||||||
"symbol": unittest.mock.ANY,
|
"symbol": unittest.mock.ANY,
|
||||||
"use_default_iou_values": False,
|
"use_default_iou_values": False,
|
||||||
"l1_keepalives": False,
|
"l1_keepalives": True,
|
||||||
}
|
}
|
||||||
|
|
||||||
for item, value in expected_response.items():
|
for item, value in expected_response.items():
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user