[buildImage] Add support of platform.json parsing to portconfig.py file#3909
Conversation
f697206 to
547a606
Compare
|
I think would be better if we put all port definitions in platform.json file into a section "interfaces" or "port_defs"? |
13307f9 to
c25cc98
Compare
#done |
Signed-off-by: Sangita Maity <sangitamaity0211@gmail.com> * [sonic-cfggen] Add a unit-test to test platform capability file Signed-off-by: Sangita Maity <sangitamaity0211@gmail.com> Adding a new function to create BRKOUT_CFG TABLE in config db (sonic-net#17) Signed-off-by: Sangita Maity <sangitamaity0211@gmail.com>
Signed-off-by: Sangita Maity <sangitamaity0211@gmail.com>
c25cc98 to
e5066af
Compare
|
This pull request introduces 3 alerts when merging e5066af into 7b80377 - view on LGTM.com new alerts:
|
Signed-off-by: Sangita Maity <sangitamaity0211@gmail.com>
|
This pull request introduces 1 alert when merging 20c212c into 3e110fb - view on LGTM.com new alerts:
|
Signed-off-by: Sangita Maity <sangitamaity0211@gmail.com>
|
This pull request introduces 1 alert when merging 2f17452 into 3e110fb - view on LGTM.com new alerts:
|
|
Please fix LGTM alert. Looks like integer division. If you don't care about the remainder, you can use the Python "floor division" operator: |
Signed-off-by: Sangita Maity <sangitamaity0211@gmail.com>
#done |
|
retest vsimage please |
2 similar comments
|
retest vsimage please |
|
retest vsimage please |
|
retest vsimage please |
1 similar comment
|
retest vsimage please |
Signed-off-by: Sangita Maity <sangitamaity0211@gmail.com>
|
This pull request introduces 1 alert when merging abf66c9 into a748dae - view on LGTM.com new alerts:
|
Signed-off-by: Sangita Maity <sangitamaity0211@gmail.com>
|
retest vsimage please |
1 similar comment
|
retest vsimage please |
…it and addressed review comments Signed-off-by: Sangita Maity <sangitamaity0211@gmail.com>
|
All test cases are passing except dhcp_relay.test_dhcp_relay.test_dhcp_relay_after_link_flap I can see some ongoing issue related to this matter? Any Idea @daall? |
|
retest vsimage please |
We can re-run the tests. It looks like everything else is working now so hopefully it passes on the next run. :) |
Signed-off-by: Sangita Maity sangitamaity0211@gmail.com
Signed-off-by: Sangita Maity sangitamaity0211@gmail.com
Adding a new function to create BRKOUT_CFG TABLE in config db
Signed-off-by: Sangita Maity sangitamaity0211@gmail.com
- What I did
Add support of platform.json parsing to portconfig.py file which is being used by sonic-cfggen and minigraph.py file under src/sonic-config-engine folder to get port config via get_port_config function.
- How I did it
- How to verify it
rebuilt "sonic_config_engine-1.0" wheel package with all the test cases.All the below-mentioned test cases passed.
log file