Change in osmo-e1-recorder[master]: tests: Add test_nodes.vty for VTY interface testing

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Wed Dec 4 11:04:46 UTC 2019


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-e1-recorder/+/16463 )


Change subject: tests: Add test_nodes.vty for VTY interface testing
......................................................................

tests: Add test_nodes.vty for VTY interface testing

Change-Id: I322e8857990f77246bcf4dbc0510f4b42527dc82
---
M tests/Makefile.am
A tests/test_nodes.vty
2 files changed, 68 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-e1-recorder refs/changes/63/16463/1

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 970df87..9f0552e 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -7,9 +7,6 @@
 	$(MAKE) vty-test
 	osmotestvty.py -p $(abs_top_srcdir) -w $(abs_top_builddir) -v
 	osmotestconfig.py -p $(abs_top_srcdir) -w $(abs_top_builddir) -v
-	$(srcdir)/vty_test_runner.py -w $(abs_top_builddir) -v
-	$(srcdir)/ctrl_test_runner.py -w $(abs_top_builddir) -v
-	rm -f $(top_builddir)/sms.db $(top_builddir)/gsn_restart $(top_builddir)/gtphub_restart_count
 else
 python-tests: $(BUILT_SOURCES)
 	echo "Not running python-based tests (determined at configure-time)"
diff --git a/tests/test_nodes.vty b/tests/test_nodes.vty
new file mode 100644
index 0000000..ec52843
--- /dev/null
+++ b/tests/test_nodes.vty
@@ -0,0 +1,68 @@
+osmo-e1-recorder> show e1_line
+E1 Line Number 0, Name , Driver dahdi
+DAHDI Span 1 non-existant
+E1 Line Number 1, Name , Driver dahdi
+DAHDI Span 2 non-existant
+osmo-e1-recorder> show e1_timeslot
+E1 Timeslot  1 of Line 0 is Type RAW
+E1 Timeslot  2 of Line 0 is Type RAW
+E1 Timeslot  3 of Line 0 is Type RAW
+E1 Timeslot  4 of Line 0 is Type RAW
+E1 Timeslot  5 of Line 0 is Type RAW
+E1 Timeslot  6 of Line 0 is Type RAW
+E1 Timeslot  7 of Line 0 is Type RAW
+E1 Timeslot  8 of Line 0 is Type RAW
+E1 Timeslot  9 of Line 0 is Type RAW
+E1 Timeslot 10 of Line 0 is Type RAW
+E1 Timeslot 11 of Line 0 is Type RAW
+E1 Timeslot 12 of Line 0 is Type RAW
+E1 Timeslot 13 of Line 0 is Type RAW
+E1 Timeslot 14 of Line 0 is Type RAW
+E1 Timeslot 15 of Line 0 is Type RAW
+E1 Timeslot 16 of Line 0 is Type RAW
+E1 Timeslot 17 of Line 0 is Type RAW
+E1 Timeslot 18 of Line 0 is Type RAW
+E1 Timeslot 19 of Line 0 is Type RAW
+E1 Timeslot 20 of Line 0 is Type RAW
+E1 Timeslot 21 of Line 0 is Type RAW
+E1 Timeslot 22 of Line 0 is Type RAW
+E1 Timeslot 23 of Line 0 is Type RAW
+E1 Timeslot  1 of Line 1 is Type RAW
+E1 Timeslot  2 of Line 1 is Type RAW
+E1 Timeslot  3 of Line 1 is Type RAW
+E1 Timeslot  4 of Line 1 is Type RAW
+E1 Timeslot  5 of Line 1 is Type RAW
+E1 Timeslot  6 of Line 1 is Type RAW
+E1 Timeslot  7 of Line 1 is Type RAW
+E1 Timeslot  8 of Line 1 is Type RAW
+E1 Timeslot  9 of Line 1 is Type RAW
+E1 Timeslot 10 of Line 1 is Type RAW
+E1 Timeslot 11 of Line 1 is Type RAW
+E1 Timeslot 12 of Line 1 is Type RAW
+E1 Timeslot 13 of Line 1 is Type RAW
+E1 Timeslot 14 of Line 1 is Type RAW
+E1 Timeslot 15 of Line 1 is Type RAW
+E1 Timeslot 16 of Line 1 is Type RAW
+E1 Timeslot 17 of Line 1 is Type RAW
+E1 Timeslot 18 of Line 1 is Type RAW
+E1 Timeslot 19 of Line 1 is Type RAW
+E1 Timeslot 20 of Line 1 is Type RAW
+E1 Timeslot 21 of Line 1 is Type RAW
+E1 Timeslot 22 of Line 1 is Type RAW
+E1 Timeslot 23 of Line 1 is Type RAW
+osmo-e1-recorder> enable
+osmo-e1-recorder# configure terminal
+osmo-e1-recorder(config)# list
+...
+  e1_input
+  recorder
+...
+osmo-e1-recorder(config)# recorder
+osmo-e1-recorder(config-recorder)# list
+...
+  line <0-255> ts <1-31> mode (none|hdlc|trau|raw)
+  line <0-255> mirror <0-255>
+  no line <0-255> mirror
+  storage-path PATH
+  file-size-mb <1-9999999>
+...

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-e1-recorder/+/16463
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-e1-recorder
Gerrit-Branch: master
Gerrit-Change-Id: I322e8857990f77246bcf4dbc0510f4b42527dc82
Gerrit-Change-Number: 16463
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191204/b1e62cdf/attachment.htm>


More information about the gerrit-log mailing list