As7312 54x add sfp rest and fan policy#1464
Merged
lguohan merged 19 commits intosonic-net:masterfrom Mar 14, 2018
Merged
Conversation
Signed-off-by: roylee123 <[email protected]>
…ledd (sonic-net#1330) * Install sonic-platform-common package in platform-monitor docker for ledd * Specify Python wheel dependencies in docker-platform-monitor.mk; Remove explicit specifications from Dockerfile.j2
…to as7312_54x_add_sfp_rest_and_fan_policy
2. Validate fan control monitoring. Signed-off-by: roy_lee <[email protected]>
jleveque
suggested changes
Mar 8, 2018
|
|
||
| # For port 48~51 are QSFP, here presumed they're all split to 4 lanes. | ||
| def get_cage_num(self, port_num): | ||
| cage_num = port_num |
Contributor
There was a problem hiding this comment.
Replace tab with 4 spaces.
|
|
||
| # For cage 0~23 and 48~51 are at cpld2, others are at cpld3. | ||
| def get_cpld_num(self, port_num): | ||
| cpld_i = 1 |
Contributor
There was a problem hiding this comment.
Replace tab with 4 spaces.
| if (cage_num >= 52): | ||
| cpld_i = 2 | ||
| cage_num = self.get_cage_num(port_num) | ||
| cpld_i = self.get_cpld_num(port_num) |
Contributor
There was a problem hiding this comment.
Replace tab with 4 spaces.
| path = "/sys/bus/i2c/devices/5-0062/module_reset_{0}" | ||
| port_ps = path.format(port_num+1) | ||
| cage_num = self.get_cage_num(port_num) | ||
| cpld_i = self.get_cpld_num(port_num) |
Contributor
There was a problem hiding this comment.
Replace tab with 4 spaces.
Signed-off-by: roy_lee <[email protected]>
Signed-off-by: roy_lee <[email protected]>
…to as7312_54x_add_sfp_rest_and_fan_policy Signed-off-by: roy_lee <[email protected]> Conflicts: platform/broadcom/sonic-platform-modules-accton
Signed-off-by: roy_lee <[email protected]>
jleveque
approved these changes
Mar 8, 2018
lguohan
approved these changes
Mar 14, 2018
4 tasks
lguohan
pushed a commit
that referenced
this pull request
Mar 27, 2021
* 1ee04fb (HEAD -> master, origin/master, origin/HEAD) Modified the tests to use mock functionality of get_child_port function under portconfig utility (#1464) * 99d251f Enable PFCWD only on ports where PFC is enabled (#1508) * eb7945f Warmboot script improvements - timeout exec, disable swss autorestart, remove trap (#1495) * c7d4947 [show] Fix int status of LAGs, configured as Vlan members (#1478) Signed-off-by: Maksym Belei <[email protected]>
stepanblyschak
pushed a commit
to stepanblyschak/sonic-buildimage
that referenced
this pull request
May 10, 2021
…on under portconfig utility (sonic-net#1464) Modified the tests to use mock functionality of get_child_port function under portconfig utility. This will remove the dependency of port config utility in the sonic-buildimage and make the test case more robust specific to the DPB cli utility. Signed-off-by: Sangita Maity <[email protected]>
raphaelt-nvidia
pushed a commit
to raphaelt-nvidia/sonic-buildimage
that referenced
this pull request
May 23, 2021
* 1ee04fb (HEAD -> master, origin/master, origin/HEAD) Modified the tests to use mock functionality of get_child_port function under portconfig utility (sonic-net#1464) * 99d251f Enable PFCWD only on ports where PFC is enabled (sonic-net#1508) * eb7945f Warmboot script improvements - timeout exec, disable swss autorestart, remove trap (sonic-net#1495) * c7d4947 [show] Fix int status of LAGs, configured as Vlan members (sonic-net#1478) Signed-off-by: Maksym Belei <[email protected]>
carl-nokia
pushed a commit
to carl-nokia/sonic-buildimage
that referenced
this pull request
Aug 7, 2021
* 1ee04fb (HEAD -> master, origin/master, origin/HEAD) Modified the tests to use mock functionality of get_child_port function under portconfig utility (sonic-net#1464) * 99d251f Enable PFCWD only on ports where PFC is enabled (sonic-net#1508) * eb7945f Warmboot script improvements - timeout exec, disable swss autorestart, remove trap (sonic-net#1495) * c7d4947 [show] Fix int status of LAGs, configured as Vlan members (sonic-net#1478) Signed-off-by: Maksym Belei <[email protected]>
theasianpianist
pushed a commit
to theasianpianist/sonic-buildimage
that referenced
this pull request
Feb 5, 2022
…random MAC. (sonic-net#1464) Signed-off-by: Sun Dandan <[email protected]>
This file contains hidden or 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
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.
- What I did
- How I did it
Add driver to provide reset device nodes and update sfputil.py for them.
Rectify thermal-policy script to fit as7312-54x's HW spec.
- How to verify it
After any of sensors rose to more than 50dC, fans run at full speed.
Remove blocking board to test temperature dropping.
- Description for the changelog