Skip to content

[YANG] Add srv6 yang model and unit tests #21175

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

Merged
merged 18 commits into from
Jan 13, 2025
Merged

Conversation

BYGX-wcr
Copy link
Contributor

@BYGX-wcr BYGX-wcr commented Dec 13, 2024

Why I did it

To support the addition of two new tables in CONFIG_DB, i.e. SRV6_MY_SIDS and SRV6_MY_LOCATORS, in order to allow configuration for SRv6 in SONiC.

Work item tracking
  • Microsoft ADO (number only): 30513277

How I did it

I define the YANG model based on SRv6 HLD.

How to verify it

Run the unit tests and build image.

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Add srv6 yang model and unit tests to sonic-yang-models

Link to config_db schema for YANG module changes

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

@BYGX-wcr BYGX-wcr requested a review from qiluo-msft as a code owner December 13, 2024 23:04
@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@BYGX-wcr BYGX-wcr requested a review from abdosi December 13, 2024 23:04
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@BYGX-wcr BYGX-wcr requested a review from dgsudharsan December 13, 2024 23:04
@BYGX-wcr BYGX-wcr changed the title add srv6 yang model and unit tests [YANG] Add srv6 yang model and unit tests Dec 13, 2024
@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

Copy link

Pull request contains merge conflicts.

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

enum uniform;
enum pipe;
}
when "../action = 'uDT46'";
Copy link
Contributor

Choose a reason for hiding this comment

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

can we have default define here ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@abdosi
Copy link
Contributor

abdosi commented Jan 11, 2025

@lguohan : can you help merge this.

@lguohan lguohan merged commit bb90401 into sonic-net:master Jan 13, 2025
21 checks passed
@abdosi
Copy link
Contributor

abdosi commented Jan 15, 2025

@BYGX-wcr : can you create direct PR for msft/202412 because of conflict

dgsudharsan pushed a commit to dgsudharsan/sonic-buildimage that referenced this pull request Jan 15, 2025
Why I did it
To support the addition of two new tables in CONFIG_DB, i.e. SRV6_MY_SIDS and SRV6_MY_LOCATORS, in order to allow configuration for SRv6 in SONiC.

Work item tracking
Microsoft ADO (number only): 30513277

How I did it
I define the YANG model based on SRv6 HLD.

How to verify it
Run the unit tests and build image.
vivekrnv pushed a commit to vivekrnv/sonic-buildimage that referenced this pull request Jan 16, 2025
Why I did it
To support the addition of two new tables in CONFIG_DB, i.e. SRV6_MY_SIDS and SRV6_MY_LOCATORS, in order to allow configuration for SRv6 in SONiC.

Work item tracking
Microsoft ADO (number only): 30513277

How I did it
I define the YANG model based on SRv6 HLD.

How to verify it
Run the unit tests and build image.

Fix inotify traceback during import

Fix import
VladimirKuk pushed a commit to Marvell-switching/sonic-buildimage that referenced this pull request Jan 21, 2025
Why I did it
To support the addition of two new tables in CONFIG_DB, i.e. SRV6_MY_SIDS and SRV6_MY_LOCATORS, in order to allow configuration for SRv6 in SONiC.

Work item tracking
Microsoft ADO (number only): 30513277

How I did it
I define the YANG model based on SRv6 HLD.

How to verify it
Run the unit tests and build image.
@r12f r12f mentioned this pull request Jan 22, 2025
12 tasks
stepanblyschak pushed a commit to stepanblyschak/sonic-buildimage that referenced this pull request Jan 27, 2025
Why I did it
To support the addition of two new tables in CONFIG_DB, i.e. SRV6_MY_SIDS and SRV6_MY_LOCATORS, in order to allow configuration for SRv6 in SONiC.

Work item tracking
Microsoft ADO (number only): 30513277

How I did it
I define the YANG model based on SRv6 HLD.

How to verify it
Run the unit tests and build image.
prabhataravind pushed a commit to prabhataravind/sonic-buildimage that referenced this pull request Mar 5, 2025
Why I did it
To support the addition of two new tables in CONFIG_DB, i.e. SRV6_MY_SIDS and SRV6_MY_LOCATORS, in order to allow configuration for SRv6 in SONiC.

Work item tracking
Microsoft ADO (number only): 30513277

How I did it
I define the YANG model based on SRv6 HLD.

How to verify it
Run the unit tests and build image.
yanjundeng pushed a commit to yanjundeng/sonic-buildimage that referenced this pull request Apr 23, 2025
Why I did it
To support the addition of two new tables in CONFIG_DB, i.e. SRV6_MY_SIDS and SRV6_MY_LOCATORS, in order to allow configuration for SRv6 in SONiC.

Work item tracking
Microsoft ADO (number only): 30513277

How I did it
I define the YANG model based on SRv6 HLD.

How to verify it
Run the unit tests and build image.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants