diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-01-24 13:41:33 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-01-24 18:00:55 +0000 |
commit | 53670e1fb201cf1d27b01b4bc796ff097f82552d (patch) | |
tree | 1dabfdd321a7c24a438483ef32989a5ab3c2aa1c /src/conf_mode | |
parent | d736a9b70ca897bdf1e0237b64ab5c7eb958b520 (diff) | |
download | vyos-1x-53670e1fb201cf1d27b01b4bc796ff097f82552d.tar.gz vyos-1x-53670e1fb201cf1d27b01b4bc796ff097f82552d.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
Diffstat (limited to 'src/conf_mode')
0 files changed, 0 insertions, 0 deletions