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

Minigraph resource type changes #5198

Merged
merged 4 commits into from
Oct 8, 2020

Conversation

anish-n
Copy link
Contributor

@anish-n anish-n commented Aug 17, 2020

- Why I did it
Add resource_type from minigraph to DEVICE_METADATA section

- How I did it
Add parsing for field in minigraph metadata section

- How to verify it
Unit testing in sonic-config-engine

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

  • 201811
  • 201911
  • 202006

- Description for the changelog
Add minigraph resource_type to DEVICE_METADATA section

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

prsunny
prsunny previously approved these changes Aug 17, 2020
@prsunny
Copy link
Contributor

prsunny commented Aug 17, 2020

retest this please

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

src/sonic-config-engine/minigraph.py Outdated Show resolved Hide resolved
abdosi
abdosi previously approved these changes Aug 31, 2020
Copy link
Contributor

@abdosi abdosi left a comment

Choose a reason for hiding this comment

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

LGTM. Why we need this back port to 201911 ?

@anish-n anish-n dismissed stale reviews from abdosi and prsunny via 2dde8dd October 3, 2020 01:22
@anish-n anish-n changed the title Minigraph sub role changes Minigraph resource type changes Oct 3, 2020
@anish-n
Copy link
Contributor Author

anish-n commented Oct 6, 2020

retest this please

@prsunny prsunny merged commit 42d9a44 into sonic-net:master Oct 8, 2020
santhosh-kt pushed a commit to santhosh-kt/sonic-buildimage that referenced this pull request Feb 25, 2021
* Parse sub_role from minigraph into DEVICE_METADATA
* Change minigraph sub_role to resource_type
@abdosi
Copy link
Contributor

abdosi commented Feb 26, 2021

@anish-n will not take it for 201911. I assume it's ok ?

@anish-n
Copy link
Contributor Author

anish-n commented Feb 26, 2021

@anish-n will not take it for 201911. I assume it's ok ?

Yes we don't need it in 201911

abdosi pushed a commit that referenced this pull request Jul 29, 2022
* Parse sub_role from minigraph into DEVICE_METADATA
* Change minigraph sub_role to resource_type
abdosi added a commit that referenced this pull request Aug 1, 2022
abdosi pushed a commit that referenced this pull request Aug 1, 2022
* Parse sub_role from minigraph into DEVICE_METADATA
* Change minigraph sub_role to resource_type
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.

7 participants