diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-02-13 20:29:25 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-02-13 20:29:25 +0100 |
commit | 2cec431e5caf9df85640f707cd6dc3077c17c238 (patch) | |
tree | f5534b29e37a2c9ec3f25e0a2a018fced03bce36 /interface-definitions/include/interface/interface-policy.xml.i | |
parent | b40315b3c5051888f499961e63410e14c5d1bad7 (diff) | |
download | vyos-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 'interface-definitions/include/interface/interface-policy.xml.i')
0 files changed, 0 insertions, 0 deletions