Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Subport] Fix issues on portsorch.cpp
1. [Subport] Keep vlan tag when add member port into portchannel of subport When add member port into portchannel, if the portchannel has subport interface, the port should keep the vlan tag. 2. Handle HostIntfsStripTag properly removeBridgePort should check port.m_child_ports.empty() before HostIntfsStripTag(,SAI_HOSTIF_VLAN_TAG_STRIP). 3. fix ERR syslog while test_subport setup/teardown fix 2: config portchannel add PortChannel1 config interface ip add PortChannel1.40 100.40.40.40/24 config interface ip remove PortChannel1.40 100.40.40.40/24 config portchannel del PortChannel1 syslog: Dec 27 15:01:38.336049 as5812-54x NOTICE swss#orchagent: :- removeRouterIntfs: Router interface is still referenced Dec 27 15:01:38.337833 as5812-54x ERR swss#orchagent: :- meta_generic_validation_remove: object 0x2000000000a81 reference count is 1, can't remove Dec 27 15:01:38.338038 as5812-54x ERR swss#orchagent: :- removeLag: Failed to remove LAG PortChannel1 lid:2000000000a81 root cause: portchannel is still reference by subport solution: PortsOrch::doLagTask, op == DEL_COMMAND ===== fix 3: syslog: Dec 24 17:28:01.030970 as5812-54x ERR swss#orchagent: :- meta_sai_validate_oid: oid is set to null object id on SAI_OBJECT_TYPE_LAG_MEMBER Dec 24 17:28:01.031218 as5812-54x ERR swss#orchagent: :- setCollectionOnLagMember: Failed to enable collection on LAG member Ethernet28 root cause: PortsOrch::setCollectionOnLagMember/ setDistributionOnLagMember, check lag member id
- Loading branch information