Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[orchagent] Fix: ERR swss#orchagent: :- setPortPvid: pvid setting for tunnel Port_EVPN_XXX is not allowed #3402

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion orchagent/portsorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5099,7 +5099,7 @@ void PortsOrch::doVlanMemberTask(Consumer &consumer)

if (op == SET_COMMAND)
{
string tagging_mode = "untagged";
string tagging_mode = (port.m_type == Port::TUNNEL)?"tagged":"untagged";

for (auto i : kfvFieldsValues(t))
{
Expand Down
4 changes: 2 additions & 2 deletions orchagent/vxlanorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2410,7 +2410,7 @@ bool EvpnRemoteVnip2pOrch::addOperation(const Request& request)

// SAI Call to add tunnel to the VLAN flood domain

string tagging_mode = "untagged";
string tagging_mode = "tagged";
gPortsOrch->addVlanMember(vlanPort, tunnelPort, tagging_mode);

SWSS_LOG_INFO("remote_vtep=%s vni=%d vlanid=%d ",
Expand Down Expand Up @@ -2570,7 +2570,7 @@ bool EvpnRemoteVnip2mpOrch::addOperation(const Request& request)

// SAI Call to add tunnel to the VLAN flood domain

string tagging_mode = "untagged";
string tagging_mode = "tagged";
gPortsOrch->addVlanMember(vlanPort, tunnelPort, tagging_mode, end_point_ip);

SWSS_LOG_INFO("end_point_ip=%s vni=%d vlanid=%d ",
Expand Down
Loading