pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/libosmo-sigtran/+/38362?usp=email )
Change subject: tests/vty/osmo_stp_test.vty: Add some more lines to test 'update
route' cmd
......................................................................
tests/vty/osmo_stp_test.vty: Add some more lines to test 'update route' cmd
(cherry picked from commit 35b721103f9935bcc077cbdf16ffdc0172a2ada6)
Change-Id: I16b80558fd1da8228f4ae63bb1036f3315cf5e45
---
M tests/vty/osmo_stp_test.vty
1 file changed, 34 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran refs/changes/62/38362/1
diff --git a/tests/vty/osmo_stp_test.vty b/tests/vty/osmo_stp_test.vty
index c5e82f7..c983305 100644
--- a/tests/vty/osmo_stp_test.vty
+++ b/tests/vty/osmo_stp_test.vty
@@ -570,6 +570,21 @@
...
update route POINT_CODE MASK linkset LS_NAME [priority] [PRIO] [qos-class]
[(CLASS|default)]
remove route POINT_CODE MASK
+OsmoSTP(config-cs7-rt)# update route 3.2.1 7.255.7 linkset my-ass
+OsmoSTP(config-cs7-rt)# show running-config
+...
+cs7 instance 0
+...
+ route-table system
+ update route 3.2.1 7.255.7 linkset my-ass
+...
+OsmoSTP(config-cs7-rt)# remove route 3.2.1 7.255.7
+OsmoSTP(config-cs7-rt)# show running-config
+...
+cs7 instance 0
+...
+ route-table system
+... !update route 3.2.1 7.255.7 linkset my-ass
OsmoSTP(config-cs7-rt)# update route 3.2.1 7.255.7 linkset my-ass priority 5
OsmoSTP(config-cs7-rt)# show running-config
...
@@ -578,10 +593,6 @@
route-table system
update route 3.2.1 7.255.7 linkset my-ass priority 5
...
-cs7 instance 1
-...
- route-table system
-... !update route 3.2.1 7.255.7 linkset my-ass priority 5
OsmoSTP(config-cs7-rt)# remove route 3.2.1 7.255.7
OsmoSTP(config-cs7-rt)# show running-config
...
@@ -589,3 +600,22 @@
...
route-table system
... !update route 3.2.1 7.255.7 linkset my-ass priority 5
+OsmoSTP(config-cs7-rt)# update route 3.2.1 7.255.7 linkset my-ass priority 5 qos-class 1
+OsmoSTP(config-cs7-rt)# show running-config
+...
+cs7 instance 0
+...
+ route-table system
+ update route 3.2.1 7.255.7 linkset my-ass priority 5 qos-class 1
+...
+cs7 instance 1
+...
+ route-table system
+... !update route 3.2.1 7.255.7 linkset my-ass priority 5 qos-class 1
+OsmoSTP(config-cs7-rt)# remove route 3.2.1 7.255.7
+OsmoSTP(config-cs7-rt)# show running-config
+...
+cs7 instance 0
+...
+ route-table system
+... !update route 3.2.1 7.255.7 linkset my-ass priority 5 qos-class 1
--
To view, visit
https://gerrit.osmocom.org/c/libosmo-sigtran/+/38362?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: pespin/2.0.0
Gerrit-Change-Id: I16b80558fd1da8228f4ae63bb1036f3315cf5e45
Gerrit-Change-Number: 38362
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>