Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent configuring IP interface on a port which is a member of VLAN …
…(#1374) **- What I did** Fixed bug sonic-net/sonic-buildimage#6426 Added a validation in config/main.py to prevent configuring IP interface on a port which is a member of VLAN **- How I did it** Change config/main.py **- How to verify it** Add interface as member in vlan Try to configure IP address on same interface **- Previous command output (if the output of a command-line utility has changed)** Success in the above scenario. **- New command output (if the output of a command-line utility has changed)** prevent configuration: "Interface Ethernet0 is a member of vlan Aborting!"
- Loading branch information