forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 3
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
fix portconfig script #50
Merged
zhenggen-xu
merged 1 commit into
zhenggen-xu:sonic-cfg-mgmt
from
samaity:fix_portconfig
Feb 26, 2020
Merged
fix portconfig script #50
zhenggen-xu
merged 1 commit into
zhenggen-xu:sonic-cfg-mgmt
from
samaity:fix_portconfig
Feb 26, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vasant17
reviewed
Feb 20, 2020
vasant17
reviewed
Feb 20, 2020
vasant17
reviewed
Feb 20, 2020
@@ -228,7 +228,7 @@ def get_child_ports(interface, breakout_mode, platform_json_file): | |||
offset = gen_port_config(child_ports, parent_intf_id, index, alias_at_lanes, lanes, k, offset) | |||
return child_ports | |||
|
|||
def parse_platform_json_file(hwsku_json_file, port_config_file, interface_name=None, target_brkout_mode=None): | |||
def parse_platform_json_file(hwsku_json_file, port_config_file): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we call port_config_file as platform_json_file?
Signed-off-by: Sangita Maity <[email protected]>
samaity
force-pushed
the
fix_portconfig
branch
from
February 24, 2020 22:26
0d63f23
to
36d62f6
Compare
vasant17
approved these changes
Feb 25, 2020
praveen-li
pushed a commit
to praveen-li/sonic-buildimage
that referenced
this pull request
Oct 23, 2020
37a7c61 - 2020-10-16 : Add to local route DB if ifname present in route add API (zhenggen-xu#51) [Sumukha Tumkur Vani] 2b4b6d7 - 2020-10-01 : Fix typo (zhenggen-xu#50) [Sumukha Tumkur Vani] f0a527b - 2020-09-24 : Use RESTAPI_DB, cache reset_status (zhenggen-xu#49) [Prince Sunny]
zhenggen-xu
pushed a commit
that referenced
this pull request
Dec 15, 2020
[dataset] Add dataset "system uptime" into non-db client. (#52) Adding new data set to query Sonic OS version. (#50) [gnmi_server] Disregard EOF status for STREAM subs (#48) Signed-off-by: Yong Zhao <[email protected]>
praveen-li
pushed a commit
to praveen-li/sonic-buildimage
that referenced
this pull request
Dec 23, 2022
[202012][sonic-linkmgrd]Submodule update 8507629 Jing Zhang Mon Apr 4 10:25:22 2022 -0700 Lower unsolicited MUX state change notification log level to WARNING zhenggen-xu#57 17d217d Longxiang Lyu Mon Mar 21 12:15:19 2022 +0800 Enhance clang format (zhenggen-xu#46) c72fa2a Jing Zhang Fri Apr 1 12:23:29 2022 -0700 Disable the feature that decreases link probe interval for measuring switch overhead zhenggen-xu#49 (zhenggen-xu#54) 256b01b Jing Zhang Thu Mar 31 16:20:00 2022 -0700 Update link prober metrics posting logics zhenggen-xu#50 zhenggen-xu#53 dfd48d0 Jing Zhang Wed Mar 23 16:27:45 2022 -0700 Decrease link probing interval after switchover to better determine the overhead of a toggle zhenggen-xu#43 (zhenggen-xu#48) sign-off: Jing Zhang [email protected]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Sangita Maity [email protected]
- What I did
Removed duplicate code from parse_platform_json_file as we introduced get_child_ports function for that.
sorted the port list of test_platform_json_interfaces_keys test output so that order does not matter during the test so the test will pass easily.
- How to verify it
Built the sonic-image without any error.
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)