aboutsummaryrefslogtreecommitdiffstats
path: root/OsmoGGSN
AgeCommit message (Collapse)AuthorFilesLines
2018-11-21*.adoc: use {srcdir} for out-of-tree buildsOliver Smith1-4/+4
Define a new {srcdir} variable in Makefile.asciidoc.inc, that can be used in all adoc files. The value is the same as the Makefile variable $(srcdir). Use {srcdir} in the "include::" lines of all adoc files. (moving manuals to project repositories 13/19) Related: OS#3385 Change-Id: I823e3d534cbc9ffceb68d3ab14c9f6710ff2eb2a
2018-11-21Osmo*/Makefile.am: use $(srcdir), $(top_srcdir)Oliver Smith1-2/+2
Use $(srcdir) infront of all relative paths, which reference other files in the repository. Use $(top_srcdir) as OSMO_GSM_MANUALS_DIR. This is needed for out-of-tree building. (moving manuals to project repositories 11/19) Related: OS#3385 Change-Id: I2454d7507fae4e1c47458a1adf36f68e637f4bbc
2018-11-21*-vty-reference.xml: use ./common, not ../commonOliver Smith1-1/+1
Change hardcoded ../common paths, which will break when moving the project specific manuals in other repositories, to ./common so they use the dynamically created symlink that always points to the right path. (moving manuals to project repositories 9/19) Change-Id: I5368bcff34586c515af23e5a868417e561fd539d
2018-11-21*.adoc: include from ./common, not ../commonOliver Smith1-8/+8
Change hardcoded ../common paths, which will break when moving the project specific manuals in other repositories, to ./common so they use the dynamically created symlink that always points to the right path. (moving manuals to project repositories 8/19) Related: OS#3385 Change-Id: Id984f5e85481f7877567ee6d21f7ca455d773ef1
2018-11-21use autotools to add "make install" targetOliver Smith1-0/+0
For reasoning why a transition to autotools is desired, see the commit message of the previous patch in this series. "make install" copies the "build", "common" dirs, as well as the "*.xsl" files to $(prefix)/share/osmo-gsm-manuals. Prefix is typically /usr/local. Also a pkg-config file gets installed, so the path of the shared files can be looked up by autoconf scripts of the project repositories. The check-depends script is installed to $(prefix)/bin/osmo-gsm-manuals-check-depends and will be used by project specific autoconf scripts, too. All existing make targets ("make", "make check", "make upload") are still working, users only need to run "autoreconf -fi" and "./configure" beforehand. Makefile.am uses custom install-data-hook and uninstall-local targets, so we don't need to specify each file of the relevant subdirs in a _DATA variable (no extra maintenance effort). (moving manuals to project repositories 5/19) Related: OS#3385 Change-Id: I8e7036fae062ee783cb132b14608827a82c5e7c7
2018-11-20s/TOPDIR/OSMO_GSM_MANUALS_DIR/gOliver Smith1-4/+4
Replace TOPDIR with OSMO_GSM_MANUALS_DIR. When the project specific manuals will be built out of this repository, we still need to refer to the top directory of the shared content. But it will be in another repository, so we need to rename the variable to avoid confusion. (moving manuals to project repositories 3/19) Related: OS#3385 Change-Id: I2af797546de048a6ab19a5cbc755e5e15575d7ab
2018-11-18ggsn: update vty referenceNeels Hofmeyr1-44/+118
Change-Id: I8a5c37505c0180d5c04c7792d6d0afdb0dffb282
2018-03-17vty-ref: Update URI of docbook 5.0 schemaHarald Welte1-2/+2
... to match the /etc/xml/catalog file on debian (no "www" in hostname) Change-Id: Id9f3579c7f2bc3af13fe30b5268f249b6f59ed0d
2018-03-06OsmoGGSN: update vty referenceNeels Hofmeyr1-6/+174
Add new (generic) logging commands, talloc context print commands. Add the jitter buffer logging category. Change-Id: Ifdc735df6221bf6e9b6247912f2958974dcfc4f2
2017-12-09OsmoGGSN: fix VTY additions' node IDsNeels Hofmeyr1-8/+8
Change-Id: I8cd5eb64300151d0de8023ed019568cfdc4fe453
2017-12-09OsmoGGSN vty: update VTY referenceNeels Hofmeyr1-391/+116
Apply VTY reference changes from libosmocore: change node IDs from index numbers to meaningful names from VTY node prompts. Introduce section with common commands, do not repeat the common commands on each child node. Populate section names (so far empty). Add apn / gpdu VTY reference. This is generated using the recent libosmocore vty doc patches that conclude in libosmocore change-id Iedd67750539b676271de0e0e9316d4e6f794406a. Change-Id: Ia269c4bda0aa0b905abcccc75338f5f808e01727
2017-12-09OsmoGGSN VTY ref: prep: convert newlines to unixNeels Hofmeyr1-1480/+1480
To omit whitespace changes in an upcoming patch that updates the VTY reference and will use '\n' line breaks, convert line breaks from '\r\n' to '\n' without any other changes. Change-Id: Id0d1a3a82c3d670cbb041884554b5d79fdfb0f28
2017-11-20OsmoGGSN: typo: privelegesNeels Hofmeyr1-1/+1
Change-Id: Id7e59f5dfcbb632fde6c35ef014e9b85099fe06d
2017-11-20OsmoGGSN: add Routing section for IP forward and masqueradingNeels Hofmeyr1-0/+32
Change-Id: Ie49ca7a45113f49e89ce09017500008cbec757f5
2017-11-20OsmoGGSN: multiple instances: mention GTP portNeels Hofmeyr1-0/+9
Change-Id: I781feeb955ace17d93206bc98d12bc423584ce32
2017-11-20OsmoGGSN: more info on non-root operation / tun creationNeels Hofmeyr1-5/+16
Add examples for 'ip addr add' and mention correspondence to config file, add examples for enabling masquerading and IP forwarding, place the non-root config in its own section and highlight the diffs. Add tiny hint at systemd-networkd. Change-Id: I02bd9cfa35c7f2fb338d5d92c2e968fe80574a78
2017-11-11GGSN: don't say 'NITB'Neels Hofmeyr1-1/+1
Change-Id: I960ce8ee749621176ceaa556a1fe93b54e08b6fc
2017-10-25refactor Makefile build rules, don't use the FORCENeels Hofmeyr1-35/+6
The initial goal was to make sure we don't have overall FORCE rules causing unnecessary rebuilds -- annoying while writing documentation. As I looked through possible dependencies, I finally understood what's going on here. Remove code dup and nicely sort which belongs where in build/Makefile.*.inc. In each, describe in a top comment how to use it, and also unify how they are used: - Rename Makefile.inc to Makefile.docbook.inc and refactor - Add Makefile.vty-reference.inc - Add Makefile.common.inc Make sure that we accurately pick up all dependencies. Drop use of the macro called 'command', that silenced the actual command lines invoked and replaced them with short strings: it obscures what is actually going on and makes the Makefiles hard to read and understand. Each manual's makefile is greatly reduced to few definitions and a Makefile include, e.g. one for asciidoc, one for VTY reference. Move common/bsc_vty_additions.xml to OsmoBSC/vty/libbsc_vty_additions.xml, link from OsmoNITB. It applies only to OsmoBSC and OsmoNITB. Add a script that combines a VTY reference file with *all* additions files found in a manual's vty/ dir. Call this from Makefile.vty-reference.inc. Change-Id: I9758e04162a480e28c7dc83475b514cf7fd25ec0
2017-10-14GGSN: Document how 'ip tuntap' is used for non-root; call netdev 'apn0'Harald Welte1-8/+44
* Some people want to manually create/configure their tun devices, show them how to do this using ip with the correct parameters * Let's not call the network device 'ggsn' but rather 'apn0', as the device has a 1:1 correspondence to the APN, not to the GGSN. Change-Id: I2fef818bfcb8cb521397136539f492922d5f6def
2017-09-25Expand OsmoGGSN manualMax1-6/+51
* add cross-references * add example of running without root priviledges Change-Id: I1743f370ee2b351d2847f2e29e0f59f35cd401f4
2017-09-07OsmoGGSN: Add VTY reference manualHarald Welte4-1/+1575
Change-Id: Iddf6fe26689172d7db001198943c816eaaed7931
2017-09-06initial version of OsmoGGSN user manualHarald Welte6-0/+517
Closes: OS#1721 Change-Id: I7cdf150e8dd4f9dfc5e6d28e780d05dc1e1e5458