diff options
author | Harald Welte <laforge@gnumonks.org> | 2018-09-25 16:34:19 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-09-25 20:05:02 +0200 |
commit | 81bfef931a35771bcf1b7164b3370ae851821678 (patch) | |
tree | 25cb5c0564da36c86ba2a6664d1b1cf9fcde200c /tests/gprs/gprs_test.c | |
parent | 8515d035ae09edf3ad4d6e0dcbe526eee8bce3eb (diff) |
Add new osmo-config-merge utility
This utility allows you to merge an incremental config "patch"
into an osmocom-style config file.
The patch file follows the same syntax as the original config file.
It works by appending the leaf nodes of the patch file to the respective
nodes of the input config file.
This process allows configuration file changes/updates to be performed
in a more stable/reliable way than by means of [unified] diff files,
as they break every time the context lines break.
osmo-config-merge doesn't suffer from this problem, as it understands
the tree-like nature of VTY config files.
NITE: This only works with configuration files that have proper
indenting, i.e. every level in the hierarchy must be indented excatly
one character, not multiple.
Change-Id: I61997a3668cc3a40d12ca023272f6d782e6fbefe
Diffstat (limited to 'tests/gprs/gprs_test.c')
0 files changed, 0 insertions, 0 deletions