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

[YANG ] Support vlan sub intf short naming format #10160

Merged
merged 6 commits into from
Mar 31, 2022

Conversation

lolyu
Copy link
Contributor

@lolyu lolyu commented Mar 7, 2022

Why I did it

To support vlan sub intf short naming format, like subport Eth8.100 for parent portEthernet8 with vlan id 100.

How I did it

Add checks to must condition to verify there is a port or portchannel with the index same as the vlan sub intf.

How to verify it

Run the unttests.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@lolyu lolyu requested a review from qiluo-msft as a code owner March 7, 2022 04:07
@lolyu
Copy link
Contributor Author

lolyu commented Mar 7, 2022

/AZP run

@azure-pipelines
Copy link

You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list.

@neethajohn neethajohn changed the title [YANG ] Support vlan sub intf shot naming format [YANG ] Support vlan sub intf short naming format Mar 8, 2022
@neethajohn neethajohn requested a review from ganglyu March 8, 2022 02:23
@lolyu lolyu force-pushed the sub_intf_yang_shot_format branch from 45a4c04 to 3b0b57d Compare March 8, 2022 07:08
ganglyu
ganglyu previously approved these changes Mar 8, 2022
@dgsudharsan dgsudharsan added the YANG YANG model related changes label Mar 8, 2022
@lolyu lolyu requested review from ganglyu and neethajohn March 9, 2022 01:47
ganglyu
ganglyu previously approved these changes Mar 9, 2022
Copy link
Collaborator

@dgsudharsan dgsudharsan left a comment

Choose a reason for hiding this comment

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

dgsudharsan
dgsudharsan previously approved these changes Mar 9, 2022
@lolyu
Copy link
Contributor Author

lolyu commented Mar 11, 2022

/AZP run

@azure-pipelines
Copy link

You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list.

neethajohn
neethajohn previously approved these changes Mar 11, 2022
@neethajohn
Copy link
Contributor

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

qiluo-msft
qiluo-msft previously approved these changes Mar 11, 2022
@lolyu
Copy link
Contributor Author

lolyu commented Mar 14, 2022

/azp run

@azure-pipelines
Copy link

You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list.

@lolyu
Copy link
Contributor Author

lolyu commented Mar 16, 2022

/AZP run

@azure-pipelines
Copy link

You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list.

@lolyu
Copy link
Contributor Author

lolyu commented Mar 17, 2022

/AZP run

@azure-pipelines
Copy link

You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list.

@lolyu
Copy link
Contributor Author

lolyu commented Mar 21, 2022

/azp RUN

@azure-pipelines
Copy link

You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list.

ganglyu
ganglyu previously approved these changes Mar 28, 2022
@lolyu
Copy link
Contributor Author

lolyu commented Mar 28, 2022

/AZP run

@azure-pipelines
Copy link

You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list.

Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
@lolyu
Copy link
Contributor Author

lolyu commented Mar 30, 2022

I've rebased this PR to the newest master branch, all the approvals are dismissed. Could you please help review again, thanks! @neethajohn @ganglyu @qiluo-msft

@lolyu lolyu merged commit 16766c0 into sonic-net:master Mar 31, 2022
@lolyu lolyu deleted the sub_intf_yang_shot_format branch March 31, 2022 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
YANG YANG model related changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants