pespin has submitted this change. ( 
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(-)

Approvals:
  pespin: Looks good to me, approved
  Jenkins Builder: Verified
  fixeria: Looks good to me, but someone else must approve




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: merged
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: Ie3632da3949eeafd234634849249c4d7c8a332d1
Gerrit-Change-Number: 38349
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>

Reply via email to