Mellanox / bfscripts

Collection of scripts used for BlueField SoC system management.
BSD 2-Clause "Simplified" License
20 stars 27 forks source link

bfcfg: fix a warning when creating VLAN on OOB interface #205

Closed lsun100 closed 10 months ago

lsun100 commented 10 months ago

This commit fixes a warning message when adding VLAN on OOB interface where it already exists. Since it's a fixed VLAN ID, it doesn't cause any functionality issue rather than the warning message. The fix is to clear the 'i' attribute before overwriting existing file.

RM #3755688