summaryrefslogtreecommitdiff
path: root/src/system/vrrp-script-wrapper.py
diff options
context:
space:
mode:
authorzsdc <taras@vyos.io>2019-12-31 00:04:50 +0200
committerzsdc <taras@vyos.io>2019-12-31 00:04:50 +0200
commit452a9651f215205b34268c723beec5b2f964ad09 (patch)
treebe598eceff3340e0ae8fade0736969e2dd400ba3 /src/system/vrrp-script-wrapper.py
parent7fcbd30b3357a047c57db39d0b07ed797f1392df (diff)
downloadvyos-1x-452a9651f215205b34268c723beec5b2f964ad09.tar.gz
vyos-1x-452a9651f215205b34268c723beec5b2f964ad09.zip
FRRouting: T1514: Extended FRR restarting functionality and fixed some bugs
This change addressed to fix bug with empty configuration after FRR restarting in some cases and protect from some other potential problems. * added warning and request for confirmation before doing any actions * added a couple of safety checks (already running restart, active watchfrr.sh or vtysh session) * now Python script running via sudo to give us the ability to get processes information and work with all directories and vtysh * moved configuration restoring functionality from frrcommon.sh to Python script, as frrcommon.sh implementation in some cases not load configuration in time, which leads to empty config after * the `/etc/frr/frr.conf` is not used anymore. Instead, we are saving active configuration to the temporary directory
Diffstat (limited to 'src/system/vrrp-script-wrapper.py')
0 files changed, 0 insertions, 0 deletions