jolly submitted this change.

View Change



4 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.

Approvals: Jenkins Builder: Verified laforge: Looks good to me, but someone else must approve pespin: Looks good to me, approved
Add VTY test for "listen" node of osmo-stp VTY config

Change-Id: Ia1ceb5f0374f47ff269b557be30fc4d59550d1a6
---
M tests/vty/osmo_stp_test.vty
1 file changed, 29 insertions(+), 0 deletions(-)

diff --git a/tests/vty/osmo_stp_test.vty b/tests/vty/osmo_stp_test.vty
index d52ae5f..01cad83 100644
--- a/tests/vty/osmo_stp_test.vty
+++ b/tests/vty/osmo_stp_test.vty
@@ -423,6 +423,35 @@

OsmoSTP(config-cs7-asp)# exit
% NOTE: Skipping automatic restart of ASP since an explicit '[no] shutdown' command was entered
+OsmoSTP(config-cs7)# listen m3ua 2905
+OsmoSTP(config-cs7-listen)# list
+...
+ local-ip (A.B.C.D|X:X::X:X)
+ no local-ip (A.B.C.D|X:X::X:X)
+ init-ip-dscp <0-63>
+ no init-ip-dscp
+ accept-asp-connections (pre-configured|dynamic-permitted)
+ sctp-param init (num-ostreams|max-instreams) <0-65535>
+ no sctp-param init (num-ostreams|max-instreams)
+...
+
+OsmoSTP(config-cs7-listen)# ?
+...
+ local-ip Configure the Local IP Address for xUA
+ no Negate a command or set its defaults
+ init-ip-dscp Specify IP DSCP of Listener
+ accept-asp-connections Define what kind of ASP connections to accept
+ sctp-param Configure SCTP parameters
+...
+
+OsmoSTP(config-cs7-listen)# no ?
+...
+ local-ip Configure the Local IP Address for xUA
+ init-ip-dscp Specify IP DSCP of Listener
+ sctp-param Configure SCTP parameters
+...
+
+OsmoSTP(config-cs7-listen)# exit
OsmoSTP(config-cs7)# as my-ass m3ua
OsmoSTP(config-cs7-as)# list
...

To view, visit change 42817. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: Ia1ceb5f0374f47ff269b557be30fc4d59550d1a6
Gerrit-Change-Number: 42817
Gerrit-PatchSet: 6
Gerrit-Owner: jolly <andreas@eversberg.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: jolly <andreas@eversberg.eu>
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>