-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
ASIC part support for Celestica DX010 platform(Three port breakout configurations) #818
Conversation
It includes: *Three different configurations: 32x100G, 64x50G, 96x10G+16x50G.(Script to be includd in the platform directory). *Data port LED Also from vendor: *fancontrol configuration *eeprom.py/sfpulti.py plugins *sensor configuration
@zhenggen-xu, It will cover your contributions to all Microsoft-managed open source projects. |
@jleveque to look. |
@@ -0,0 +1,35 @@ | |||
#!/bin/bash |
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.
I feel like this script can be added to sonic-cli like
config select hwsku [hwsku_name]
then it will select the corresponding hardware sku and prompt for rebooting.
then the code can then be used by different platforms.
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.
I agree. we could add that to the sonic-utilities/script, long term it would be good to integrate with the configDB design. "show platform summary" should be able to print the current hwsku.
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.
The script was moved to sonic-utilities repo, a PR was generated there:
sonic-net/sonic-utilities#87
set temp1_max 43 | ||
set temp1_max_hyst 28 | ||
|
||
chip "lm75b-*" |
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.
usually these should have labels for you to know which temp it refers to, e.g., asic temp, cpu temp, ....
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.
I will let the vendor to do a separate PR for this.
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.
The PR for this has been created at #823.
docker stop syncd | ||
docker stop swss | ||
docker rm syncd | ||
docker rm swss |
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.
this is a known issue. I think it can be fixed in a generic way.
you can use this to detect the hwsku the docker mounts to
'''
docker inspect --type container swss | python -c "import sys, json, os; print os.path.basename([x for x in json.load(sys.stdin)[0]['Mounts'] if x['Destination'] == '/usr/share/sonic/hwsku'][0]['Source'])"
'''
then, if the hwsku does not match current one, restart the docker.
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.
probably a separate PR for this fix.
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.
I think restart won't load docker image and run it again with the new mounting path. Since we need reboot the box anyway, maybe we can just let the docker to reload from scratch after reboot (we can add a check to avoid this if the hwsku is the same as before).
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.
i mean rm the docker and do a run.
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.
as comments
…ault to noexcept (sonic-net#822) (HEAD, origin/master, origin/HEAD) [lguohan] * a304007 2019-03-28 | Allow ACL entry creation without ACL counter (sonic-net#818) [Wenda Ni] Signed-off-by: Guohan Lu <[email protected]>
* [swss]: update swss docker to stretch sonic-swss update: * aa92326 2019-03-29 | fix c++ 11 build complaint for destructors default to noexcept (#822) (HEAD, origin/master, origin/HEAD) [lguohan] * a304007 2019-03-28 | Allow ACL entry creation without ACL counter (#818) [Wenda Ni] * 60a8a0d 2019-03-28 | [orchagent]: Cast enum class variable to int (#819) (HEAD, origin/master, origin/HEAD) [Shuotian Cheng] * 3dd37a4 2019-03-26 | [vnetorch]: Add VNET/tunnel/route removal flows for Bitmap VNET implementation (#816) [Volodymyr Samotiy] * a937f92 2019-03-22 | [VS]: fix occasional test_fdb_notifications vs test failure (#813) [Jipan Yang] * ea54825 2019-03-21 | [portsorch] Fix inconsistent return value in bindAclTable (#791) [yorke] * 5984e3a 2019-03-07 | Fix orchagent SEGV when PortConfigDone not set (#803) [Ramesh Santhanakrishnan] Signed-off-by: Guohan Lu <[email protected]>
Submodule src/sonic-sairedis 8182916..483c89e: > Notify OA about exception and process only restart query events (sonic-net#437) Submodule src/sonic-swss 91171b6..d22b2de: > Allow ACL entry creation without ACL counter (sonic-net#818) Signed-off-by: Ying Xie <[email protected]>
…#2728) Submodule src/sonic-sairedis 8182916..483c89e: > Notify OA about exception and process only restart query events (#437) Submodule src/sonic-swss 91171b6..d22b2de: > Allow ACL entry creation without ACL counter (#818) Signed-off-by: Ying Xie <[email protected]>
…sonic-net#2728) Submodule src/sonic-sairedis 8182916..483c89e: > Notify OA about exception and process only restart query events (sonic-net#437) Submodule src/sonic-swss 91171b6..d22b2de: > Allow ACL entry creation without ACL counter (sonic-net#818) Signed-off-by: Ying Xie <[email protected]>
…sonic-net#2728) Submodule src/sonic-sairedis 8182916..483c89e: > Notify OA about exception and process only restart query events (sonic-net#437) Submodule src/sonic-swss 91171b6..d22b2de: > Allow ACL entry creation without ACL counter (sonic-net#818) Signed-off-by: Ying Xie <[email protected]>
…sonic-net#2728) Submodule src/sonic-sairedis 8182916..483c89e: > Notify OA about exception and process only restart query events (sonic-net#437) Submodule src/sonic-swss 91171b6..d22b2de: > Allow ACL entry creation without ACL counter (sonic-net#818) Signed-off-by: Ying Xie <[email protected]>
* d0f8091 2020-03-22 | Revert "add support for MCLAG (sonic-net#453)" (sonic-net#849) (HEAD -> master, origin/master, origin/HEAD) [lguohan] * 6f54e8c 2020-03-22 | Revert "return list for _get_optional_services() (sonic-net#822)" (sonic-net#848) [lguohan] * f1c79d5 2020-03-22 | return list for _get_optional_services() (sonic-net#822) (HEAD -> master, origin/master, origin/HEAD) [shine4chen] * 28ea21a 2020-03-21 | Fix kernel panic for irq after fast-reboot (sonic-net#823) [byu343] * 727b499 2020-03-22 | [decode-syseeprom] fix getattribute check for sime platforms (sonic-net#835) [Mykola F] * db78cb6 2020-03-21 | Update Command Reference with sFlow section (sonic-net#841) [padmanarayana] * 780673c 2020-03-21 | explicitly specify command with underscores (sonic-net#846) [lguohan] * 07dc201 2020-03-21 | [db_migrator]Do DB migration for buffer pool size change on Mellanox platform (sonic-net#833) [Kebo Liu] * 9a94955 2020-03-20 | [sonic_installer] Enable ARM64 arch (sonic-net#811) [[email protected]] * 92b30c2 2020-03-18 | [config]: add syslog messages to config load_minigraph/reload (sonic-net#843) [lguohan] * 4389ffe 2020-03-17 | [intfutil] set speed to 0 when interface speed is not available (sonic-net#839) [Ying Xie] * 45c6c68 2020-03-17 | [Mellanox] add document for thermal control related cli (sonic-net#832) [Junchao-Mellanox] * 7105400 2020-03-12 | Add kdump support for Aboot platforms (sonic-net#824) [byu343] * c5c5ffc 2020-03-01 | [fwutil]: Set default socket timeout for FW download to 30 sec. (sonic-net#821) [Nazarii Hnydyn] * 81c5930 2020-03-01 | Update config/show to include PFC Watchdog commands (sonic-net#736) [Andriy Moroz] * 66e9dfb 2020-02-28 | [MultiDB] sonic-utilities - replace redis-cli/redis-dump with sonic-db-cli/sonic-db-dump (sonic-net#810) [Dong Zhang] * 8aea564 2020-02-24 | add support for MCLAG (sonic-net#453) [shine4chen] * 118620f 2020-02-23 | [reboot] make sure the reboot happens even if platform reboot failed (sonic-net#819) [Ying Xie] * 40eff82 2020-02-22 | Multi-Db changes for NAT feature. (sonic-net#818) [Akhilesh Samineni] * a4cb4dd 2020-02-21 | [Command-Reference.md] Unify Usage statments and Examples (including sample prompts) (sonic-net#816) [Joe LeVeque] Signed-off-by: Guohan Lu <[email protected]>
Signed-off-by: Wenda Ni <[email protected]>
* [submodule]: update sonic-utilities * d0f8091 2020-03-22 | Revert "add support for MCLAG (#453)" (#849) (HEAD -> master, origin/master, origin/HEAD) [lguohan] * 6f54e8c 2020-03-22 | Revert "return list for _get_optional_services() (#822)" (#848) [lguohan] * f1c79d5 2020-03-22 | return list for _get_optional_services() (#822) (HEAD -> master, origin/master, origin/HEAD) [shine4chen] * 28ea21a 2020-03-21 | Fix kernel panic for irq after fast-reboot (#823) [byu343] * 727b499 2020-03-22 | [decode-syseeprom] fix getattribute check for sime platforms (#835) [Mykola F] * db78cb6 2020-03-21 | Update Command Reference with sFlow section (#841) [padmanarayana] * 780673c 2020-03-21 | explicitly specify command with underscores (#846) [lguohan] * 07dc201 2020-03-21 | [db_migrator]Do DB migration for buffer pool size change on Mellanox platform (#833) [Kebo Liu] * 9a94955 2020-03-20 | [sonic_installer] Enable ARM64 arch (#811) [[email protected]] * 92b30c2 2020-03-18 | [config]: add syslog messages to config load_minigraph/reload (#843) [lguohan] * 4389ffe 2020-03-17 | [intfutil] set speed to 0 when interface speed is not available (#839) [Ying Xie] * 45c6c68 2020-03-17 | [Mellanox] add document for thermal control related cli (#832) [Junchao-Mellanox] * 7105400 2020-03-12 | Add kdump support for Aboot platforms (#824) [byu343] * c5c5ffc 2020-03-01 | [fwutil]: Set default socket timeout for FW download to 30 sec. (#821) [Nazarii Hnydyn] * 81c5930 2020-03-01 | Update config/show to include PFC Watchdog commands (#736) [Andriy Moroz] * 66e9dfb 2020-02-28 | [MultiDB] sonic-utilities - replace redis-cli/redis-dump with sonic-db-cli/sonic-db-dump (#810) [Dong Zhang] * 8aea564 2020-02-24 | add support for MCLAG (#453) [shine4chen] * 118620f 2020-02-23 | [reboot] make sure the reboot happens even if platform reboot failed (#819) [Ying Xie] * 40eff82 2020-02-22 | Multi-Db changes for NAT feature. (#818) [Akhilesh Samineni] * a4cb4dd 2020-02-21 | [Command-Reference.md] Unify Usage statments and Examples (including sample prompts) (#816) [Joe LeVeque] Signed-off-by: Guohan Lu <[email protected]>
d821bc0 (HEAD -> master, origin/master, origin/HEAD) [Mellanox] Add SAI template config support (sonic-net#803) bb341e9 [syncd] Bring back TimerWatchdog (sonic-net#821) badf6ce Update .gitignore (sonic-net#822) 1494bc6 [meta] Mark local function static (sonic-net#818) 34e961c [pyext] Fix pyext/py2 library (sonic-net#820) 0d3749d Moved SAI Header to git tag v1.8.1 (sonic-net#816) 70fff78 Added --purge of base docker image packages before installing new ones. (sonic-net#819) Signed-off-by: Abhishek Dosi <[email protected]>
What/Why I did: Updated sonic-sairedis submodule to use SAI1.8.1 [Submodule update] sonic-sairedis d821bc0 (HEAD -> master, origin/master, origin/HEAD) [Mellanox] Add SAI template config support (#803) bb341e9 [syncd] Bring back TimerWatchdog (#821) badf6ce Update .gitignore (#822) 1494bc6 [meta] Mark local function static (#818) 34e961c [pyext] Fix pyext/py2 library (#820) 0d3749d Moved SAI Header to git tag v1.8.1 (#816) 70fff78 Added --purge of base docker image packages before installing new ones. (#819) Updated Broadcom SAI Debian package to 4.3.3.4-2 to use SAI 1.8.1 Header
What/Why I did: Updated sonic-sairedis submodule to use SAI1.8.1 [Submodule update] sonic-sairedis d821bc0 (HEAD -> master, origin/master, origin/HEAD) [Mellanox] Add SAI template config support (sonic-net#803) bb341e9 [syncd] Bring back TimerWatchdog (sonic-net#821) badf6ce Update .gitignore (sonic-net#822) 1494bc6 [meta] Mark local function static (sonic-net#818) 34e961c [pyext] Fix pyext/py2 library (sonic-net#820) 0d3749d Moved SAI Header to git tag v1.8.1 (sonic-net#816) 70fff78 Added --purge of base docker image packages before installing new ones. (sonic-net#819) Updated Broadcom SAI Debian package to 4.3.3.4-2 to use SAI 1.8.1 Header
What/Why I did: Updated sonic-sairedis submodule to use SAI1.8.1 [Submodule update] sonic-sairedis d821bc0 (HEAD -> master, origin/master, origin/HEAD) [Mellanox] Add SAI template config support (sonic-net#803) bb341e9 [syncd] Bring back TimerWatchdog (sonic-net#821) badf6ce Update .gitignore (sonic-net#822) 1494bc6 [meta] Mark local function static (sonic-net#818) 34e961c [pyext] Fix pyext/py2 library (sonic-net#820) 0d3749d Moved SAI Header to git tag v1.8.1 (sonic-net#816) 70fff78 Added --purge of base docker image packages before installing new ones. (sonic-net#819) Updated Broadcom SAI Debian package to 4.3.3.4-2 to use SAI 1.8.1 Header
No description provided.