Change in osmo-gsm-manuals[master]: tests: add second VTY reference

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
Tue Dec 3 15:54:48 UTC 2019


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/16404 )

Change subject: tests: add second VTY reference
......................................................................

tests: add second VTY reference

Related: OS#4292
Change-Id: I2f0170e14febc68c0122062358f362003a2e3e5e
---
M tests/Makefile.am
A tests/test2-vty-reference.xml
A tests/vty-test2/test2_vty_additions.xml
A tests/vty-test2/test2_vty_reference.xml
4 files changed, 62 insertions(+), 2 deletions(-)

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



diff --git a/tests/Makefile.am b/tests/Makefile.am
index 6eba2c5..641b35c 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,7 +1,10 @@
 OSMO_GSM_MANUALS_DIR = $(top_srcdir)
 EXTRA_DIST = test-usermanual-docinfo.xml \
 	test-vty-reference.xml \
-	vty
+	vty \
+	test2-vty-reference.xml \
+	vty-test2 \
+	$(NULL)
 
 # Do not install any of the test pdfs
 OSMO_GSM_MANUALS_NO_INSTALL = 1
@@ -26,7 +29,7 @@
 
 include $(OSMO_GSM_MANUALS_DIR)/build/Makefile.asciidoc.inc
 
-VTY_REFERENCE = test-vty-reference.xml
+VTY_REFERENCE = test-vty-reference.xml test2-vty-reference.xml
 include $(OSMO_GSM_MANUALS_DIR)/build/Makefile.vty-reference.inc
 include $(OSMO_GSM_MANUALS_DIR)/build/Makefile.common.inc
 
diff --git a/tests/test2-vty-reference.xml b/tests/test2-vty-reference.xml
new file mode 100644
index 0000000..b8fea23
--- /dev/null
+++ b/tests/test2-vty-reference.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ex:ts=2:sw=42sts=2:et
+  -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
+-->
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML 5.0//EN"
+"http://docbook.org/xml/5.0/dtd/docbook.dtd" [
+<!ENTITY chapter-vty      SYSTEM      "./common/chapters/vty.xml" >
+<!ENTITY sections-vty     SYSTEM      "generated/docbook_test2-vty-reference.xml"  >
+]>
+
+<book>
+  <info>
+    <revhistory>
+        <revision>
+            <revnumber>v1</revnumber>
+            <date>2nd December 2019</date>
+            <authorinitials>os</authorinitials>
+            <revremark>Initial</revremark>
+        </revision>
+    </revhistory>
+
+    <title>Test VTY Reference No. 2</title>
+
+    <copyright>
+      <year>2019</year>
+    </copyright>
+
+    <legalnotice>
+      <para>This work is copyrighted by <orgname>sysmocom - s.f.m.c. GmbH</orgname>. All rights reserved.
+      </para>
+    </legalnotice>
+  </info>
+
+  <!-- Main chapters-->
+  &chapter-vty;
+</book>
+
diff --git a/tests/vty-test2/test2_vty_additions.xml b/tests/vty-test2/test2_vty_additions.xml
new file mode 100644
index 0000000..a4c675e
--- /dev/null
+++ b/tests/vty-test2/test2_vty_additions.xml
@@ -0,0 +1,2 @@
+<vtydoc xmlns='urn:osmocom:xml:libosmocore:vty:doc:1.0'>
+</vtydoc>
diff --git a/tests/vty-test2/test2_vty_reference.xml b/tests/vty-test2/test2_vty_reference.xml
new file mode 100644
index 0000000..e5674e7
--- /dev/null
+++ b/tests/vty-test2/test2_vty_reference.xml
@@ -0,0 +1,17 @@
+<vtydoc xmlns='urn:osmocom:xml:libosmocore:vty:doc:1.0'>
+  <node id='_common_cmds_'>
+    <name>Common Commands</name>
+    <description>These commands are available on all VTY nodes. They are listed here only once, to unclutter the VTY reference.</description>
+    <command id='help'>
+      <params>
+        <param name='help' doc='Description of the interactive help system' />
+      </params>
+    </command>
+    <command id='list'>
+      <params>
+        <param name='list' doc='Print command list' />
+      </params>
+    </command>
+    <!-- (...) -->
+  </node>
+</vtydoc>

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/16404
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Change-Id: I2f0170e14febc68c0122062358f362003a2e3e5e
Gerrit-Change-Number: 16404
Gerrit-PatchSet: 3
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191203/95ddca42/attachment.htm>


More information about the gerrit-log mailing list