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

Routed subinterface enhancements #529

Closed
wants to merge 3 commits into from

Conversation

preetham-singh
Copy link

@preetham-singh preetham-singh commented Sep 15, 2021

What I did
Routed subinterfae enhancements HLD #833
Add support for long name and short name routed subinterfaces.
Add support for long name and short name routed subinterfaces.
This swss common library provides APIS for:

  • Subinterface validation checks
  • Get parent interface corresponding to subinterface(short/long name)
  • Get subinterface index

Why I did it
Routed subinterface feature was broken for physical and portchannel subinterfaces for subinterface name exceeding 15 characters due to kernel limitation of netdev name length of 15.

How I verified it
Routed subinterface Unit tests

Support for long name and short name routed subinterfaces
This swss common library provides APIS for:
- Performs Subinterface validation checks
- Get parent interface corresponding to subinterface(short/long name)
- Get subinterface index
common/ifcommon.cpp Outdated Show resolved Hide resolved
common/ifcommon.h Outdated Show resolved Hide resolved
common/ifcommon.h Outdated Show resolved Hide resolved
common/ifcommon.h Outdated Show resolved Hide resolved
common/ifcommon.h Outdated Show resolved Hide resolved
@lguohan
Copy link
Contributor

lguohan commented Sep 19, 2021

@prsunny , why is this pr on swss-common? are you sponsoring this pr?

@preetham-singh
Copy link
Author

/azpw run

@mssonicbld
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@zhangyanzhao zhangyanzhao added this to In progress in swss common PR tracking via automation Oct 2, 2021
@zhangyanzhao zhangyanzhao moved this from In progress to Reviewer approved in swss common PR tracking Oct 2, 2021
@prsunny
Copy link
Contributor

prsunny commented Oct 29, 2021

Recommend moving to sonic-swss/lib

@preetham-singh
Copy link
Author

Closing this pull request since this code is moved to swss/lib which can be found as part of swss PR 2017

swss common PR tracking automation moved this from Reviewer approved to Done Nov 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants