summaryrefslogtreecommitdiff
path: root/src/conf_mode/high-availability.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-02-13 20:29:25 +0100
committerChristian Poessinger <christian@poessinger.com>2022-02-13 20:29:25 +0100
commit2cec431e5caf9df85640f707cd6dc3077c17c238 (patch)
treef5534b29e37a2c9ec3f25e0a2a018fced03bce36 /src/conf_mode/high-availability.py
parentb40315b3c5051888f499961e63410e14c5d1bad7 (diff)
downloadvyos-1x-2cec431e5caf9df85640f707cd6dc3077c17c238.tar.gz
vyos-1x-2cec431e5caf9df85640f707cd6dc3077c17c238.zip
vrf: T4191: bugfix for "ip rule" when VRFs are created
We always mangled and worked on the "ip rule" singleton even when nothing needed to be changed. This resulted in a VRF hickup when the same VRF was added and removed multiple times. set interfaces ethernet eth1 vrf foo set vrf name foo table '1000' commit delete interfaces ethernet eth1 vrf delete vrf commit set interfaces ethernet eth1 vrf foo set vrf name foo table '1000' commit broke reachability on eth1 - a reboot was required. This change will now only alter the ip rule tables once when VRF instances are created for the first time and will not touch the Kernel "ip rule" representation afterwards.
Diffstat (limited to 'src/conf_mode/high-availability.py')
0 files changed, 0 insertions, 0 deletions