diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-11-25 17:13:24 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-11-25 17:13:24 +0000 |
commit | ad8f5762234d6b482b40b574d97fc51f6557daff (patch) | |
tree | 446f1382783447b5dc8191ed3f812ab37b347d2e /src/validators/port-range | |
parent | e0182613a2013ed7efa5bf99766c89cddefc1b29 (diff) | |
download | vyos-1x-ad8f5762234d6b482b40b574d97fc51f6557daff.tar.gz vyos-1x-ad8f5762234d6b482b40b574d97fc51f6557daff.zip |
T4825: Verify if veth interface not used in conf before deleting
Prevent to delete interface "vethX" which used for another
interface as "vethY peer-name vethX"
set interfaces virtual-ethernet veth0 peer-name 'veth1'
set interfaces virtual-ethernet veth1 peer-name 'veth0'
commit
delete interfaces virtual-ethernet veth0
commit
Diffstat (limited to 'src/validators/port-range')
0 files changed, 0 insertions, 0 deletions