diff options
| author | Daniil Baturin <daniil@vyos.io> | 2026-09-28 11:40:29 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-28 11:40:29 +0100 |
| commit | ac5b6f72bc9360fce3522fdabb6fa7621f696898 (patch) | |
| tree | de8a57a24e8202c8499ec3cb33ffbe9917e89f89 /tests/unit/fixtures | |
| parent | 0c671d0f72ff5222e009024f532a9ecbafe543df (diff) | |
| parent | 35f2016a0d5c40c3e4b6374ebe459571be544b1f (diff) | |
| download | rest.vyos-T8989_update_get_vaule.tar.gz rest.vyos-T8989_update_get_vaule.zip | |
Merge branch 'main' into T8989_update_get_vauleT8989_update_get_vaule
Diffstat (limited to 'tests/unit/fixtures')
| -rw-r--r-- | tests/unit/fixtures/l3_interfaces_running.json | 19 | ||||
| -rw-r--r-- | tests/unit/fixtures/ospfv3_running.json | 11 |
2 files changed, 11 insertions, 19 deletions
diff --git a/tests/unit/fixtures/l3_interfaces_running.json b/tests/unit/fixtures/l3_interfaces_running.json index 676055b..3115861 100644 --- a/tests/unit/fixtures/l3_interfaces_running.json +++ b/tests/unit/fixtures/l3_interfaces_running.json @@ -1,21 +1,12 @@ { "ethernet": { "eth0": { - "address": "dhcp", - "hw-id": "52:54:00:65:5a:24", - "vif": { - "100": { - "address": "192.0.2.100/24" - } - } - } + "address": ["192.0.2.1/24", "2001:db8::1/64"], + "vif": { "100": { "address": ["192.0.2.100/24"] } } + }, + "eth1": {} }, "loopback": { - "lo": { - "address": ["10.0.0.1/32", "10.0.0.2/32"] - } - }, - "dummy": { - "dummy0": {} + "lo": { "address": ["10.0.0.1/32"] } } } diff --git a/tests/unit/fixtures/ospfv3_running.json b/tests/unit/fixtures/ospfv3_running.json index 44a1bcd..6588a1d 100644 --- a/tests/unit/fixtures/ospfv3_running.json +++ b/tests/unit/fixtures/ospfv3_running.json @@ -1,6 +1,4 @@ { - "parameters": { "router-id": "192.0.2.10" }, - "redistribute": { "bgp": {}, "connected": { "route-map": "RM1" } }, "area": { "2": { "export-list": "export1", @@ -11,9 +9,12 @@ } }, "3": { - "range": { - "2001:db40::/32": {} - } + "range": { "2001:db40::/32": { "advertise": {} } } } + }, + "parameters": { "router-id": "192.0.2.10" }, + "redistribute": { + "bgp": { "route-map": "redist-map" }, + "static": {} } } |
