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

Remove the need to create an object id for vlan in creating a sub port router interface #998

Merged
merged 1 commit into from
Aug 29, 2019

Conversation

wendani
Copy link
Contributor

@wendani wendani commented Aug 12, 2019

Instead we only provide the vlan id value

Signed-off-by: Wenda Ni wenni@microsoft.com

…ace, but

only feed a vlan id tag

Signed-off-by: Wenda Ni <wenni@microsoft.com>
Copy link
Collaborator

@itaibaz itaibaz left a comment

Choose a reason for hiding this comment

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

This change does not look to be backward compatible, as it requires porting existing code that creates a RIF sub port to change, instead of using attr_vlan_id, to use attr_outer_vlan_id
while the change itself is ok, i am concerned about the loss of backward compatibility we always require

@wendani
Copy link
Contributor Author

wendani commented Aug 15, 2019

I assume SONiC is the only user of SAI. If this is the case, it should be fine to make this correction as we are still at the high-level design phase to have the sub port interface feature in SONiC.

#998 (review)

@lguohan
Copy link
Collaborator

lguohan commented Aug 28, 2019

@itaibaz , previous spec is a bug, we cannot keep backward compatible when fixing a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants