diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-06-14 13:36:39 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-06-30 11:59:42 +0000 |
commit | a1f140c5a5eb18cb86465bc496349d093382dfef (patch) | |
tree | e3a0aca8132b09be5d965c3f784b15e28c887281 /src/validators/ip-host | |
parent | 93724b596dab81d9a801bb5da7fd06933e293cae (diff) | |
download | vyos-1x-a1f140c5a5eb18cb86465bc496349d093382dfef.tar.gz vyos-1x-a1f140c5a5eb18cb86465bc496349d093382dfef.zip |
T775: Add service config-sync between 2 routers
Service config-sync allows synchronizing a section of
the configuration.
As PoC allow only nat, nat66 and firewall sections
Rertreive the configuration for a section from self node and
send this configuration to the section of the 'secondary' node.
This feature adds a symlink from helper 'vyos_config_sync.py'
to '/config/scripts/commit/post-hooks.d' and config that is
located in '/run/config_sync_conf.conf'
It will synchronyze the config only if the setcion
was changed.
set service config-sync secondary address 192.0.2.11
set service config-sync secondary key xxx
set service config-sync section nat
set service config-sync section nat66
set service config-sync section firewall
set service config-sync mode load
Diffstat (limited to 'src/validators/ip-host')
0 files changed, 0 insertions, 0 deletions