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 #14282

Conversation

jfeng-arista
Copy link
Contributor

Why I did it

YANG model for FABRIC in CONFIG_DB was added in #14170.

Need to wait #14170 get merged first.

How I did it

Added new YANG model and associated unit tests.

How to verify it

Passing unit tests

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

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

Description for the changelog

Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.

Link to config_db schema for YANG module changes

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

Copy link
Contributor

@arlakshm arlakshm left a comment

Choose a reason for hiding this comment

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

as comments

}
}

leaf isolateStatus {
Copy link
Contributor

Choose a reason for hiding this comment

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

please add description of the leaf nodes

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

}
}

leaf lanes {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think, the fabric port configuration without specifying lanes is not valid, can we add this field as mandatory

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed.

}

leaf isolateStatus {
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.

if the isolateStatus is not speicified should there be a default value?

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

@jfeng-arista
Copy link
Contributor Author

/Azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 14282 in repo sonic-net/sonic-buildimage

@jfeng-arista
Copy link
Contributor Author

/Azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

arlakshm
arlakshm previously approved these changes May 15, 2023
@qiluo-msft
Copy link
Collaborator

@jfeng-arista Could you resolve conflict?

@jfeng-arista
Copy link
Contributor Author

@jfeng-arista Could you resolve conflict?

sure

@kenneth-arista
Copy link
Contributor

@arlakshm can we merge this PR before the 202305 cut off?

@arlakshm
Copy link
Contributor

Hi @jfeng-arista, can you fix the conflict

@gechiang
Copy link
Collaborator

@jfeng-arista please resolve the conflict so we can try to merge it.

@kenneth-arista
Copy link
Contributor

Jie's on FTA for another week. I fixed the conflict locally, but don't have permission to update her repo.

@gechiang
Copy link
Collaborator

Jie's on FTA for another week. I fixed the conflict locally, but don't have permission to update her repo.

@kenneth-arista Thanks for responding. If we choose to wait for @jfeng-arista to address this it would take at least another week.
My suggestion is why not for you to raise a new PR which include everything to replace this PR? This might be faster to get this done.

@qiluo-msft qiluo-msft added the YANG YANG model related changes label Jun 23, 2023
@kenneth-arista
Copy link
Contributor

Thanks for the suggestion @gechiang . I created the clone PR resolving the conflicts here: #15629

@arlakshm
Copy link
Contributor

closing this PR to avoid confusion

@arlakshm arlakshm closed this Jun 26, 2023
qiluo-msft pushed a commit that referenced this pull request Jul 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.
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 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.
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.
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
Archived in project
Development

Successfully merging this pull request may close these issues.

6 participants