diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-01-24 13:41:33 +0000 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-02-01 15:38:55 +0000 |
commit | 17937d843ba9e266c423ef956a5786dee392153a (patch) | |
tree | 4d3d6c0d3c1a9b89fbc845e19c124eccb20d5598 /src/op_mode/accelppp.py | |
parent | dbbc4962b449b8bb6bef26ae56b9a09d5107588c (diff) | |
download | vyos-1x-17937d843ba9e266c423ef956a5786dee392153a.tar.gz vyos-1x-17937d843ba9e266c423ef956a5786dee392153a.zip |
T5941: Migration policy delete orphaned interface policy
We can get orphaned interface policy when the policy name was
removed from the interface but the node `policy` still attached
to the interface
For exmaple we have orphaned node policy on interface:
```
set interfaces bonding bond0 vif 995 policy
```
This causes of incorrect migration and we do not see VLANs on
the bonding interface after update.
Delete policy from all interfaces if policy does not exist
(cherry picked from commit 53670e1fb201cf1d27b01b4bc796ff097f82552d)
Diffstat (limited to 'src/op_mode/accelppp.py')
0 files changed, 0 insertions, 0 deletions