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

VXLAN tunnel bogus error unexpected type: SAI_OBJECT_TYPE_TUNNEL #1467

Closed
wants to merge 1 commit into from
Closed
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
1 change: 1 addition & 0 deletions meta/Meta.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6702,6 +6702,7 @@ void Meta::meta_sai_on_port_state_change_single(
case SAI_OBJECT_TYPE_PORT:
case SAI_OBJECT_TYPE_BRIDGE_PORT:
case SAI_OBJECT_TYPE_LAG:
case SAI_OBJECT_TYPE_TUNNEL:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this code should be based on sai metadata, and was written when there was no metadata for those objecs yet, if you want to fix it, please add it using metadata checks

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i fixed it here: #1469


valid = true;
break;
Expand Down
Loading