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] change device type #10396

Closed

Conversation

Xichen96
Copy link
Contributor

In the minigraph parser, if encounter MgmtTsToR, change to
MgmtTsToRRouter

Signed-off-by: Xichen Lin xichenlin@microsoft.com

Why I did it

Starting radvd container depends on the device type ending in ToRRouter, which MgmtTsToR is but does not end with. Modifying the name allows the MgmtTsToR to be treated like a ToRRouter.

How I did it

Change name from MgmtTsToR to MgmtTsToRRouter

How to verify it

unit test

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

Link to config_db schema for YANG module changes

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

In the minigraph parser, if encounter MgmtTsToR, change to
MgmtTsToRRouter

Signed-off-by: Xichen Lin <xichenlin@microsoft.com>
@Xichen96 Xichen96 requested a review from lguohan as a code owner March 30, 2022 07:18
@Xichen96 Xichen96 self-assigned this Mar 30, 2022
@prsunny prsunny requested review from yxieca and kellyyeh March 30, 2022 21:06
@kellyyeh
Copy link
Contributor

@prsunny I thought we are sticking to adding the new device type name in radv docker with PR #10375. Is this not the case anymore?

@yxieca
Copy link
Contributor

yxieca commented Apr 7, 2022

Should we close this PR? @Xichen96

@Blueve
Copy link
Contributor

Blueve commented Apr 7, 2022

Close this PR since we will use feature flag in future.
And this PR might also break YANG model or other potential dependencies.
For short term solution, we are going to change all parts that are relaying on the "ToRRouter" naming convention

@Blueve Blueve closed this Apr 7, 2022
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.

5 participants