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
"show vlan config" may display wrong information about vlan members after generating vlan members configuration from minigraph and removing vlan members.
We can see that on the new implementation we don’t add the new members to the “members” field on the VLAN table.
In the load_minigraph script we still generate this “members” field on the VLAN table and when we remove member from a vlan it will remove the VLAN_MEMBER table only, the “members” field on the VLAN table is not changing and the member that was removed is still there.
On this scenario when we run show command we see members exist on this vlan although it was removed..
We see this problematic situation because the show command is still using this “members” field when it displays the vlan member information. The “members” field info from the VLAN table is added to the VLAN_MEMBER tables info and together it displayed.
Steps to reproduce the issue:
load minigraph file with vlan members configuration
remove the vlan member
"show vlan config" will still display the removed vlan member
Example to vlan member configuration on the minigraph xml file:
Description
"show vlan config" may display wrong information about vlan members after generating vlan members configuration from minigraph and removing vlan members.
the problem is related to a change in the vlan schema that was changed on this PR:
sonic-net/sonic-utilities#1038
In the new schema, we no longer use the “members” field on the VLAN table:
And the member info is taken only from vlan members tables:
We can see that on the new implementation we don’t add the new members to the “members” field on the VLAN table.
In the load_minigraph script we still generate this “members” field on the VLAN table and when we remove member from a vlan it will remove the VLAN_MEMBER table only, the “members” field on the VLAN table is not changing and the member that was removed is still there.
On this scenario when we run show command we see members exist on this vlan although it was removed..
We see this problematic situation because the show command is still using this “members” field when it displays the vlan member information. The “members” field info from the VLAN table is added to the VLAN_MEMBER tables info and together it displayed.
Steps to reproduce the issue:
Example to vlan member configuration on the minigraph xml file:
Example for removal member command:
sudo config vlan member del 1000 Ethernet8
Describe the results you received:
Describe the results you expected:
Output of
show version
:Output of
show techsupport
:sonic_dump_r-leopard-01_20210714_123802 (1).tar.gz
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: