pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/libosmo-sigtran/+/38349?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
Change-Id: Ie3632da3949eeafd234634849249c4d7c8a332d1
---
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/49/38349/1
diff --git a/tests/vty/osmo_stp_test.vty b/tests/vty/osmo_stp_test.vty
index 6205e50..8aac9c1 100644
--- a/tests/vty/osmo_stp_test.vty
+++ b/tests/vty/osmo_stp_test.vty
@@ -572,6 +572,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
...
@@ -580,10 +595,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
...
@@ -591,3 +602,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/+/38349?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: master
Gerrit-Change-Id: Ie3632da3949eeafd234634849249c4d7c8a332d1
Gerrit-Change-Number: 38349
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>