summaryrefslogtreecommitdiff
path: root/tests/unit/fixtures/l3_interfaces_running.json
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2026-09-28 11:40:29 +0100
committerGitHub <noreply@github.com>2026-09-28 11:40:29 +0100
commitac5b6f72bc9360fce3522fdabb6fa7621f696898 (patch)
treede8a57a24e8202c8499ec3cb33ffbe9917e89f89 /tests/unit/fixtures/l3_interfaces_running.json
parent0c671d0f72ff5222e009024f532a9ecbafe543df (diff)
parent35f2016a0d5c40c3e4b6374ebe459571be544b1f (diff)
downloadrest.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/l3_interfaces_running.json')
-rw-r--r--tests/unit/fixtures/l3_interfaces_running.json19
1 files changed, 5 insertions, 14 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"] }
}
}