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

[chassis][voq] Remove the leaf ref for the ifname in sonic-system-por… #383

Merged
merged 1 commit into from
Jun 5, 2024
Merged

Conversation

gechiang
Copy link
Contributor

@gechiang gechiang commented Jun 4, 2024

…t.yang (#18855)

Microsoft ADO 27934751:

Fixes #18854

Update the sonic-system-port.yang to remove the check to have ifname as leafref in the port table The system-port config table will have all the ports in the chassis not only to one linecard, so in case of the chassis with different linecards sku with different number of ports this leafref will not work.

Why I did it

Work item tracking
  • Microsoft ADO (number only):

How I did it

How to verify it

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

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

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

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

…t.yang (#18855)

Microsoft ADO 27934751:

Fixes #18854

Update the sonic-system-port.yang to remove the check to have ifname as leafref in the port table
The system-port config table will have all the ports in the chassis not only to one linecard, so in case of the chassis with different linecards sku with different number of ports this leafref will not work.
Copy link

@xincunli-sonic xincunli-sonic left a comment

Choose a reason for hiding this comment

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

LGTM

@gechiang gechiang merged commit dd83cdc into Azure:202205 Jun 5, 2024
3 checks passed
@gechiang
Copy link
Contributor Author

gechiang commented Jun 6, 2024

This is porting of this fix from public master: sonic-net/sonic-buildimage#18855

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants