mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-25 09:17:08 +00:00
Update Quanta SYS_OBJECT_ID for each platform
This commit is contained in:
10
packages/platforms/quanta/powerpc/powerpc-quanta-lb9/platform-config/r0/src/python/powerpc_quanta_lb9_r0/__init__.py
Normal file → Executable file
10
packages/platforms/quanta/powerpc/powerpc-quanta-lb9/platform-config/r0/src/python/powerpc_quanta_lb9_r0/__init__.py
Normal file → Executable file
@@ -7,7 +7,15 @@ class OnlPlatform_powerpc_quanta_lb9_r0(OnlPlatformQuanta,
|
||||
OnlPlatformPortConfig_48x1_4x10):
|
||||
PLATFORM='powerpc-quanta-lb9-r0'
|
||||
MODEL="LB9"
|
||||
SYS_OBJECT_ID=".1048.1"
|
||||
""" Define Quanta SYS_OBJECT_ID rule.
|
||||
|
||||
SYS_OBJECT_ID = .xxxx.ABCC
|
||||
"xxxx" define QCT device mark. For example, LB9->1048, LY2->3048
|
||||
"A" define QCT switch series name: LB define 1, LY define 2, IX define 3
|
||||
"B" define QCT switch series number 1: For example, LB9->9, LY2->2
|
||||
"CC" define QCT switch series number 2: For example, LY2->00, LY4R->18(R is 18th english letter)
|
||||
"""
|
||||
SYS_OBJECT_ID=".1048.1900"
|
||||
|
||||
def baseconfig(self):
|
||||
platform_fancontrol="%s/etc/fancontrol" % self.basedir_onl()
|
||||
|
||||
10
packages/platforms/quanta/powerpc/powerpc-quanta-ly2/platform-config/r0/src/python/powerpc_quanta_ly2_r0/__init__.py
Normal file → Executable file
10
packages/platforms/quanta/powerpc/powerpc-quanta-ly2/platform-config/r0/src/python/powerpc_quanta_ly2_r0/__init__.py
Normal file → Executable file
@@ -8,7 +8,15 @@ class OnlPlatform_powerpc_quanta_ly2_r0(OnlPlatformQuanta,
|
||||
OnlPlatformPortConfig_48x10_4x40):
|
||||
PLATFORM='powerpc-quanta-ly2-r0'
|
||||
MODEL="LY2"
|
||||
SYS_OBJECT_ID=".3048.1"
|
||||
""" Define Quanta SYS_OBJECT_ID rule.
|
||||
|
||||
SYS_OBJECT_ID = .xxxx.ABCC
|
||||
"xxxx" define QCT device mark. For example, LB9->1048, LY2->3048
|
||||
"A" define QCT switch series name: LB define 1, LY define 2, IX define 3
|
||||
"B" define QCT switch series number 1: For example, LB9->9, LY2->2
|
||||
"CC" define QCT switch series number 2: For example, LY2->00, LY4R->18(R is 18th english letter)
|
||||
"""
|
||||
SYS_OBJECT_ID=".3048.2200"
|
||||
|
||||
def baseconfig(self):
|
||||
self.insmod("quanta-ly2-i2c-mux.ko")
|
||||
|
||||
@@ -5,7 +5,15 @@ class OnlPlatform_x86_64_quanta_ix1_rangeley_r0(OnlPlatformQuanta,
|
||||
OnlPlatformPortConfig_32x100):
|
||||
PLATFORM='x86-64-quanta-ix1-rangeley-r0'
|
||||
MODEL="IX1"
|
||||
SYS_OBJECT_ID=".8.1"
|
||||
""" Define Quanta SYS_OBJECT_ID rule.
|
||||
|
||||
SYS_OBJECT_ID = .xxxx.ABCC
|
||||
"xxxx" define QCT device mark. For example, LB9->1048, LY2->3048
|
||||
"A" define QCT switch series name: LB define 1, LY define 2, IX define 3
|
||||
"B" define QCT switch series number 1: For example, LB9->9, LY2->2
|
||||
"CC" define QCT switch series number 2: For example, LY2->00, LY4R->18(R is 18th english letter)
|
||||
"""
|
||||
SYS_OBJECT_ID=".7032.3100"
|
||||
|
||||
def baseconfig(self):
|
||||
self.insmod("qci_pmbus")
|
||||
|
||||
@@ -5,7 +5,15 @@ class OnlPlatform_x86_64_quanta_ix2_rangeley_r0(OnlPlatformQuanta,
|
||||
OnlPlatformPortConfig_48x25_8x100):
|
||||
PLATFORM='x86-64-quanta-ix2-rangeley-r0'
|
||||
MODEL="IX2"
|
||||
SYS_OBJECT_ID=".8.1"
|
||||
""" Define Quanta SYS_OBJECT_ID rule.
|
||||
|
||||
SYS_OBJECT_ID = .xxxx.ABCC
|
||||
"xxxx" define QCT device mark. For example, LB9->1048, LY2->3048
|
||||
"A" define QCT switch series name: LB define 1, LY define 2, IX define 3
|
||||
"B" define QCT switch series number 1: For example, LB9->9, LY2->2
|
||||
"CC" define QCT switch series number 2: For example, LY2->00, LY4R->18(R is 18th english letter)
|
||||
"""
|
||||
SYS_OBJECT_ID=".4048.3200"
|
||||
|
||||
def baseconfig(self):
|
||||
# Expose PSOC that behind PCA9641
|
||||
|
||||
@@ -5,7 +5,15 @@ class OnlPlatform_x86_64_quanta_ly4r_r0(OnlPlatformQuanta,
|
||||
OnlPlatformPortConfig_48x1_4x10):
|
||||
PLATFORM='x86-64-quanta-ly4r-r0'
|
||||
MODEL="LY4R"
|
||||
SYS_OBJECT_ID=".8.1"
|
||||
""" Define Quanta SYS_OBJECT_ID rule.
|
||||
|
||||
SYS_OBJECT_ID = .xxxx.ABCC
|
||||
"xxxx" define QCT device mark. For example, LB9->1048, LY2->3048
|
||||
"A" define QCT switch series name: LB define 1, LY define 2, IX define 3
|
||||
"B" define QCT switch series number 1: For example, LB9->9, LY2->2
|
||||
"CC" define QCT switch series number 2: For example, LY2->00, LY4R->18(R is 18th english letter)
|
||||
"""
|
||||
SYS_OBJECT_ID=".1048.2418"
|
||||
|
||||
def baseconfig(self):
|
||||
self.insmod("quanta_platform_ly4r")
|
||||
|
||||
@@ -5,7 +5,15 @@ class OnlPlatform_x86_64_quanta_ly6_rangeley_r0(OnlPlatformQuanta,
|
||||
OnlPlatformPortConfig_32x40):
|
||||
PLATFORM='x86-64-quanta-ly6-rangeley-r0'
|
||||
MODEL='LY6'
|
||||
SYS_OBJECT_ID='.6.1'
|
||||
""" Define Quanta SYS_OBJECT_ID rule.
|
||||
|
||||
SYS_OBJECT_ID = .xxxx.ABCC
|
||||
"xxxx" define QCT device mark. For example, LB9->1048, LY2->3048
|
||||
"A" define QCT switch series name: LB define 1, LY define 2, IX define 3
|
||||
"B" define QCT switch series number 1: For example, LB9->9, LY2->2
|
||||
"CC" define QCT switch series number 2: For example, LY2->00, LY4R->18(R is 18th english letter)
|
||||
"""
|
||||
SYS_OBJECT_ID='.5032.2600'
|
||||
|
||||
def baseconfig(self):
|
||||
self.insmod("quanta_hwmon_ly_series")
|
||||
|
||||
@@ -5,7 +5,15 @@ class OnlPlatform_x86_64_quanta_ly8_rangeley_r0(OnlPlatformQuanta,
|
||||
OnlPlatformPortConfig_48x10_6x40):
|
||||
PLATFORM='x86-64-quanta-ly8-rangeley-r0'
|
||||
MODEL="LY8"
|
||||
SYS_OBJECT_ID=".8.1"
|
||||
""" Define Quanta SYS_OBJECT_ID rule.
|
||||
|
||||
SYS_OBJECT_ID = .xxxx.ABCC
|
||||
"xxxx" define QCT device mark. For example, LB9->1048, LY2->3048
|
||||
"A" define QCT switch series name: LB define 1, LY define 2, IX define 3
|
||||
"B" define QCT switch series number 1: For example, LB9->9, LY2->2
|
||||
"CC" define QCT switch series number 2: For example, LY2->00, LY4R->18(R is 18th english letter)
|
||||
"""
|
||||
SYS_OBJECT_ID=".3048.2800"
|
||||
|
||||
def baseconfig(self):
|
||||
self.insmod("emerson700")
|
||||
|
||||
@@ -5,7 +5,15 @@ class OnlPlatform_x86_64_quanta_ly9_rangeley_r0(OnlPlatformQuanta,
|
||||
OnlPlatformPortConfig_48x10_6x40):
|
||||
PLATFORM='x86-64-quanta-ly9-rangeley-r0'
|
||||
MODEL="LY9"
|
||||
SYS_OBJECT_ID=".9.1"
|
||||
""" Define Quanta SYS_OBJECT_ID rule.
|
||||
|
||||
SYS_OBJECT_ID = .xxxx.ABCC
|
||||
"xxxx" define QCT device mark. For example, LB9->1048, LY2->3048
|
||||
"A" define QCT switch series name: LB define 1, LY define 2, IX define 3
|
||||
"B" define QCT switch series number 1: For example, LB9->9, LY2->2
|
||||
"CC" define QCT switch series number 2: For example, LY2->00, LY4R->18(R is 18th english letter)
|
||||
"""
|
||||
SYS_OBJECT_ID=".3048.2900"
|
||||
|
||||
def baseconfig(self):
|
||||
self.insmod("emerson700")
|
||||
|
||||
Reference in New Issue
Block a user