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

Add YANG model for FABRIC_PORT #15629

Merged

Conversation

kenneth-arista
Copy link
Contributor

Why I did it

Introduce YANG model for FABRIC in CONFIG_DB, which was added in #14170.

How I did it

This is a clone of @jfeng-arista's PR #14282 to resolve conflicts with upstream changes.

How to verify it

Passing pipeline build is sufficient.

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

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

@kenneth-arista
Copy link
Contributor Author

@gechiang

@kenneth-arista
Copy link
Contributor Author

@arlakshm @jfeng-arista

arlakshm
arlakshm previously approved these changes Jun 26, 2023
@arlakshm arlakshm added YANG YANG model related changes Request for 202211 Branch Request for 202305 Branch Chassis for 202205 branch PRs needed for 202205 branch in msft repo labels Jun 26, 2023
@qiluo-msft qiluo-msft requested a review from ganglyu June 26, 2023 21:02

leaf isolateStatus {
description "Isolation status of a fabric port";
type string {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not use Boolean?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good suggestion. I will revise it to use type stypes:boolean_type where stypes is sonic-types.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done. See latest commit. I'm waiting for the pipeline build to complete to check if any further revisions are needed.

@gechiang
Copy link
Collaborator

gechiang commented Jul 3, 2023

@qiluo-msft can you help merge this PR?
Thanks!

@qiluo-msft qiluo-msft merged commit 1dfe35c into sonic-net:master Jul 3, 2023
@kenneth-arista kenneth-arista deleted the master-yang-model-for-fabric-port branch July 4, 2023 21:06
@gechiang
Copy link
Collaborator

@kenneth-arista , @jfeng-arista , This PR also can not be clean cherry picked tot he azure/sonic-buildimage-msft repo 202205 branch.
Can you please raise a PR in the azure/sonic-buildimage-msft repo directly and tag me to review/merge.
Thanks!

@jfeng-arista
Copy link
Contributor

jfeng-arista commented Jul 14, 2023 via email

@gechiang gechiang added the Included in Chassis for 202205 Branch Indicate PR is already in MSFT repo 202205 branch label Jul 28, 2023
@StormLiangMS
Copy link
Contributor

@gechiang do we need this to cherry pick to 202211/202305? could we have ADO to track?

@gechiang
Copy link
Collaborator

@StormLiangMS
MSFT ADO: 24836849

mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Sep 3, 2023
#### Why I did it

Introduce YANG model for FABRIC in CONFIG_DB, which was added in sonic-net#14170.

#### How I did it

This is a clone of @jfeng-arista's PR sonic-net#14282 to resolve conflicts with upstream changes. 

#### How to verify it

Passing pipeline build is sufficient.
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202305: #16398

mssonicbld pushed a commit that referenced this pull request Sep 3, 2023
#### Why I did it

Introduce YANG model for FABRIC in CONFIG_DB, which was added in #14170.

#### How I did it

This is a clone of @jfeng-arista's PR #14282 to resolve conflicts with upstream changes. 

#### How to verify it

Passing pipeline build is sufficient.
@gechiang
Copy link
Collaborator

gechiang commented Sep 6, 2023

Removed request for 202211 due to this is treated as "feature" and not bug fix back port. Same reason as why it was not picked for 202205.

sonic-otn pushed a commit to sonic-otn/sonic-buildimage that referenced this pull request Sep 20, 2023
#### Why I did it

Introduce YANG model for FABRIC in CONFIG_DB, which was added in sonic-net#14170.

#### How I did it

This is a clone of @jfeng-arista's PR sonic-net#14282 to resolve conflicts with upstream changes. 

#### How to verify it

Passing pipeline build is sufficient.
mlok-nokia pushed a commit to mlok-nokia/sonic-buildimage that referenced this pull request Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

8 participants