Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vlanmgrd]: Create a dummy interface and put into the Bridge
In order to maintain the interface Bridge to be UP all the time, the dummy interface is needed to be the member of the Bridge. Refactored test_vlan.py so that each test is independent from each other and intermediate state will be cleaned up afterwards. Add test_MultipleVlan test to cover scenarios with VLAN and VLAN members change. Before the change of the vlanmgrd, this test would fail when all the VLAN members were removed out of the master. Interface Bridge would show NO-CARRIER and new VLAN cannot be created afterwards. After adding the dummy interface, this test will pass. Signed-off-by: Shu0T1an ChenG <[email protected]>
- Loading branch information