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 support to generate /e/n/i when there are multiple MGMT_INTERFACE #11368

Merged
merged 4 commits into from
Jul 12, 2022

Conversation

geogchen
Copy link
Contributor

@geogchen geogchen commented Jul 6, 2022

Why I did it

Currently interfaces.j2 hardcodes to eth0 even when there are multiple interfaces in MGMT_INTERFACE. This change adds support to generate /e/n/i when there are multiple interfaces in MGMT_INTERFACE.

How I did it

By removing hardcoded eth0 when looping through MGMT_INTERFACE.

How to verify it

Verified through unit test.

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

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

Description for the changelog

Link to config_db schema for YANG module changes

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

@geogchen geogchen requested review from a team and lguohan as code owners July 6, 2022 21:28
@geogchen geogchen requested a review from ganglyu July 6, 2022 21:28
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