From 683e120725c4b03b671ac66ce47b2fceccf6f8ba Mon Sep 17 00:00:00 2001 From: omnom62 <75066712+omnom62@users.noreply.github.com> Date: Mon, 28 Sep 2026 21:31:03 +1000 Subject: T8989: vyos_ospf_inferfaces dict_op rework (#31) * T8989: vyos_ospf_inferfaces dict_op rework * T8989: vyos_ospf_inferfaces Copilot comments * T8989: vyos_ospf_inferfaces Copilot comments * T8989: vyos_ospf_inferfaces Copilot comments * T8989: vyos_ospf_inferfaces Copilot comments * T8989: ospf_interfaces AI comment fixes * T8989: ospf_interfaces AI comment fixes --------- Co-authored-by: Daniil Baturin --- tests/unit/fixtures/ospf_interfaces_ipv4.json | 13 +++++++++++-- tests/unit/fixtures/ospf_interfaces_ipv6.json | 7 ++++++- 2 files changed, 17 insertions(+), 3 deletions(-) (limited to 'tests/unit/fixtures') diff --git a/tests/unit/fixtures/ospf_interfaces_ipv4.json b/tests/unit/fixtures/ospf_interfaces_ipv4.json index 1f199a6..9b40f66 100644 --- a/tests/unit/fixtures/ospf_interfaces_ipv4.json +++ b/tests/unit/fixtures/ospf_interfaces_ipv4.json @@ -1,4 +1,13 @@ { - "eth1": { "cost": "100", "transmit-delay": "50", "priority": "26" }, - "eth2": { "cost": "200" } + "eth1": { + "cost": "100", + "transmit-delay": "50", + "priority": "26", + "dead-interval": "40", + "mtu-ignore": {}, + "authentication": { "md5": { "key-id": { "10": { "md5-key": "secret" } } } } + }, + "eth2": { + "cost": "200" + } } diff --git a/tests/unit/fixtures/ospf_interfaces_ipv6.json b/tests/unit/fixtures/ospf_interfaces_ipv6.json index 580cecf..5d96817 100644 --- a/tests/unit/fixtures/ospf_interfaces_ipv6.json +++ b/tests/unit/fixtures/ospf_interfaces_ipv6.json @@ -1,4 +1,9 @@ { - "eth1": { "dead-interval": "39", "passive": {} }, + "eth1": { + "dead-interval": "39", + "passive": {}, + "instance-id": "5", + "ifmtu": "1500" + }, "eth2": {} } -- cgit v1.2.3