[console][minigraph] Avoid generate config for self console port#7817
[console][minigraph] Avoid generate config for self console port#7817Blueve merged 1 commit intosonic-net:masterfrom
Conversation
|
Seems like the build pipeline is broken now |
|
please fix unit test error, it looks related your changes. |
I am not seeing errors are related to my change... I checked official build branch: https://sonic-jenkins.westus2.cloudapp.azure.com/job/vs/job/buildimage-vs-image/761/console A sample is: ERROR: test_bgpd_quagga (tests.test_j2files.TestJ2Files) |
|
/AZP run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Signed-off-by: Jing Kan jika@microsoft.com
…ic-net#7817) Signed-off-by: Jing Kan jika@microsoft.com
…ic-net#7817) Signed-off-by: Jing Kan jika@microsoft.com
Why I did it
For
MgmtTsToRdevice, it can manage 48/96 devices via console. Besides, it also have it own console port (console) which will be modeled in minigraph as a device serial link. Current code will generate configuration for it, but there are no change to do the reverse control and the configuration can lead confuse for users.How I did it
Only generate console config for console ports which is in digital format.
How to verify it
Add new test data and existing unit test will cover this case.
Which release branch to backport (provide reason below if selected)
Description for the changelog
A picture of a cute animal (not mandatory but encouraged)