tests: add second VTY reference

Related: OS#4292
Change-Id: I2f0170e14febc68c0122062358f362003a2e3e5e
This commit is contained in:
Oliver Smith 2019-12-02 15:52:46 +01:00
parent a05e5940f1
commit 33d3786e1c
4 changed files with 62 additions and 2 deletions

View File

@ -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 @@ CLEAN_FILES = $(ASCIIDOC)
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

View File

@ -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>

View File

@ -0,0 +1,2 @@
<vtydoc xmlns='urn:osmocom:xml:libosmocore:vty:doc:1.0'>
</vtydoc>

View File

@ -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>