summaryrefslogtreecommitdiff
path: root/tests/topotests/mgmt_oper/test_simple.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/mgmt_oper/test_simple.py')
-rw-r--r--tests/topotests/mgmt_oper/test_simple.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/topotests/mgmt_oper/test_simple.py b/tests/topotests/mgmt_oper/test_simple.py
index a52d125ecf..3b115f6238 100644
--- a/tests/topotests/mgmt_oper/test_simple.py
+++ b/tests/topotests/mgmt_oper/test_simple.py
@@ -146,6 +146,27 @@ def test_oper_simple(tgen):
'/frr-interface:lib/interface[name="r1-eth0"]/state/mtu',
"simple-results/result-intf-state-mtu.json",
),
+ # with-defaults
+ (
+ '/frr-interface:lib/interface[name="r1-eth0"]/frr-zebra:zebra/evpn-mh',
+ "simple-results/result-intf-eth0-wd-explicit.json",
+ "with-config exact",
+ ),
+ (
+ '/frr-interface:lib/interface[name="r1-eth0"]/frr-zebra:zebra/evpn-mh',
+ "simple-results/result-intf-eth0-wd-trim.json",
+ "with-config exact with-defaults trim",
+ ),
+ (
+ '/frr-interface:lib/interface[name="r1-eth0"]/frr-zebra:zebra/evpn-mh',
+ "simple-results/result-intf-eth0-wd-all.json",
+ "with-config exact with-defaults all",
+ ),
+ (
+ '/frr-interface:lib/interface[name="r1-eth0"]/frr-zebra:zebra/evpn-mh',
+ "simple-results/result-intf-eth0-wd-all-tag.json",
+ "with-config exact with-defaults all-tag",
+ ),
]
r1 = tgen.gears["r1"].net