<!-- If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead. If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information. For more information about reporting issues, see https://github.com/Azure/SONiC/wiki#report-issues --------------------------------------------------- GENERAL SUPPORT INFORMATION --------------------------------------------------- The GitHub issue tracker is for bug reports and feature requests. General support can be found at the following locations: - SONiC Support Forums - https://groups.google.com/forum/#!forum/sonicproject --------------------------------------------------- BUG REPORT INFORMATION --------------------------------------------------- Use the commands below to provide key information from your environment: You do NOT have to include this information if this is a FEATURE REQUEST --> #### Description <!-- Briefly describe the problem you are having in a few paragraphs. --> minigraph has introduced new device type: BmcMgmtToRRouter https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-config-engine/minigraph.py#L40 Yang models does not support this pattern: https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/yang-models/sonic-device_metadata.yang#L88-L93 #### Steps to reproduce the issue: 1. Run unit test for sonic-config-engine 2. Check output device type #### Describe the results you received: BmcMgmtToRRouter can't pass yang validation. #### Describe the results you expected: BmcMgmtToRRouter should pass yang validation. #### Output of `show version`: ``` (paste your output here) ``` #### Output of `show techsupport`: ``` (paste your output here or download and attach the file here ) ``` #### Additional information you deem important (e.g. issue happens only occasionally): <!-- Also attach debug file produced by `sudo generate_dump` -->
Description
minigraph has introduced new device type: BmcMgmtToRRouter
https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-config-engine/minigraph.py#L40
Yang models does not support this pattern:
https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/yang-models/sonic-device_metadata.yang#L88-L93
Steps to reproduce the issue:
Describe the results you received:
BmcMgmtToRRouter can't pass yang validation.
Describe the results you expected:
BmcMgmtToRRouter should pass yang validation.
Output of
show version:Output of
show techsupport:Additional information you deem important (e.g. issue happens only occasionally):