summaryrefslogtreecommitdiff
path: root/tests/unit/fixtures
diff options
context:
space:
mode:
authoromnom62 <75066712+omnom62@users.noreply.github.com>2026-09-28 21:31:03 +1000
committerGitHub <noreply@github.com>2026-09-28 12:31:03 +0100
commit683e120725c4b03b671ac66ce47b2fceccf6f8ba (patch)
tree45e527539ba9e5c306ae6744387f7b360ce50508 /tests/unit/fixtures
parent9a0deaabf0d046db4e99c20d09b04e8c2f5fef1c (diff)
downloadrest.vyos-683e120725c4b03b671ac66ce47b2fceccf6f8ba.tar.gz
rest.vyos-683e120725c4b03b671ac66ce47b2fceccf6f8ba.zip
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 <daniil@vyos.io>
Diffstat (limited to 'tests/unit/fixtures')
-rw-r--r--tests/unit/fixtures/ospf_interfaces_ipv4.json13
-rw-r--r--tests/unit/fixtures/ospf_interfaces_ipv6.json7
2 files changed, 17 insertions, 3 deletions
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": {}
}