jolly has uploaded this change for review.
Add VTY test for "listen" node of osmo-stp VTY config
Change-Id: Ia1ceb5f0374f47ff269b557be30fc4d59550d1a6
---
M tests/vty/osmo_stp_test.vty
1 file changed, 46 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran refs/changes/17/42817/1
diff --git a/tests/vty/osmo_stp_test.vty b/tests/vty/osmo_stp_test.vty
index 513c549..e34460b 100644
--- a/tests/vty/osmo_stp_test.vty
+++ b/tests/vty/osmo_stp_test.vty
@@ -388,6 +388,52 @@
OsmoSTP(config-cs7-asp)# no shutdown
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
+...
+ help
+ list [with-flags]
+ show vty-attributes
+ show vty-attributes (application|library|global)
+ write terminal
+ write file [PATH]
+ write memory
+ write
+ show running-config
+ exit
+ end
+ 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)# ?
+...
+ help Description of the interactive help system
+ list Print command list
+ show Show running system information
+ write Write running configuration to memory, network, or terminal
+ exit Exit current mode and down to previous mode
+ end End current mode and change to enable mode.
+ 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.