summaryrefslogtreecommitdiff
path: root/smoketest
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-12-12 20:57:29 +0100
committerChristian Breunig <christian@breunig.cc>2024-12-16 22:24:50 +0100
commitd58e7ace7075e24c64cfe5e56ffcaad1688446e9 (patch)
tree038ca93da2bac49373790c74fb4145adaba19baa /smoketest
parenta8da54f50df5d60b18a8cdf0ea63c71f82faf14e (diff)
downloadvyos-1x-d58e7ace7075e24c64cfe5e56ffcaad1688446e9.tar.gz
vyos-1x-d58e7ace7075e24c64cfe5e56ffcaad1688446e9.zip
multicast: T6746: migrate CLI to to mimic unicast IPv4 routes syntax
Consolidate "multicast interface-route" and "multicast route" under common "mroute <x.x.x.x/y>" CLI node.
Diffstat (limited to 'smoketest')
-rw-r--r--smoketest/config-tests/static-route-basic2
-rw-r--r--smoketest/configs/static-route-basic4
2 files changed, 4 insertions, 2 deletions
diff --git a/smoketest/config-tests/static-route-basic b/smoketest/config-tests/static-route-basic
index 4416e6b19..d2d33d043 100644
--- a/smoketest/config-tests/static-route-basic
+++ b/smoketest/config-tests/static-route-basic
@@ -3,6 +3,8 @@ set interfaces ethernet eth0 speed 'auto'
set interfaces ethernet eth0 vif 203 address '172.18.203.10/24'
set interfaces ethernet eth1 duplex 'auto'
set interfaces ethernet eth1 speed 'auto'
+set protocols static mroute 224.1.0.0/24 interface eth0.203 distance '10'
+set protocols static mroute 224.2.0.0/24 next-hop 172.18.203.254 distance '20'
set protocols static route 10.0.0.0/8 blackhole distance '200'
set protocols static route 10.0.0.0/8 blackhole tag '333'
set protocols static route 10.0.0.0/8 next-hop 192.0.2.140 bfd multi-hop source-address '192.0.2.10'
diff --git a/smoketest/configs/static-route-basic b/smoketest/configs/static-route-basic
index 4bf114e33..648e19676 100644
--- a/smoketest/configs/static-route-basic
+++ b/smoketest/configs/static-route-basic
@@ -14,12 +14,12 @@ interfaces {
protocols {
static {
multicast {
- interface-route 224.0.0.0/24 {
+ interface-route 224.1.0.0/24 {
next-hop-interface eth0.203 {
distance "10"
}
}
- route 224.0.0.0/24 {
+ route 224.2.0.0/24 {
next-hop 172.18.203.254 {
distance "20"
}