[Ruijie] Add ruijie platform & device #4954
Conversation
Signed-off-by: tim-rj <sonic_rd@ruijie.com.cn>
Signed-off-by: tim-rj <sonic_rd@ruijie.com.cn>
Signed-off-by: tim-rj <sonic_rd@ruijie.com.cn>
Signed-off-by: tim-rj <sonic_rd@ruijie.com.cn>
|
This pull request introduces 22 alerts when merging 4e7a3d7 into 39941f0 - view on LGTM.com new alerts:
|
|
@xinliu-seattle @lguohan Help forward this, integrating ruijie platform will help us make contribution much more easier, thanks! |
Signed-off-by: tim-rj <sonic_rd@ruijie.com.cn>
|
This pull request introduces 22 alerts when merging 1cb6822 into de16e6f - view on LGTM.com new alerts:
|
|
can you fix the lgtm first? |
| #!/usr/bin/env python | ||
|
|
||
| ############################################################################# | ||
| # Ruijie B6510-48VS8CQ |
There was a problem hiding this comment.
sonic has its sfp qsfp parse, why introduce your own parser?
There was a problem hiding this comment.
Actually it's not introducing my own parser, it is for new api adptation.
platform/broadcom/sonic-platform-modules-ruijie/common/lib/eepromutil/fantlv.py
Outdated
Show resolved
Hide resolved
| bin_buffer[2] = chr(self.HW_VER) | ||
| bin_buffer[3] = chr(self.TYPE) | ||
|
|
||
| temp_t = "%08x" % self.typedevtype # 把devtype先处理下 |
There was a problem hiding this comment.
this makes difficult for english only speaker to review. can these comments be written in english?
.../broadcom/sonic-platform-modules-ruijie/debian/platform-modules-ruijie-b6510-48vs8cq.install
Outdated
Show resolved
Hide resolved
| @@ -0,0 +1,1763 @@ | |||
| /* | |||
| * Copyright (c) 2008-2009 Rodolfo Giometti <giometti@linux.it> | |||
There was a problem hiding this comment.
can you use the one in linux kernel?
There was a problem hiding this comment.
Will revise I2C deadlock problem when use 9548 and 9541 at the same time.
| @@ -0,0 +1,645 @@ | |||
| /* | |||
| * I2C multiplexer driver for PCA9541 bus master selector | |||
There was a problem hiding this comment.
can you use the one in linux kernel?
There was a problem hiding this comment.
same with above, Will revise I2C deadlock problem when use 9548 and 9541 at the same time.
platform/broadcom/sonic-platform-modules-ruijie/b6510-48vs8cq/sonic_platform/chassis.py
Show resolved
Hide resolved
platform/broadcom/sonic-platform-modules-ruijie/b6510-48vs8cq/sonic_platform/chassis.py
Outdated
Show resolved
Hide resolved
Signed-off-by: tim-rj <sonic_rd@ruijie.com.cn>
Signed-off-by: tim-rj <sonic_rd@ruijie.com.cn>
|
This pull request introduces 9 alerts when merging 190e16b into 5d753b8 - view on LGTM.com new alerts:
|
.../sonic-platform-modules-ruijie/b6510-48vs8cq/config/x86_64_ruijie_b6510_48vs8cq_r0_config.py
Outdated
Show resolved
Hide resolved
platform/broadcom/sonic-platform-modules-ruijie/common/script/avscontrol.py
Outdated
Show resolved
Hide resolved
platform/broadcom/sonic-platform-modules-ruijie/common/script/device_i2c.py
Outdated
Show resolved
Hide resolved
platform/broadcom/sonic-platform-modules-ruijie/common/script/fancontrol.py
Outdated
Show resolved
Hide resolved
platform/broadcom/sonic-platform-modules-ruijie/common/script/ruijieutil.py
Outdated
Show resolved
Hide resolved
|
@lguohan Help move on, thanks! |
Signed-off-by: tim-rj <sonic_rd@ruijie.com.cn>
|
This pull request introduces 5 alerts when merging f9b224f into 4ef3f13 - view on LGTM.com new alerts:
|
|
@tim-rj: Thanks for fixing the LGTM alerts. However, some comments are still not addressed. Please take a look. |
Signed-off-by: tim-rj <sonic_rd@ruijie.com.cn>
|
This pull request introduces 5 alerts when merging 7c6abd7 into 9a1b42f - view on LGTM.com new alerts:
|
platform/broadcom/sonic-platform-modules-ruijie/common/script/ruijieconfig.py
Outdated
Show resolved
Hide resolved
platform/broadcom/sonic-platform-modules-ruijie/b6510-48vs8cq/sonic_pcie/pcie_common.py
Outdated
Show resolved
Hide resolved
platform/broadcom/sonic-platform-modules-ruijie/b6510-48vs8cq/sonic_platform/common.py
Outdated
Show resolved
Hide resolved
platform/broadcom/sonic-platform-modules-ruijie/b6510-48vs8cq/sonic_platform/fan_drawer.py
Outdated
Show resolved
Hide resolved
platform/broadcom/sonic-platform-modules-ruijie/b6510-48vs8cq/sonic_platform/pcie.py
Outdated
Show resolved
Hide resolved
platform/broadcom/sonic-platform-modules-ruijie/b6510-48vs8cq/sonic_platform/psu.py
Outdated
Show resolved
Hide resolved
platform/broadcom/sonic-platform-modules-ruijie/b6510-48vs8cq/sonic_platform/thermal.py
Outdated
Show resolved
Hide resolved
platform/broadcom/sonic-platform-modules-ruijie/common/lib/rjutil/baseutil.py
Outdated
Show resolved
Hide resolved
Signed-off-by: tim-rj <sonic_rd@ruijie.com.cn>
|
This pull request introduces 5 alerts when merging 0d02a4a into 16e5434 - view on LGTM.com new alerts:
|
|
@jleveque hi jleveque, help forward, thanks! |
|
Retest mellanox please |
hi Jleveque, what i need to do for test mellanox? since we have no mellanox device, only broadcom device. |
@tim-rj: The message wasn't intended for you. It is a special phrase which triggered the mellanox check build to restart, because it had failed. |
|
@jleveque got it! |
|
@jleveque help forward this, thanks! |
Signed-off-by: tim-rj <sonic_rd@ruijie.com.cn>
Signed-off-by: tim-rj <sonic_rd@ruijie.com.cn>
|
This pull request introduces 5 alerts when merging 061a07a into d88e8cf - view on LGTM.com new alerts:
|
|
@jleveque done, help foward, thanks! |
Description of PR Due to sonic-net/sonic-buildimage#4954, now add Ruijie hwsku B6510-48VS8CQ into sonic-mgmt. Summary: Approach What is the motivation for this PR? Add new Ruijie platform How did you do it? How did you verify/test it? Run tests against B6510-48VS8CQ Any platform specific information? This change is Ruijie platform specific
Description of PR Due to sonic-net/sonic-buildimage#4954, now add Ruijie hwsku B6510-48VS8CQ into sonic-mgmt. Summary: Approach What is the motivation for this PR? Add new Ruijie platform How did you do it? How did you verify/test it? Run tests against B6510-48VS8CQ Any platform specific information? This change is Ruijie platform specific
Add new platform x86_64-ruijie_b6510-48vs8cq-r0 (Trident 3)
ASIC Vendor: Broadcom
Switch ASIC: Trident 3
Port Config: 48x25G+8x100G
Signed-off-by: tim-rj <sonic_rd@ruijie.com.cn>
Description of PR Due to sonic-net/sonic-buildimage#4954, now add Ruijie hwsku B6510-48VS8CQ into sonic-mgmt. Summary: Approach What is the motivation for this PR? Add new Ruijie platform How did you do it? How did you verify/test it? Run tests against B6510-48VS8CQ Any platform specific information? This change is Ruijie platform specific
ruijie-bsp-device-checkoutlog.txt