You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The command should be generated as:
// /bin/bash -c '/sbin/bridge vlan del vid {{vlan_id}} dev {{port_alias}} &&
// ( /sbin/bridge vlan show dev {{port_alias}} | /bin/grep -q None;
// ret=$?; if [ $ret -eq 0 ]; then
// /sbin/ip link set {{port_alias}} nomaster;
// elif [ $ret -eq 1 ]; then exit 0;
// else exit $ret; fi )'
Configuration: all ports in Vlan 1000
Execute: admin@sonic:~$ sudo config vlan member del 1000 Ethernet124
Check output of the following command:
root@sonic:/# bridge vlan show dev Ethernet124
port vlan ids
root@sonic:/# bridge vlan show dev Ethernet124 | grep -q None ; echo $?
1
Since return code is 1 the script decides not to remove interface from default dot1q bridge as there are other vlans configured, but they are not.
Expected behaviour:
If port was member of single vlan then remove it from default dot1q bridge.
The text was updated successfully, but these errors were encountered:
…net#1068)
The fixsonic-net#1067 is not enough. If docker user is non-root, set capability CAP_SYS_TIME for settimeofday success in syncd test, then test_watchdog_timer_clock_rollback can be run.
Co-authored-by: junhuazhai <junhuazhai@contoso.com>
From vlanmgr.cpp:
Configuration: all ports in Vlan 1000
Execute:
admin@sonic:~$ sudo config vlan member del 1000 Ethernet124
Check output of the following command:
Since return code is 1 the script decides not to remove interface from default dot1q bridge as there are other vlans configured, but they are not.
Expected behaviour:
If port was member of single vlan then remove it from default dot1q bridge.
The text was updated successfully, but these errors were encountered: