From 10167b5dbb5c906efaa1ef2d241409f16b449cbe Mon Sep 17 00:00:00 2001 From: Richard Alpe Date: Mon, 11 Sep 2023 16:19:03 +0200 Subject: [PATCH] test: add ip addr origin to bloated.json unit test Signed-off-by: Richard Alpe --- test/case/cli_pretty/json/bloated.json | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/test/case/cli_pretty/json/bloated.json b/test/case/cli_pretty/json/bloated.json index 77634adec..66aaf039c 100644 --- a/test/case/cli_pretty/json/bloated.json +++ b/test/case/cli_pretty/json/bloated.json @@ -112,7 +112,8 @@ "address": [ { "ip": "192.168.5.1", - "prefix-length": 24 + "prefix-length": 24, + "origin" : "static" } ] } @@ -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",