From ad5267a19301df6fecf6f334c93b78bbe14ecddf Mon Sep 17 00:00:00 2001 From: Alexander Lutay Date: Wed, 7 Mar 2018 13:32:52 +0100 Subject: [PATCH] TT#33030 Add sample how to append iproute2 in config.yml Change-Id: I03c8ed56e3b5f00b4a54463848dd04a86492624e --- docs/ngcpcfg.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/ngcpcfg.txt b/docs/ngcpcfg.txt index afad29a6..5b46f6dd 100644 --- a/docs/ngcpcfg.txt +++ b/docs/ngcpcfg.txt @@ -450,6 +450,13 @@ Here you can find the most popular cases for YML configs modification: ngcpcfg set /etc/ngcp-config/config.yml "sshd.listen_addresses.APPEND='1.2.3.4'" # replace the first element in the array/hash: ngcpcfg set /etc/ngcp-config/config.yml "sshd.listen_addresses.0='1.2.3.4'" + # add the list of hashes to iproute2 section: + ngcpcfg set /etc/ngcp-config/config.yml iproute2.rt_tables.APPEND='{"name","my_route","id",205}' + # iproute2: + # - rt_tables: [] + # + rt_tables: + # + - id: 205 + # + name: my_route **show** []::