Commit Graph

512 Commits

Author SHA1 Message Date
Vadim Yanitskiy db907f40d0 chapters/vty: add in-place comments to the attribute examples
Change-Id: Ic68ca1de32e6ceceb75039045bf28d6680a59287
Related: SYS#4937
2020-10-30 06:07:06 +07:00
Vadim Yanitskiy 8ca4ca87b4 chapters/vty: add documentation for the expert mode
Change-Id: Ic43fbef8df77ad5561ca4521a29bc9f60bd3d7ac
Related: SYS#4910
2020-10-30 06:06:47 +07:00
Vadim Yanitskiy aa366dd619 chapters/vty: add IPv4/mask and IPv6/mask examples
Change-Id: I0946cf8629c4a77dfa8e9be90da85c2988ecef38
2020-10-24 05:52:02 +07:00
Harald Welte 48e7e3ff7d biblio: Add 3GPP TS 31.103 (ISIM)
Change-Id: I7ca068ff5cb8a21b1a48f95b8b7b660ae0f0dae0
2020-10-14 20:31:35 +02:00
Philipp Maier fcafb7a297 vty: explain how command attributes are used
The VTY features a method to associate commands with certain
attrubutes. Tell the VTY user how to use the help to display the
attributes and their meaning.

Change-Id: If03e07f1f8e7e3c0166a00e3f395e2a46a9a7713
Related: SYS#4937, OS#1601
2020-10-09 18:44:04 +02:00
Vadim Yanitskiy 204550e124 vty_reference.xsl: also handle 'global' and 'library' attributes
Unfortunately, there is no xsl:function support in XSL 1.0, so
we have to duplicate the existing code :/

For more details about the attribute scopes / types, see:

https://lists.osmocom.org/pipermail/openbsc/2020-October/013278.html

Change-Id: I7f7e6e32c156de24dcc80166a29119e6dda8c169
Related: SYS#4937
2020-10-07 15:09:00 +07:00
Vadim Yanitskiy d3ac855a38 vty_reference.xsl: handle application specific attributes
Change-Id: I17794b2cb476bd54c7b35a1e23c0727352c3a2a9
Related: SYS#4937
2020-09-21 14:12:38 +00:00
Pau Espin 0ef694525c trx_if.adoc: Document RFMUTE TRXC command
Change-Id: Id7031b52639f55d36d1589a786e0d29ebb5def53
2020-08-26 16:04:43 +02:00
Harald Welte 2944c5cda6 port_numbers: Add port numbers for upcoming OsmoSMLC
Change-Id: I09c9a2141dda266999b89513f1faa86adfca8e6a
2020-08-21 18:00:47 +02:00
Pau Espin f9e914f956 chapters: Introduce vty_cpu_sched.adoc chapter
Documents new features added in libosmocore.git Change-Id
If76a4bd2cc7b3c7adf5d84790a944d78be70e10a.

This file will be imported in user manuals of programs using the
mentioned libosmovty features.

Related: SYS#4986
Change-Id: Icd75769ef630c3fa985fc5e2154d5521689cdd3c
2020-08-10 14:34:58 +00:00
Pau Espin c8fcb80aed Drop common/chapters/{bts,bsc}.adoc
Those files were only used by osmo-bsc.git and openbsc.git, the later
being depreacted and not maintained. Hence, new features are added to
the first one only, and documentation diverges over time, so it makes no
sense to keep it shared.

Files were copied over in:
openbsc.git Change-Id Ic3b4192238be3147f61779845521eae84511fb7e
osmo-bsc.git Change-Id I20aa60d2f4111d66e922f3e2a73a20352ec1f7e4

Change-Id: I4d98049f6b49871bf5aabe4392da7a608fbc1fe9
2020-07-20 13:19:16 +02:00
Harald Welte 96b325b735 synchronize port_numbers.adoc with wiki
The osmo-uecups related ports were not added at the time, and the
upcoming osmo-e1d VTY port had to be added, too.

Change-Id: If4128991efdba3a1c3c38e6cd688593a212346f6
2020-06-29 10:45:12 +02:00
Neels Hofmeyr 6a13b246e0 bibliography, glossary: add MSC pooling related bits
Add 3GPP TS 23.236, "NRI" and "MSC pool".

Depends: Ia60afc8a91189c9de0d8e8065781ed463bf18d7e (osmo-bsc)
Change-Id: I0640db26dc85ab7723c7160e405fc73f412fd706
2020-06-18 11:23:09 +00:00
Neels Hofmeyr d2c6806b0a vty reference: allow reference XML generated at build time
Add variable BUILT_REFERENCE_XML for callers to indicate dependencies for the
VTY reference.

Add script find_existing_path.sh to pick a given path from either builddir or
srcdir, whichever exists.

In Makefile.vty-reference.inc, use find_existing_path.sh to make the VTY
reference build rules work no matter whether the reference.xml is built in
builddir or committed in srcdir.

Change-Id: I613d692328050a036d05b49a436ab495fc2087ba
2020-06-08 11:57:54 +02:00
Pau Espin b076dc585c trx_if.adoc: Document cmd NOMTXPOWER
TRXC message is implemented in:
osmo-bts.git I682211f3d664c21f923ca4a530e0464ca383b6d9
osmo-trx.git I1d7efe56e008d8d60e23f9a85aa40809f7f84d9c

Change-Id: Idb5bb56fc039c7393922243c761f3395a094a55b
2020-06-02 14:29:59 +02:00
Pau Espin d78c670ee9 trx_if: Clarify {SET;ADJ}POWER TRXC commands
Change-Id: I4f1986a1ace3fc9cbef10fc0508407a3d608670b
2020-06-02 14:26:15 +02:00
Vadim Yanitskiy b01306c59a GSUP: fix E-Routing-Error: both session state / ID IEs are optional
If a message that has triggered the E-Routing-Error contains no
session related IEs, they will also be absent in the error message.

Change-Id: Iaf9d8e77c8734672cfd8a265b8cfdb3bc929a31b
2020-04-19 19:45:17 +07:00
Vadim Yanitskiy 49ab1cb2fc port_numbers: fix: GSMTAP has noting to do with port 2427/udp
Change-Id: Ic37ee2e2da290521ac226a9720d48fbbe0883f3d
2020-04-17 02:05:47 +07:00
Vadim Yanitskiy 0d72300779 logging: fix section 6.5.3: logging level s/all/force-all/ fatal
The special 'all' keyword has been deprecated a long time ago
due to its ambiguity, and replaced by 'force-all'.

Change-Id: I759d96716e964d499c0724d481b2f3e5062fb052
2020-04-17 01:05:44 +07:00
Neels Hofmeyr fef7b5173d add common/chapters/cs7-config
This will be used by the manuals of osmo-bsc, osmo-hnbgw, osmo-msc, osmo-sgsn.

Related: OS#2767
Change-Id: Ia2508d4c7b0fef9cdc57e7e122799a480e340bf7
2020-03-19 19:00:27 +01:00
Harald Welte f29a9f2329 port_numbers: Add missing mDNS port for D-GSM / osmo-hlr
Somehow despite all the warnings everywhere about keeping wiki + code
in sync, this didn't get updated :(

Change-Id: I37e4ea4e6ac8291a36761ecc1849f06847a69557
2020-03-08 10:44:52 +01:00
Harald Welte d8b01c4460 port_numbers: Add osmo-mgw CTRL port
Change-Id: I41de762bbceeaf219d00bdc4e4f2c46c3b11c436
Related: OS#4441
2020-03-08 10:44:04 +01:00
Neels Hofmeyr db9b39708d fixup: ensure existence of $(abs_srcdir)
Use $(abs_srcdir) if present, or use `realpath $(srcdir)` otherwise.

Previous commit introduced using $(abs_srcdir) instead of $(srcdir), but in
setups with static makefiles (osmo-nitb and osmocom-bb), there is no
$(abs_srcdir) set, which in effect broke their manuals build.

Change-Id: I1db85c9319c79171bbc6de2f4f8d3a9db3b11b57
2020-02-10 12:30:20 +01:00
Neels Hofmeyr c8c77af77f fix srcdir to reflect $abs_srcdir
When building .adoc files, we pass a srcdir variable to allow including files
that are only in the source tree, but not in the build tree.

However, so far {srcdir} is a relative path, and when an .adoc file includes an
.adoc file in a subdir, then the directive
  include::{srcdir}
is evaluated relative to the .adoc file in the subdir, not in the original make
CWD. Hence the path ends up pointing at the wrong place.

Fix this by passing an absolute path as srcdir instead.

I discovered this here:

osmo-hlr/doc/manuals/osmohlr-usermanual.adoc:
  include::{srcdir}/chapters/proxy_cache.adoc[]

osmo-hlr/doc/manuals/chapters/proxy_cache.adoc:
  ["mscgen"]
  ----
  include::{srcdir}/chapters/proxy_cache_attach.msc[]
  ----

(Note that I could have just removed "{srcdir}/chapters/" since .adoc and .msc
are in the same dir, but the point of this patch is to make {srcdir} generally
useful in all levels of included .adoc files.)

The above resulted in:

  asciidoc: include: /n/s/dev/src/osmo-hlr/doc/manuals/chapters/proxy_cache.adoc
  asciidoc: osmohlr-usermanual.adoc: line 29: reading: /n/s/dev/src/osmo-hlr/doc/manuals/chapters/proxy_cache.adoc
  asciidoc: WARNING: proxy_cache.adoc: line 263: include file not found: /n/s/dev/src/src/osmo-hlr/doc/manuals/chapters/proxy_cache_attach.msc

Note that /n/s/dev/src/src/osmo-hlr should only have one 'src' element.
With $abs_srcdir this becomes:

  asciidoc: include: /n/s/dev/make/osmo-hlr/../../src/osmo-hlr/doc/manuals/chapters/proxy_cache.adoc
  asciidoc: osmohlr-usermanual.adoc: line 29: reading: /n/s/dev/make/osmo-hlr/../../src/osmo-hlr/doc/manuals/chapters/proxy_cache.adoc
  asciidoc: include: /n/s/dev/make/osmo-hlr/../../src/osmo-hlr/doc/manuals/chapters/proxy_cache_attach.msc
  asciidoc: proxy_cache.adoc: line 263: reading: /n/s/dev/make/osmo-hlr/../../src/osmo-hlr/doc/manuals/chapters/proxy_cache_attach.msc

I have not investigated whether/why all the other 'include::' all over the
place seem to be working -- maybe we never include .adoc in subdirectories that
in turn use {srcdir}? Or we have lots of missing images we didn't notice yet?

Todo: the missing include should have fatally broken the build, but it just
builds the PDF with missing images. a) the mscgen plugin finding empty content
and b) the missing .png files should have caused the build to abort?

Change-Id: If847f16eab3ddba6009f67ed641b48805467eb1b
2020-01-24 05:13:15 +01:00
Daniel Willmann 2dc172cff6 bts.adoc: Add information about RACH tuning parameters
Related: OS#2722
Change-Id: I9a6b84cb988be2143672b954e7c6827f691f4a01
2020-01-09 10:55:49 +01:00
Daniel Willmann c2fb037017 bts: Document access control classes and acc ramping
Change-Id: Ia6fbd2da0d03dd372f3d1a34fbed8ac6fc7ed08c
Related: OS#2722
2020-01-06 16:37:50 +01:00
Pau Espin f3a980c894 Bump version: 0.2.0.18-258b → 0.3.0
Change-Id: I555f20da93d4cad0998d5067b5999a4a253061a7
2020-01-03 13:00:12 +01:00
Vadim Yanitskiy 258bbad921 chapters/gsup.adoc: fix message definitions containing gsup-ie-pdpinfo
Change-Id: I7713635e15c1d0680fd8d8c11703683710d9c457
2020-01-03 12:51:35 +01:00
Vadim Yanitskiy d8dd8a7355 chapters/gsup.adoc: further documentation for SM-RP-DA/OA IE coding
Change-Id: I315ae412c83de80f09284c8c1f28faf360ac4662
Related: OS#4324
2020-01-03 12:51:35 +01:00
Harald Welte 293b0faaed Add GPRS
Change-Id: Ib3218c035445875a079f3ef3aa72bbf6d8c668b6
2019-12-26 08:38:14 +01:00
Neels Hofmeyr 117844bc8a D-GSM biblio entries
Change-Id: Ief8dd1998e2445aea41fe9f0c8a98d6cd515c8a5
2019-12-09 13:37:02 +01:00
Oliver Smith acc127c022 debian/check-depends.sh: add inkscape to depends
Related: OS#4314
Change-Id: I83864af60ccb1ae4170c2cec90ce3f388cc305ae
2019-12-09 08:38:35 +01:00
Oliver Smith 0999d41794 Drop python2 and pychart dependencies
Python 2 is EOL at the end of 2019, so don't depend on it anymore.
Remove pychart support, because upstream is dead and there is no python3
version. We were only using it for one graph, and that has been
replaced in osmo-bsc I36b721f895caee9766528e14d854b6aa2a2fac85.

Depends: osmo-bsc I36b721f895caee9766528e14d854b6aa2a2fac85
Related: OS#2819
Change-Id: I57522e57e39682d6d123af4584785d327361e5a3
2019-12-05 16:40:13 +01:00
Oliver Smith 33d3786e1c tests: add second VTY reference
Related: OS#4292
Change-Id: I2f0170e14febc68c0122062358f362003a2e3e5e
2019-12-03 11:45:03 +01:00
Oliver Smith a05e5940f1 Support multiple VTY reference manuals
Adjust vty_reference_combine.sh, so we can change the output dir from
"generated" to a subdir inside "generated" when building anything but
the first VTY reference.

Add a generic pattern to Makefile.vty-reference for additional VTY
references, that uses slightly different paths compared to the first VTY
reference, in order to avoid collisions.

Related: OS#4292
Change-Id: I4dea3e07b88175b2a88e577129360af7ec5f87e1
2019-12-03 11:44:57 +01:00
Oliver Smith 6ddd200cda Cosmetic: fix Makefile.vty.reference.inc example
All files listed in VTY_REFERENCE must end in ".xml".

Change-Id: I20abc1899f4bdf0a11482224937217dfddc17c53
2019-12-02 15:54:27 +01:00
Harald Welte f1499959dd gsup: Fix description of Purge MS procedure
Change-Id: I5386e438a12edbc6c2ffa3e63400dd2756bb1be6
Closes: OS#1921
2019-12-01 10:18:07 +01:00
Pau Espin b34ffdd069 trx_if.adoc: Fix typo and formatting of bullet list
Change-Id: I45c3ea655139d4777100af02d6b0d9cbf25b02e5
2019-11-22 16:29:58 +01:00
Pau Espin de57f626df Fix python-nwdiag dependency on new debian distros
As seen by https://packages.debian.org, python-nwdiag is only available
in buster and older stables, while python3-nwdiag is available in both
old and new releases as well as testing and unstable.

Related: OS#4246
Depends: osmo-ci I0ebee6ac11df779ab954bd6648a0bebefc3350a2
Change-Id: Ia2c0c833329f8ecab1c427e0d2c002f17ab49a94
2019-11-22 11:24:16 +01:00
Harald Welte 6084c89831 some more missing items from glossary.
Change-Id: I5b1b06342517042b77a42a57d506c8826b556267
2019-11-20 11:06:27 +01:00
Harald Welte 135fd1159d missing glossary items; mostly MSC/3G related
Change-Id: I61a03badbd63b211821f01ec16f64c28ac495952
2019-11-20 11:03:11 +01:00
Harald Welte 9a47d43e2d typo / stylistic fixes by Tom Tessier
Change-Id: Id3009c0c34dd84ab86ce9d34e7a94e0d1003c1ff
2019-11-20 11:02:52 +01:00
Martin Hauke 6239015e03 Fix some typos
Change-Id: Idd9f9640101816ab979b11cc13ffa12d2245108d
2019-11-11 22:08:00 +01:00
Pau Espin 7758a7fedb sigtran-osmocom.adoc: Fix typos
Change-Id: I31314dd36bac202103483bc93350736bfbc76be1
2019-10-09 18:40:24 +02:00
Oliver Smith 7e1ab03302 tests/Makefile.am: always put glossary at the end
Make sure that glossary.adoc is the last file, when building the test
pdf with all common chapters included. Otherwise, newer asciidoc
versions will complain that we cannot have subchapters after the
glossary began:

asciidoc: ERROR: mgcp_extension_osmux.adoc: line 2: glossary section cannot contain sub-sections

Related: OS#4183
Change-Id: I91e857255b1b6d5b8708cc7f7b303a58403120d3
2019-08-30 14:15:39 +02:00
Pau Espin 2333c9f0d1 Bump version: 0.1.1.9-5275 → 0.2.0
Change-Id: I0d1981a1b049bf5a5272210e8553698a6e1571da
2019-08-08 12:07:24 +02:00
Oliver Smith 5275f262c8 Makefile.asciidoc.inc: warnings check not default
Only check for asciidoc warnings in "make check" if
ASCIIDOC_WARNINGS_CHECK is set. Enable it in jenkins.sh by using the
new ./configure --enable-asciidoc-warnings-check parameter (similar to
--enable-werror in other Osmocom projects' configure.ac files).

Related: OS#4140
Change-Id: Iac993a0d1b17205397a1f1ef1a7bd3f9df739e36
2019-08-05 17:50:35 +00:00
Oliver Smith 2d5d6c54e8 Makefile.asciidoc.inc: always run verbose asciidoc
a2x is a "toolchain manager" for asciidoc, that runs the asciidoc
command internally. Replace the previous logic of first running a2x
without any verbose flags, and on failure running asciidoc standalone,
with a verbose flag, to print the errors the occured. Always run a2x
with -vv, so it runs asciidoc in verbose mode.

This prevents losing the error message in case asciidoc or a2x fail
when running with a2x, but then asciidoc succeeds when running
standalone.

Related: OS#4132
Change-Id: I2cbd2985645ecdecc7851849be6a9a95d4b3246e
2019-08-05 17:50:35 +00:00
Pau Espin 35ca68b762 common: trx_if.adoc: Add documentation about TRXDv1 and SETFORMAT
Change-Id: I320539fc9ffb7dd0f09ec18892299bd603cd7a85
2019-07-31 13:13:38 +02:00
Pau Espin c7fb3f28f4 common: trx_if.adoc: Improve documentation
Several fixes and improvements to the documentation.
This documentation still doesn't contain infrmation about TRXDv1, it
will be added in a follow-up commit.

Change-Id: I36e6206b90435964842f9f1ebd982cdaf9777018
2019-07-31 13:13:34 +02:00