Skip to content

Commit

Permalink
test: add ip addr origin to bloated.json unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Alpe <[email protected]>
  • Loading branch information
rical committed Sep 18, 2023
1 parent 28646b7 commit 10167b5
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions test/case/cli_pretty/json/bloated.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@
"address": [
{
"ip": "192.168.5.1",
"prefix-length": 24
"prefix-length": 24,
"origin" : "static"
}
]
}
Expand All @@ -133,19 +134,23 @@
"address": [
{
"ip": "192.168.1.1",
"prefix-length": 24
"prefix-length": 24,
"origin" : "static"
},
{
"ip": "192.168.2.1",
"prefix-length": 24
"prefix-length": 24,
"origin" : "static"
},
{
"ip": "192.168.3.1",
"prefix-length": 24
"prefix-length": 24,
"origin" : "dhcp"
},
{
"ip": "192.168.4.1",
"prefix-length": 24
"prefix-length": 24,
"origin" : "dhcp"
},
{
"ip": "10.0.1.1",
Expand Down

0 comments on commit 10167b5

Please sign in to comment.