summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli
diff options
context:
space:
mode:
authorJonathan Voss <jvoss@onvox.net>2026-02-05 02:25:40 +0000
committerChristian Breunig <christian@breunig.cc>2026-02-05 17:15:25 +0100
commit8681267f801bfc46a97b044a08ff33ffb0b6de61 (patch)
tree47503277d10b1e2a34530473079fd9ebd2883e2e /smoketest/scripts/cli
parent407b4e2486387051cf7d4bb83bbe310a87404bb7 (diff)
downloadvyos-1x-8681267f801bfc46a97b044a08ff33ffb0b6de61.tar.gz
vyos-1x-8681267f801bfc46a97b044a08ff33ffb0b6de61.zip
srv6: T8238: add segment support to "protocols static route"
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-xsmoketest/scripts/cli/test_protocols_static.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_protocols_static.py b/smoketest/scripts/cli/test_protocols_static.py
index 017618cbb..a049020a4 100755
--- a/smoketest/scripts/cli/test_protocols_static.py
+++ b/smoketest/scripts/cli/test_protocols_static.py
@@ -74,6 +74,18 @@ routes = {
'blackhole' : {},
'reject' : { 'distance' : '10', 'tag' : '200' },
},
+ '100.67.0.0/16': {
+ 'interface': {
+ 'eth1': {'segments': '2001:db8:aaaa::700'},
+ },
+ },
+ '100.68.0.0/16': {
+ 'next_hop': {
+ '192.0.2.100': {
+ 'segments': '2001:db8:aaaa::400/2002::400/2003::400/2004::400'
+ },
+ },
+ },
'2001:db8:100::/40' : {
'next_hop' : {
'2001:db8::1' : { 'distance' : '10' },