summaryrefslogtreecommitdiff
path: root/tests/unit/fixtures
diff options
context:
space:
mode:
authoromnom62 <75066712+omnom62@users.noreply.github.com>2026-09-28 20:30:55 +1000
committerGitHub <noreply@github.com>2026-09-28 11:30:55 +0100
commit099b7477d5014499aa9aca41f8854be89356cb4e (patch)
tree463daa3bf4cd1179d3cfeb9c7c0a89e6c3aa3d57 /tests/unit/fixtures
parent51e6ddb410d0ec7cd0845cf8bb382c9d0d0144eb (diff)
downloadrest.vyos-099b7477d5014499aa9aca41f8854be89356cb4e.tar.gz
rest.vyos-099b7477d5014499aa9aca41f8854be89356cb4e.zip
T8989: vyos_l3_interfaces dict_op refactor (#34)
* T8989: vyos_l3_interfaces dict_op refactor * T8989: l3_interfaces AI comment fixed
Diffstat (limited to 'tests/unit/fixtures')
-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"] }
}
}