From a675493a5aac669a01362c90cfceeefa1f676147 Mon Sep 17 00:00:00 2001 From: "Marty Y. Lok" <76118573+mlok-nokia@users.noreply.github.com> Date: Tue, 17 Aug 2021 15:26:04 -0400 Subject: [PATCH 1/5] Added Nokia IXR7250E support (#7809) Why I did it Support Nokia ixr7250E IMM and Supervisor cards How I did it Added modules x86_64-nokia_ixr7250e_sup-r0 and x86_64-nokia_ixr7250e_36x400g-r0 ../device/nokia directory. Modified the platform/broadcom/one-image.mk to include NOKIA_IXR7250_PLATFORM_MODULE Modified the platform/broadcom/rule.mk to include the platform-module-nokia.mk --- .gitmodules | 3 + .../0/context_config.json | 21 ++ .../Nokia-IXR7250E-36x400G/0/port_config.ini | 20 ++ .../Nokia-IXR7250E-36x400G/0/sai.profile | 1 + .../1/context_config.json | 21 ++ .../Nokia-IXR7250E-36x400G/1/port_config.ini | 20 ++ .../Nokia-IXR7250E-36x400G/1/sai.profile | 1 + .../asic.conf | 3 + .../chassisdb.conf | 1 + .../default_sku | 1 + .../installer.conf | 4 + .../pcie.yaml | 220 +++++++++++++++ .../platform.json | 161 +++++++++++ .../platform_env.conf | 3 + .../platform_ndk.json | 32 +++ .../platform_reboot | 9 + .../plugins/__init__.py | 0 .../plugins/led_control.py | 17 ++ .../pmon_daemon_control.json | 3 + .../system_health_monitoring_config.json | 15 ++ .../thermal_policy.json | 28 ++ .../0/context_config.json | 21 ++ .../Nokia-IXR7250E-SUP-10/0/sai.profile | 3 + .../1/context_config.json | 21 ++ .../Nokia-IXR7250E-SUP-10/1/sai.profile | 3 + .../10/context_config.json | 21 ++ .../Nokia-IXR7250E-SUP-10/10/sai.profile | 3 + .../11/context_config.json | 21 ++ .../Nokia-IXR7250E-SUP-10/11/sai.profile | 3 + .../12/context_config.json | 21 ++ .../Nokia-IXR7250E-SUP-10/12/sai.profile | 3 + .../13/context_config.json | 21 ++ .../Nokia-IXR7250E-SUP-10/13/sai.profile | 3 + .../14/context_config.json | 21 ++ .../Nokia-IXR7250E-SUP-10/14/sai.profile | 3 + .../15/context_config.json | 21 ++ .../Nokia-IXR7250E-SUP-10/15/sai.profile | 3 + .../2/context_config.json | 21 ++ .../Nokia-IXR7250E-SUP-10/2/sai.profile | 3 + .../3/context_config.json | 21 ++ .../Nokia-IXR7250E-SUP-10/3/sai.profile | 3 + .../4/context_config.json | 21 ++ .../Nokia-IXR7250E-SUP-10/4/sai.profile | 3 + .../5/context_config.json | 21 ++ .../Nokia-IXR7250E-SUP-10/5/sai.profile | 3 + .../6/context_config.json | 21 ++ .../Nokia-IXR7250E-SUP-10/6/sai.profile | 3 + .../7/context_config.json | 21 ++ .../Nokia-IXR7250E-SUP-10/7/sai.profile | 3 + .../8/context_config.json | 21 ++ .../Nokia-IXR7250E-SUP-10/8/sai.profile | 4 + .../9/context_config.json | 21 ++ .../Nokia-IXR7250E-SUP-10/9/sai.profile | 3 + .../Nokia-IXR7250E-SUP-10/platform.json | 252 ++++++++++++++++++ .../x86_64-nokia_ixr7250e_sup-r0/asic.conf | 18 ++ .../chassisdb.conf | 4 + .../x86_64-nokia_ixr7250e_sup-r0/default_sku | 1 + .../installer.conf | 4 + .../x86_64-nokia_ixr7250e_sup-r0/pcie.yaml | 210 +++++++++++++++ .../platform_env.conf | 4 + .../platform_ndk.json | 24 ++ .../platform_reboot | 9 + .../plugins/__init__.py | 0 .../pmon_daemon_control.json | 4 + .../system_health_monitoring_config.json | 13 + .../thermal_policy.json | 63 +++++ platform/broadcom/one-image.mk | 3 +- platform/broadcom/platform-modules-nokia.dep | 10 + platform/broadcom/platform-modules-nokia.mk | 14 + platform/broadcom/rules.mk | 1 + .../broadcom/sonic-platform-modules-nokia | 1 + 71 files changed, 1603 insertions(+), 1 deletion(-) create mode 100644 device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/0/context_config.json create mode 100644 device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/0/port_config.ini create mode 100644 device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/0/sai.profile create mode 100644 device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/1/context_config.json create mode 100644 device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/1/port_config.ini create mode 100644 device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/1/sai.profile create mode 100644 device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/asic.conf create mode 100644 device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/chassisdb.conf create mode 100644 device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/default_sku create mode 100644 device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/installer.conf create mode 100644 device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/pcie.yaml create mode 100644 device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform.json create mode 100644 device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_env.conf create mode 100644 device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_ndk.json create mode 100755 device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_reboot create mode 100644 device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/plugins/__init__.py create mode 100644 device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/plugins/led_control.py create mode 100644 device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/pmon_daemon_control.json create mode 100644 device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/system_health_monitoring_config.json create mode 100644 device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/thermal_policy.json create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/0/context_config.json create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/0/sai.profile create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/1/context_config.json create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/1/sai.profile create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/10/context_config.json create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/10/sai.profile create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/11/context_config.json create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/11/sai.profile create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/12/context_config.json create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/12/sai.profile create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/13/context_config.json create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/13/sai.profile create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/14/context_config.json create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/14/sai.profile create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/15/context_config.json create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/15/sai.profile create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/2/context_config.json create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/2/sai.profile create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/3/context_config.json create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/3/sai.profile create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/4/context_config.json create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/4/sai.profile create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/5/context_config.json create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/5/sai.profile create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/6/context_config.json create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/6/sai.profile create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/7/context_config.json create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/7/sai.profile create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/8/context_config.json create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/8/sai.profile create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/9/context_config.json create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/9/sai.profile create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/platform.json create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/asic.conf create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/chassisdb.conf create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/default_sku create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/installer.conf create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/pcie.yaml create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/platform_env.conf create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/platform_ndk.json create mode 100755 device/nokia/x86_64-nokia_ixr7250e_sup-r0/platform_reboot create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/plugins/__init__.py create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/pmon_daemon_control.json create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/system_health_monitoring_config.json create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/thermal_policy.json create mode 100644 platform/broadcom/platform-modules-nokia.dep create mode 100644 platform/broadcom/platform-modules-nokia.mk create mode 160000 platform/broadcom/sonic-platform-modules-nokia diff --git a/.gitmodules b/.gitmodules index f1c3b9e4fc36..357498ff1c54 100644 --- a/.gitmodules +++ b/.gitmodules @@ -91,3 +91,6 @@ path = platform/broadcom/saibcm-modules-dnx url = https://github.com/Azure/saibcm-modules.git branch = sdk-6.5.22-gpl-dnx +[submodule "platform/broadcom/sonic-platform-modules-nokia"] + path = platform/broadcom/sonic-platform-modules-nokia + url = https://github.com/nokia/sonic-platform.git diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/0/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/0/context_config.json new file mode 100644 index 000000000000..5a8e83c7c92e --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/0/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd0", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "06:00.0" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/0/port_config.ini b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/0/port_config.ini new file mode 100644 index 000000000000..c05fc0a12dd2 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/0/port_config.ini @@ -0,0 +1,20 @@ +# name lanes alias index asic_port_name role speed coreid coreportid numvoq +Ethernet0 72,73,74,75,76,77,78,79 Ethernet0 1 Eth0-ASIC0 Ext 400000 1 0 8 +Ethernet1 80,81,82,83,84,85,86,87 Ethernet1 2 Eth1-ASIC0 Ext 400000 1 1 8 +Ethernet2 88,89,90,91,92,93,94,95 Ethernet2 3 Eth2-ASIC0 Ext 400000 1 2 8 +Ethernet3 96,97,98,99,100,101,102,103 Ethernet3 4 Eth3-ASIC0 Ext 400000 1 3 8 +Ethernet4 104,105,106,107,108,109,110,111 Ethernet4 5 Eth4-ASIC0 Ext 400000 1 4 8 +Ethernet5 112,113,114,115,116,117,118,119 Ethernet5 6 Eth5-ASIC0 Ext 400000 1 5 8 +Ethernet6 120,121,122,123,124,125,126,127 Ethernet6 7 Eth6-ASIC0 Ext 400000 1 6 8 +Ethernet7 128,129,130,131,132,133,134,135 Ethernet7 8 Eth7-ASIC0 Ext 400000 1 7 8 +Ethernet8 136,137,138,139,140,141,142,143 Ethernet8 9 Eth8-ASIC0 Ext 400000 1 8 8 +Ethernet9 64,65,66,67,68,69,70,71 Ethernet9 10 Eth9-ASIC0 Ext 400000 0 1 8 +Ethernet10 56,57,58,59,60,61,62,63 Ethernet10 11 Eth10-ASIC0 Ext 400000 0 2 8 +Ethernet11 48,49,50,51,52,53,54,55 Ethernet11 12 Eth11-ASIC0 Ext 400000 0 3 8 +Ethernet12 40,41,42,43,44,45,46,47 Ethernet12 13 Eth12-ASIC0 Ext 400000 0 4 8 +Ethernet13 32,33,34,35,36,37,38,39 Ethernet13 14 Eth13-ASIC0 Ext 400000 0 5 8 +Ethernet14 24,25,26,27,28,29,30,31 Ethernet14 15 Eth14-ASIC0 Ext 400000 0 6 8 +Ethernet15 16,17,18,19,20,21,22,23 Ethernet15 16 Eth15-ASIC0 Ext 400000 0 7 8 +Ethernet16 8,9,10,11,12,13,14,15 Ethernet16 17 Eth16-ASIC0 Ext 400000 0 8 8 +Ethernet17 0,1,2,3,4,5,6,7 Ethernet17 18 Eth17-ASIC0 Ext 400000 0 9 8 +Ethernet-IB0 115 Ethernet-IB0 37 Rcy-ASIC0 Int 10000 0 10 8 diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/0/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/0/sai.profile new file mode 100644 index 000000000000..c75b59a02b6d --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/0/sai.profile @@ -0,0 +1 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/jr2cp-nokia-18x400g-config.bcm diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/1/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/1/context_config.json new file mode 100644 index 000000000000..5caa2e8eef88 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/1/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd1", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 1, + "hwinfo" : "07:00.0" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/1/port_config.ini b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/1/port_config.ini new file mode 100644 index 000000000000..9f043d832eda --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/1/port_config.ini @@ -0,0 +1,20 @@ +# name lanes alias index asic_port_name role speed coreid coreportid numvoq +Ethernet18 72,73,74,75,76,77,78,79 Ethernet18 19 Eth0-ASIC1 Ext 400000 1 0 8 +Ethernet19 80,81,82,83,84,85,86,87 Ethernet19 20 Eth1-ASIC1 Ext 400000 1 1 8 +Ethernet20 88,89,90,91,92,93,94,95 Ethernet20 21 Eth2-ASIC1 Ext 400000 1 2 8 +Ethernet21 96,97,98,99,100,101,102,103 Ethernet21 22 Eth3-ASIC1 Ext 400000 1 3 8 +Ethernet22 104,105,106,107,108,109,110,111 Ethernet22 23 Eth4-ASIC1 Ext 400000 1 4 8 +Ethernet23 112,113,114,115,116,117,118,119 Ethernet23 24 Eth5-ASIC1 Ext 400000 1 5 8 +Ethernet24 120,121,122,123,124,125,126,127 Ethernet24 25 Eth6-ASIC1 Ext 400000 1 6 8 +Ethernet25 128,129,130,131,132,133,134,135 Ethernet25 26 Eth7-ASIC1 Ext 400000 1 7 8 +Ethernet26 136,137,138,139,140,141,142,143 Ethernet26 27 Eth8-ASIC1 Ext 400000 1 8 8 +Ethernet27 64,65,66,67,68,69,70,71 Ethernet27 28 Eth9-ASIC1 Ext 400000 0 1 8 +Ethernet28 56,57,58,59,60,61,62,63 Ethernet28 29 Eth10-ASIC1 Ext 400000 0 2 8 +Ethernet29 48,49,50,51,52,53,54,55 Ethernet29 30 Eth11-ASIC1 Ext 400000 0 3 8 +Ethernet30 40,41,42,43,44,45,46,47 Ethernet30 31 Eth12-ASIC1 Ext 400000 0 4 8 +Ethernet31 32,33,34,35,36,37,38,39 Ethernet31 32 Eth13-ASIC1 Ext 400000 0 5 8 +Ethernet32 24,25,26,27,28,29,30,31 Ethernet32 33 Eth14-ASIC1 Ext 400000 0 6 8 +Ethernet33 16,17,18,19,20,21,22,23 Ethernet33 34 Eth15-ASIC1 Ext 400000 0 7 8 +Ethernet34 8,9,10,11,12,13,14,15 Ethernet34 35 Eth16-ASIC1 Ext 400000 0 8 8 +Ethernet35 0,1,2,3,4,5,6,7 Ethernet35 36 Eth17-ASIC1 Ext 400000 0 9 8 +Ethernet-IB1 115 Ethernet-IB1 38 Rcy-ASIC1 Int 10000 0 10 8 diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/1/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/1/sai.profile new file mode 100644 index 000000000000..c75b59a02b6d --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/1/sai.profile @@ -0,0 +1 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/jr2cp-nokia-18x400g-config.bcm diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/asic.conf b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/asic.conf new file mode 100644 index 000000000000..3e123ed50a13 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/asic.conf @@ -0,0 +1,3 @@ +NUM_ASIC=2 +DEV_ID_ASIC_0=06:00.0 +DEV_ID_ASIC_1=07:00.0 diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/chassisdb.conf b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/chassisdb.conf new file mode 100644 index 000000000000..cb602c6eb4d8 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/chassisdb.conf @@ -0,0 +1 @@ +chassis_db_address=10.0.5.16 diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/default_sku b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/default_sku new file mode 100644 index 000000000000..7aba1887899d --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/default_sku @@ -0,0 +1 @@ +Nokia-IXR7250E-36x400G empty diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/installer.conf b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/installer.conf new file mode 100644 index 000000000000..7580ad94c4cf --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/installer.conf @@ -0,0 +1,4 @@ +CONSOLE_PORT=0x3f8 +CONSOLE_DEV=0 +CONSOLE_SPEED=115200 +ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="amd_iommu=off pci=resource_alignment=48@00:03.1" diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/pcie.yaml b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/pcie.yaml new file mode 100644 index 000000000000..2c8257a4872f --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/pcie.yaml @@ -0,0 +1,220 @@ +- bus: '00' + dev: '00' + fn: '0' + id: '1450' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Root Complex' +- bus: '00' + dev: '00' + fn: '2' + id: '1451' + name: 'IOMMU: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) I/O Memory Management Unit' +- bus: '00' + dev: '01' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge' +- bus: '00' + dev: '01' + fn: '1' + id: '1453' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge' +- bus: '00' + dev: '01' + fn: '2' + id: '1453' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge' +- bus: '00' + dev: '02' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge' +- bus: '00' + dev: '03' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge' +- bus: '00' + dev: '03' + fn: '1' + id: '1453' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge' +- bus: '00' + dev: '04' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge' +- bus: '00' + dev: '07' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge' +- bus: '00' + dev: '07' + fn: '1' + id: '1454' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B' +- bus: '00' + dev: '08' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge' +- bus: '00' + dev: '08' + fn: '1' + id: '1454' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B' +- bus: '00' + dev: '14' + fn: '0' + id: '790b' + name: 'SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 59)' +- bus: '00' + dev: '14' + fn: '3' + id: '790e' + name: 'ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)' +- bus: '00' + dev: '18' + fn: '0' + id: '1460' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 0' +- bus: '00' + dev: '18' + fn: '1' + id: '1461' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 1' +- bus: '00' + dev: '18' + fn: '2' + id: '1462' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 2' +- bus: '00' + dev: '18' + fn: '3' + id: '1463' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 3' +- bus: '00' + dev: '18' + fn: '4' + id: '1464' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 4' +- bus: '00' + dev: '18' + fn: '5' + id: '1465' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 5' +- bus: '00' + dev: '18' + fn: '6' + id: '1466' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 6' +- bus: '00' + dev: '18' + fn: '7' + id: '1467' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7' +- bus: '01' + dev: '00' + fn: '0' + id: '157b' + name: 'Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)' +- bus: '02' + dev: '00' + fn: '0' + id: '2001' + name: 'Unassigned class [ff00]: Alcatel Device 2001' +- bus: '03' + dev: '00' + fn: '0' + id: '8562' + name: 'PCI bridge: PMC-Sierra Inc. Device 8562' +- bus: '03' + dev: '00' + fn: '1' + id: '8562' + name: 'Memory controller: PMC-Sierra Inc. Device 8562' +- bus: '04' + dev: '00' + fn: '0' + id: '8562' + name: 'PCI bridge: PMC-Sierra Inc. Device 8562' +- bus: '04' + dev: '01' + fn: '0' + id: '8562' + name: 'PCI bridge: PMC-Sierra Inc. Device 8562' +- bus: '04' + dev: '02' + fn: '0' + id: '8562' + name: 'PCI bridge: PMC-Sierra Inc. Device 8562' +- bus: '04' + dev: '03' + fn: '0' + id: '8562' + name: 'PCI bridge: PMC-Sierra Inc. Device 8562' +- bus: '05' + dev: '00' + fn: '0' + id: '001a' + name: 'Unassigned class [ff00]: Alcatel Device 001a (rev 35)' +- bus: '06' + dev: '00' + fn: '0' + id: '8850' + name: 'Ethernet controller: Broadcom Limited Device 8850 (rev 01)' +- bus: '07' + dev: '00' + fn: '0' + id: '8850' + name: 'Ethernet controller: Broadcom Limited Device 8850 (rev 01)' +- bus: '08' + dev: '00' + fn: '0' + id: '7028' + name: 'Memory controller: Xilinx Corporation Device 7028' +- bus: '09' + dev: '00' + fn: '0' + id: '145a' + name: 'Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function' +- bus: '09' + dev: '00' + fn: '2' + id: '1456' + name: 'Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Platform Security Processor' +- bus: '09' + dev: '00' + fn: '3' + id: '145f' + name: 'USB controller: Advanced Micro Devices, Inc. [AMD] Zeppelin USB 3.0 Host controller' +- bus: '0a' + dev: '00' + fn: '0' + id: '1455' + name: 'Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Renoir PCIe Dummy Function' +- bus: '0a' + dev: '00' + fn: '1' + id: '1468' + name: 'Encryption controller: Advanced Micro Devices, Inc. [AMD] Zeppelin Cryptographic Coprocessor NTBCCP' +- bus: '0a' + dev: '00' + fn: '2' + id: '7901' + name: 'SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)' +- bus: '0a' + dev: '00' + fn: '3' + id: '1457' + name: 'Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller' +- bus: '0a' + dev: '00' + fn: '4' + id: '1458' + name: 'Ethernet controller: Advanced Micro Devices, Inc. [AMD] Device 1458' +- bus: '0a' + dev: '00' + fn: '5' + id: '1458' + name: 'Ethernet controller: Advanced Micro Devices, Inc. [AMD] Device 1458' diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform.json b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform.json new file mode 100644 index 000000000000..ad911fb609b0 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform.json @@ -0,0 +1,161 @@ +{ + "chassis": { + "name": "Nokia-IXR7250E-36x400G", + "components": [ + { + "name": "BIOS" + }, + { + "name": "FPGA1" + }, + { + "name": "FPGA2" + } + ], + + "fans": [], + "fan_drawers": [], + "master_psu_led_color": [], + "psus": [], + "thermals": [ + { + "name": "temp_1(fan)" + }, + { + "name": "temp_2(fan)" + }, + { + "name": "temp_3" + }, + { + "name": "temp_4" + }, + { + "name": "temp_5" + }, + { + "name": "temp_6" + }, + { + "name": "temp_7" + }, + { + "name": "temp_8" + }, + { + "name": "temp_9" + } + ], + "sfps": [ + { + "name": "QSFPDD_1" + }, + { + "name": "QSFPDD_2" + }, + { + "name": "QSFPDD_3" + }, + { + "name": "QSFPDD_4" + }, + { + "name": "QSFPDD_5" + }, + { + "name": "QSFPDD_6" + }, + { + "name": "QSFPDD_7" + }, + { + "name": "QSFPDD_8" + }, + { + "name": "QSFPDD_9" + }, + { + "name": "QSFPDD_10" + }, + { + "name": "QSFPDD_11" + }, + { + "name": "QSFPDD_12" + }, + { + "name": "QSFPDD_13" + }, + { + "name": "QSFPDD_14" + }, + { + "name": "QSFPDD_15" + }, + { + "name": "QSFPDD_16" + }, + { + "name": "QSFPDD_17" + }, + { + "name": "QSFPDD_18" + }, + { + "name": "QSFPDD_19" + }, + { + "name": "QSFPDD_20" + }, + { + "name": "QSFPDD_21" + }, + { + "name": "QSFPDD_22" + }, + { + "name": "QSFPDD_23" + }, + { + "name": "QSFPDD_24" + }, + { + "name": "QSFPDD_25" + }, + { + "name": "QSFPDD_26" + }, + { + "name": "QSFPDD_27" + }, + { + "name": "QSFPDD_28" + }, + { + "name": "QSFPDD_29" + }, + { + "name": "QSFPDD_30" + }, + { + "name": "QSFPDD_31" + }, + { + "name": "QSFPDD_32" + }, + { + "name": "QSFPDD_33" + }, + { + "name": "QSFPDD_34" + }, + { + "name": "QSFPDD_35" + }, + { + "name": "QSFPDD_36" + } + ] + }, + "interfaces": {} +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_env.conf b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_env.conf new file mode 100644 index 000000000000..45697fe72fc1 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_env.conf @@ -0,0 +1,3 @@ +usemsi=1 +dmasize=512M +default_mtu=9100 diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_ndk.json b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_ndk.json new file mode 100644 index 000000000000..92a206bb490b --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_ndk.json @@ -0,0 +1,32 @@ +{ + "options": [ + { + "key": "sfp_init_tx_en", + "stringval": "yes" + }, + { + "key": "midplane_subnet", + "stringval": "10.0.5.0" + }, + { + "key": "midplane_monitor", + "stringval": "yes" + }, + { + "key": "monitor_action", + "stringval": "reboot" + }, + { + "key": "grpc_thermal_monitor", + "stringval": "yes" + }, + { + "key": "disable_vfio", + "intval": 1 + }, + { + "key": "sonic_bdb_mode", + "intval": 0 + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_reboot b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_reboot new file mode 100755 index 000000000000..65cba5185eb1 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_reboot @@ -0,0 +1,9 @@ +#!/bin/bash + +systemctl stop nokia-watchdog.service +sleep 2 +echo "w" > /dev/watchdog +kick_date=`date -u` +echo "last watchdog kick $kick_date" > /var/log/nokia-watchdog-last.log +sync +/sbin/reboot diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/plugins/__init__.py b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/plugins/__init__.py new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/plugins/led_control.py b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/plugins/led_control.py new file mode 100644 index 000000000000..58c8c0893272 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/plugins/led_control.py @@ -0,0 +1,17 @@ +# +# Name: led_control.py, version: 1.0 +# +# Description: Module contains the Nokia specific LED control +# class object creation. +# +# Copyright (c) 2019, Nokia +# All rights reserved. +# + +try: + from platform_ndk import nokia_led_mgmt + +except ImportError as e: + raise ImportError("%s - required module not found" % e) + +LedControl = nokia_led_mgmt.getLedControl() diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/pmon_daemon_control.json b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/pmon_daemon_control.json new file mode 100644 index 000000000000..74ade4eb97a7 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/pmon_daemon_control.json @@ -0,0 +1,3 @@ +{ + "skip_psud": true +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/system_health_monitoring_config.json b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/system_health_monitoring_config.json new file mode 100644 index 000000000000..57006d67ecf5 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/system_health_monitoring_config.json @@ -0,0 +1,15 @@ +{ + "services_to_ignore": [], + "devices_to_ignore": [ + "asic", + "fan", + "psu" + ], + "user_defined_checkers": [], + "polling_interval": 60, + "led_color": { + "fault": "red", + "normal": "green", + "booting": "amber" + } +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/thermal_policy.json b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/thermal_policy.json new file mode 100644 index 000000000000..8536b369aa7d --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/thermal_policy.json @@ -0,0 +1,28 @@ +{ + "thermal_control_algorithm": { + "run_at_boot_up": "false" + }, + "info_types": [ + { + "type": "thermal_info" + }, + { + "type": "chassis_info" + } + ], + "policies": [ + { + "name": "pusblish thermal to platform", + "conditions": [ + { + "type": "thermal.chassis.collect" + } + ], + "actions": [ + { + "type": "thermal.platform.publish" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/0/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/0/context_config.json new file mode 100644 index 000000000000..2845886a6760 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/0/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd0", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:1:0" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/0/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/0/sai.profile new file mode 100644 index 000000000000..dbc60e3ef133 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/0/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-1-0.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/1/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/1/context_config.json new file mode 100644 index 000000000000..899c4e4c1524 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/1/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd1", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:1:1" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/1/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/1/sai.profile new file mode 100644 index 000000000000..05a77cb79cc7 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/1/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-1-1.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/10/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/10/context_config.json new file mode 100644 index 000000000000..ccaed3ae8666 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/10/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd10", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:6:0" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/10/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/10/sai.profile new file mode 100644 index 000000000000..e8dd14d895a5 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/10/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-6-0.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/11/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/11/context_config.json new file mode 100644 index 000000000000..f1caf87569c0 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/11/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd11", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:6:1" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/11/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/11/sai.profile new file mode 100644 index 000000000000..5c7864acd28d --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/11/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-6-1.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/12/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/12/context_config.json new file mode 100644 index 000000000000..04893d944a39 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/12/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd12", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:7:0" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/12/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/12/sai.profile new file mode 100644 index 000000000000..7e9833014a26 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/12/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-7-0.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/13/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/13/context_config.json new file mode 100644 index 000000000000..9ff440ee08a4 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/13/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd13", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:7:1" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/13/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/13/sai.profile new file mode 100644 index 000000000000..4267d04184fa --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/13/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-7-1.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/14/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/14/context_config.json new file mode 100644 index 000000000000..436f0ce557da --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/14/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd14", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:8:0" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/14/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/14/sai.profile new file mode 100644 index 000000000000..3c5e8f1304ed --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/14/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-8-0.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/15/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/15/context_config.json new file mode 100644 index 000000000000..b279ea8e6da2 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/15/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd15", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:8:1" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/15/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/15/sai.profile new file mode 100644 index 000000000000..ee44f77cd6f0 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/15/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-8-1.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/2/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/2/context_config.json new file mode 100644 index 000000000000..a134bc076c79 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/2/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd2", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:2:0" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/2/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/2/sai.profile new file mode 100644 index 000000000000..8abeb9043e4b --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/2/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-2-0.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/3/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/3/context_config.json new file mode 100644 index 000000000000..6abdd85fd275 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/3/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd3", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:2:1" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/3/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/3/sai.profile new file mode 100644 index 000000000000..b2c7ec1ada38 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/3/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-2-1.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/4/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/4/context_config.json new file mode 100644 index 000000000000..14526c17d086 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/4/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd4", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:3:0" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/4/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/4/sai.profile new file mode 100644 index 000000000000..5bbb453aa484 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/4/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-3-0.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/5/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/5/context_config.json new file mode 100644 index 000000000000..7877cf627e23 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/5/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd5", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:3:1" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/5/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/5/sai.profile new file mode 100644 index 000000000000..705ab7c27097 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/5/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-3-1.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/6/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/6/context_config.json new file mode 100644 index 000000000000..90c8f542c9a5 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/6/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd6", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:4:0" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/6/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/6/sai.profile new file mode 100644 index 000000000000..ca86e9b298ec --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/6/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-4-0.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/7/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/7/context_config.json new file mode 100644 index 000000000000..409431f7aeb7 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/7/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd7", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:4:1" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/7/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/7/sai.profile new file mode 100644 index 000000000000..8adb0b842a03 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/7/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-4-1.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/8/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/8/context_config.json new file mode 100644 index 000000000000..fab414b6e8c1 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/8/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd8", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:5:0" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/8/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/8/sai.profile new file mode 100644 index 000000000000..f4cd51ebc0d9 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/8/sai.profile @@ -0,0 +1,4 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-5-0.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb + diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/9/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/9/context_config.json new file mode 100644 index 000000000000..0497ac77d1bb --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/9/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd9", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:5:1" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/9/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/9/sai.profile new file mode 100644 index 000000000000..5b610fe3b349 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/9/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-5-1.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/platform.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/platform.json new file mode 100644 index 000000000000..ec96ac39ae09 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/platform.json @@ -0,0 +1,252 @@ +{ + "chassis": { + "name": "Nokia-IXR7250E-SUP-10", + "components": [ + { + "name": "BIOS" + }, + { + "name": "FPGA1" + } + ], + "fans": [], + "fan_drawers": [ + { + "name": "FanTray0", + "num_fans": 1, + "fans": [ + { + "name": "Fan0" + } + ] + }, + { + "name": "FanTray1", + "num_fans": 1, + "fans": [ + { + "name": "Fan1" + } + ] + }, + { + "name": "FanTray2", + "num_fans": 1, + "fans": [ + { + "name": "Fan2" + } + ] + }, + { + "name": "FanTray3", + "num_fans": 1, + "fans": [ + { + "name": "Fan3" + } + ] + } + ], + "master_psu_led_color": ["green", "red"], + "psus": [ + { + "name": "PSU1", + "led": "N/A", + "fans": [] + }, + { + "name": "PSU2", + "led": "N/A", + "fans": [] + }, + { + "name": "PSU3", + "led": "N/A", + "fans": [] + }, + { + "name": "PSU4", + "led": "N/A", + "fans": [] + }, + { + "name": "PSU5", + "led": "N/A", + "fans": [] + }, + { + "name": "PSU6", + "led": "N/A", + "fans": [] + }, + { + "name": "PSU7", + "led": "N/A", + "fans": [] + }, + { + "name": "PSU8", + "led": "N/A", + "fans": [] + }, + { + "name": "PSU9", + "led": "N/A", + "fans": [] + }, + { + "name": "PSU10", + "led": "N/A", + "fans": [] + }, + { + "name": "PSU11", + "led": "N/A", + "fans": [] + }, + { + "name": "PSU12", + "led": "N/A", + "fans": [] + } + ], + "thermals": [ + { + "name": "temp_1" + }, + { + "name": "temp_2" + }, + { + "name": "temp_3(fan)" + }, + { + "name": "temp_4(fan)" + }, + { + "name": "sfm1_1(fan)" + }, + { + "name": "sfm1_2" + }, + { + "name": "sfm1_3" + }, + { + "name": "sfm1_4" + }, + { + "name": "sfm1_5" + }, + { + "name": "sfm2_1(fan)" + }, + { + "name": "sfm2_2" + }, + { + "name": "sfm2_3" + }, + { + "name": "sfm2_4" + }, + { + "name": "sfm2_5" + }, + { + "name": "sfm3_1(fan)" + }, + { + "name": "sfm3_2" + }, + { + "name": "sfm3_3" + }, + { + "name": "sfm3_4" + }, + { + "name": "sfm3_5" + }, + { + "name": "sfm4_1(fan)" + }, + { + "name": "sfm4_2" + }, + { + "name": "sfm4_3" + }, + { + "name": "sfm4_4" + }, + { + "name": "sfm4_5" + }, + { + "name": "sfm5_1(fan)" + }, + { + "name": "sfm5_2" + }, + { + "name": "sfm5_3" + }, + { + "name": "sfm5_4" + }, + { + "name": "sfm5_5" + }, + { + "name": "sfm6_1(fan)" + }, + { + "name": "sfm6_2" + }, + { + "name": "sfm6_3" + }, + { + "name": "sfm6_4" + }, + { + "name": "sfm6_5" + }, + { + "name": "sfm7_1(fan)" + }, + { + "name": "sfm7_2" + }, + { + "name": "sfm7_3" + }, + { + "name": "sfm7_4" + }, + { + "name": "sfm7_5" + }, + { + "name": "sfm8_1(fan)" + }, + { + "name": "sfm8_2" + }, + { + "name": "sfm8_3" + }, + { + "name": "sfm8_4" + }, + { + "name": "sfm8_5" + } + ], + "sfps": [ + ] + }, + "interfaces": {} +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/asic.conf b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/asic.conf new file mode 100644 index 000000000000..7d0f9b9c4782 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/asic.conf @@ -0,0 +1,18 @@ +NUM_ASIC=16 +DEV_ID_ASIC_0=nokia-bdb:1:0 +DEV_ID_ASIC_1=nokia-bdb:1:1 +DEV_ID_ASIC_2=nokia-bdb:2:0 +DEV_ID_ASIC_3=nokia-bdb:2:1 +DEV_ID_ASIC_4=nokia-bdb:3:0 +DEV_ID_ASIC_5=nokia-bdb:3:1 +DEV_ID_ASIC_6=nokia-bdb:4:0 +DEV_ID_ASIC_7=nokia-bdb:4:1 +DEV_ID_ASIC_8=nokia-bdb:5:0 +DEV_ID_ASIC_9=nokia-bdb:5:1 +DEV_ID_ASIC_10=nokia-bdb:6:0 +DEV_ID_ASIC_11=nokia-bdb:6:1 +DEV_ID_ASIC_12=nokia-bdb:7:0 +DEV_ID_ASIC_13=nokia-bdb:7:1 +DEV_ID_ASIC_14=nokia-bdb:8:0 +DEV_ID_ASIC_15=nokia-bdb:8:1 + diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/chassisdb.conf b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/chassisdb.conf new file mode 100644 index 000000000000..26fefcd1827f --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/chassisdb.conf @@ -0,0 +1,4 @@ +start_chassis_db=1 +chassis_db_address=10.0.5.16 +lag_id_start=1 +lag_id_end=512 diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/default_sku b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/default_sku new file mode 100644 index 000000000000..41c4fc890130 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/default_sku @@ -0,0 +1 @@ +Nokia-IXR7250E-SUP-10 empty diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/installer.conf b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/installer.conf new file mode 100644 index 000000000000..21bc03a020bc --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/installer.conf @@ -0,0 +1,4 @@ +CONSOLE_PORT=0x3f8 +CONSOLE_DEV=0 +CONSOLE_SPEED=115200 +ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="amd_iommu=off pci=resource_alignment=26@00:01.4" \ No newline at end of file diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/pcie.yaml b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/pcie.yaml new file mode 100644 index 000000000000..7d587abbdab8 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/pcie.yaml @@ -0,0 +1,210 @@ +- bus: '00' + dev: '00' + fn: '0' + id: '1450' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Root Complex' +- bus: '00' + dev: '00' + fn: '2' + id: '1451' + name: 'IOMMU: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) I/O Memory Management Unit' +- bus: '00' + dev: '01' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge' +- bus: '00' + dev: '01' + fn: '2' + id: '1453' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge' +- bus: '00' + dev: '01' + fn: '3' + id: '1453' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge' +- bus: '00' + dev: '01' + fn: '4' + id: '1453' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge' +- bus: '00' + dev: '01' + fn: '5' + id: '1453' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge' +- bus: '00' + dev: '02' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge' +- bus: '00' + dev: '03' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge' +- bus: '00' + dev: '03' + fn: '2' + id: '1453' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge' +- bus: '00' + dev: '03' + fn: '3' + id: '1453' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge' +- bus: '00' + dev: '03' + fn: '4' + id: '1453' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge' +- bus: '00' + dev: '04' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge' +- bus: '00' + dev: '07' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge' +- bus: '00' + dev: '07' + fn: '1' + id: '1454' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B' +- bus: '00' + dev: '08' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge' +- bus: '00' + dev: '08' + fn: '1' + id: '1454' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B' +- bus: '00' + dev: '14' + fn: '0' + id: '790b' + name: 'SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 59)' +- bus: '00' + dev: '14' + fn: '3' + id: 790e' + name: 'ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)' +- bus: '00' + dev: '18' + fn: '0' + id: '1460' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 0' +- bus: '00' + dev: '18' + fn: '1' + id: '1461' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 1' +- bus: '00' + dev: '18' + fn: '2' + id: '1462' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 2' +- bus: '00' + dev: '18' + fn: '3' + id: '1463' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 3' +- bus: '00' + dev: '18' + fn: '4' + id: '1464' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 4' +- bus: '00' + dev: '18' + fn: '5' + id: '1465' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 5' +- bus: '00' + dev: '18' + fn: '6' + id: '1466' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 6' +- bus: '00' + dev: '18' + fn: '7 ' + id: '1467' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7' +- bus: '01' + dev: '00' + fn: '0' + id: '0025' + name: 'Unassigned class [ff00]: Alcatel Device 0025 (rev 35)' +- bus: '03' + dev: '00' + fn: '0' + id: '157b' + name: 'Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)' +- bus: '04' + dev: '00' + fn: '0' + id: '8454' + name: 'Ethernet controller: Broadcom Limited Device 8454 (rev 01)' +- bus: '04' + dev: '00' + fn: '1' + id: '8454' + name: 'Ethernet controller: Broadcom Limited Device 8454 (rev 01)' +- bus: '08' + dev: '00' + fn: '0' + id: '145a' + name: 'Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function' +- bus: '08' + dev: '00' + fn: '2' + id: '1456' + name: 'Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Platform Security Processor' +- bus: '08' + dev: '00' + fn: '3' + id: '145f' + name: 'USB controller: Advanced Micro Devices, Inc. [AMD] Zeppelin USB 3.0 Host controller' +- bus: '09' + dev: '00' + fn: '0' + id: '1455' + name: 'Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Renoir PCIe Dummy Function' +- bus: '09' + dev: '00' + fn: '1' + id: '1468' + name: 'Encryption controller: Advanced Micro Devices, Inc. [AMD] Zeppelin Cryptographic Coprocessor NTBCCP' +- bus: '09' + dev: '00' + fn: '2' + id: '7901' + name: 'SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)' +- bus: '09' + dev: '00' + fn: '3' + id: '1457' + name: 'Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller' +- bus: '09' + dev: '00' + fn: '4' + id: '1458' + name: 'Ethernet controller: Advanced Micro Devices, Inc. [AMD] Device 1458' +- bus: '09' + dev: '00' + fn: '5' + id: '1458' + name: 'Ethernet controller: Advanced Micro Devices, Inc. [AMD] Device 1458' +- bus: '09' + dev: '00' + fn: '6' + id: '1459' + name: 'Ethernet controller: Advanced Micro Devices, Inc. [AMD] Device 1459' +- bus: '09' + dev: '00' + fn: '7' + id: '1459' + name: 'Ethernet controller: Advanced Micro Devices, Inc. [AMD] Device 1459' diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/platform_env.conf b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/platform_env.conf new file mode 100644 index 000000000000..d4a267afb984 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/platform_env.conf @@ -0,0 +1,4 @@ +usemsi=1 +dmasize=128M +default_mtu=9100 +supervisor=1 diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/platform_ndk.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/platform_ndk.json new file mode 100644 index 000000000000..db906ccff28a --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/platform_ndk.json @@ -0,0 +1,24 @@ +{ + "options": [ + { + "key": "midplane_subnet", + "stringval": "10.0.5.0" + }, + { + "key": "midplane_monitor", + "stringval": "yes" + }, + { + "key": "monitor_action", + "stringval": "warn" + }, + { + "key": "sonic_bdb_mode", + "intval": 1 + }, + { + "intval": 1, + "key": "disable_vfio" + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/platform_reboot b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/platform_reboot new file mode 100755 index 000000000000..65cba5185eb1 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/platform_reboot @@ -0,0 +1,9 @@ +#!/bin/bash + +systemctl stop nokia-watchdog.service +sleep 2 +echo "w" > /dev/watchdog +kick_date=`date -u` +echo "last watchdog kick $kick_date" > /var/log/nokia-watchdog-last.log +sync +/sbin/reboot diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/plugins/__init__.py b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/plugins/__init__.py new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/pmon_daemon_control.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/pmon_daemon_control.json new file mode 100644 index 000000000000..f4e27b89854c --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/pmon_daemon_control.json @@ -0,0 +1,4 @@ +{ + "skip_ledd": true, + "skip_xcvrd": true +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/system_health_monitoring_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/system_health_monitoring_config.json new file mode 100644 index 000000000000..8309b1dcc8ae --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/system_health_monitoring_config.json @@ -0,0 +1,13 @@ +{ + "services_to_ignore": [], + "devices_to_ignore": [ + "asic" + ], + "user_defined_checkers": [], + "polling_interval": 60, + "led_color": { + "fault": "red", + "normal": "green", + "booting": "amber" + } +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/thermal_policy.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/thermal_policy.json new file mode 100644 index 000000000000..8313ab148ce3 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/thermal_policy.json @@ -0,0 +1,63 @@ +{ + "thermal_control_algorithm": { + "run_at_boot_up": "false" + }, + "info_types": [ + { + "type": "thermal_info" + }, + { + "type": "chassis_info" + }, + { + "type": "fan_info" + } + ], + "policies": [ + { + "name": "pusblish thermal to platform", + "conditions": [ + { + "type": "thermal.chassis.collect" + } + ], + "actions": [ + { + "type": "thermal.platform.publish" + } + ] + }, + { + "name": "override platform fan-algo", + "conditions": [ + { + "type": "fan.platform_algorithm.override" + } + ], + "actions": [ + { + "type": "fan.all.disable_algorithm", + "status": "true" + }, + { + "type": "fan.all.set_speed", + "speed": "100" + } + ] + }, + { + "name": "default platform fan-algo", + "conditions": [ + { + "type": "fan.platform_algorithm.allow" + } + ], + "actions": [ + { + "type": "fan.all.disable_algorithm", + "status": "false" + } + ] + } + ] +} diff --git a/platform/broadcom/one-image.mk b/platform/broadcom/one-image.mk index 9509c1b0910e..d11f82bde341 100644 --- a/platform/broadcom/one-image.mk +++ b/platform/broadcom/one-image.mk @@ -69,7 +69,8 @@ $(SONIC_ONE_IMAGE)_LAZY_INSTALLS += $(DELL_S6000_PLATFORM_MODULE) \ $(JUNIPER_QFX5200_PLATFORM_MODULE) \ $(DELTA_AGC032_PLATFORM_MODULE) \ $(RUIJIE_B6510_48VS8CQ_PLATFORM_MODULE) \ - $(RAGILE_RA_B6510_48V8C_PLATFORM_MODULE) + $(RAGILE_RA_B6510_48V8C_PLATFORM_MODULE) \ + $(NOKIA_IXR7250_PLATFORM_MODULE) $(SONIC_ONE_IMAGE)_LAZY_BUILD_INSTALLS = $(BRCM_OPENNSL_KERNEL) $(BRCM_DNX_OPENNSL_KERNEL) ifeq ($(INSTALL_DEBUG_TOOLS),y) $(SONIC_ONE_IMAGE)_DOCKERS += $(SONIC_INSTALL_DOCKER_DBG_IMAGES) diff --git a/platform/broadcom/platform-modules-nokia.dep b/platform/broadcom/platform-modules-nokia.dep new file mode 100644 index 000000000000..f9d92b660b6f --- /dev/null +++ b/platform/broadcom/platform-modules-nokia.dep @@ -0,0 +1,10 @@ + +MPATH := $($(NOKIA_IXR7250_PLATFORM_MODULE)_SRC_PATH) +DEP_FILES := $(SONIC_COMMON_FILES_LIST) platform/broadcom/platform-modules-nokia.mk platform/broadcom/platform-modules-nokia.dep +DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST) +DEP_FILES += $(shell git ls-files $(MPATH)) + +$(NOKIA_IXR7250_PLATFORM_MODULE)_CACHE_MODE := GIT_CONTENT_SHA +$(NOKIA_IXR7250_PLATFORM_MODULE)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST) +$(NOKIA_IXR7250_PLATFORM_MODULE)_DEP_FILES := $(DEP_FILES) + diff --git a/platform/broadcom/platform-modules-nokia.mk b/platform/broadcom/platform-modules-nokia.mk new file mode 100644 index 000000000000..fb5199375e5e --- /dev/null +++ b/platform/broadcom/platform-modules-nokia.mk @@ -0,0 +1,14 @@ +# Nokia Platform modules + +NOKIA_IXR7250_PLATFORM_MODULE_VERSION = 1.0 + +export NOKIA_IXR7250_PLATFORM_MODULE_VERSION + + +NOKIA_IXR7250_PLATFORM_MODULE = sonic-platform-nokia-chassis_$(NOKIA_IXR7250_PLATFORM_MODULE_VERSION)_amd64.deb +$(NOKIA_IXR7250_PLATFORM_MODULE)_SRC_PATH = $(PLATFORM_PATH)/sonic-platform-modules-nokia +$(NOKIA_IXR7250_PLATFORM_MODULE)_DEPENDS += $(LINUX_HEADERS) $(LINUX_HEADERS_COMMON) $(NOKIA_NDK_DEBIAN) +$(NOKIA_IXR7250_PLATFORM_MODULE)_PLATFORM = x86_64-nokia_ixr7250e_sup-r0 +$(NOKIA_IXR7250_PLATFORM_MODULE)_PLATFORM += x86_64-nokia_ixr7250e_36x400g-r0 +SONIC_DPKG_DEBS += $(NOKIA_IXR7250_PLATFORM_MODULE) + diff --git a/platform/broadcom/rules.mk b/platform/broadcom/rules.mk index 031cd60150b8..e890c43e5c5a 100644 --- a/platform/broadcom/rules.mk +++ b/platform/broadcom/rules.mk @@ -1,5 +1,6 @@ include $(PLATFORM_PATH)/sai-modules.mk include $(PLATFORM_PATH)/sai.mk +include $(PLATFORM_PATH)/platform-modules-nokia.mk include $(PLATFORM_PATH)/platform-modules-dell.mk include $(PLATFORM_PATH)/platform-modules-arista.mk include $(PLATFORM_PATH)/platform-modules-ingrasys.mk diff --git a/platform/broadcom/sonic-platform-modules-nokia b/platform/broadcom/sonic-platform-modules-nokia new file mode 160000 index 000000000000..90afc22977b4 --- /dev/null +++ b/platform/broadcom/sonic-platform-modules-nokia @@ -0,0 +1 @@ +Subproject commit 90afc22977b481e4511953904e3d66c68d039537 From e6ea527acd34b84a8eac972ab968fb624fb8687c Mon Sep 17 00:00:00 2001 From: Guohan Lu Date: Tue, 17 Aug 2021 15:46:00 -0700 Subject: [PATCH 2/5] [submodule]: update sonic-utilities (#8494) * 0a145e8 2021-08-17 | Revert "[config][generic-update] Implementing patch sorting (#1599)" (HEAD, origin/master, origin/HEAD) [Guohan Lu] * dbcc6fd 2021-08-16 | [config reload]: fix the condition for checking if system is starting (#1766) (HEAD, origin/master, origin/HEAD) [Guohan Lu] * 2c7cfaa 2021-08-17 | [sonic-package-manager] switch from poetry-semver to semantic_version due to bugs found in poetry-semver (#1710) [Stepan Blyshchak] * 7821a3f 2021-08-13 | [vnet_route_check] don't hardcode prefix length of /24 (#1756) [Stepan Blyshchak] * 4175cb9 2021-08-11 | [show priority-group drop counters] Add user info output when user want to check PG counters and polling are disabled (#1678) [Andriy Yurkiv] * 920bb87 2021-08-10 | [config][generic-update] Implementing patch sorting (#1599) [Mohamed Ghoneim] * 30907c4 2021-08-06 | [config][interface][speed] Fixed the config interface speed in multiasic issue (#1739) [Marty Y. Lok] * 4b88e0e 2021-08-06 | [minigraph] Donot enable PFC watchdog for MgmtTsToR (#1734) [Blueve] Signed-off-by: Guohan Lu --- src/sonic-utilities | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sonic-utilities b/src/sonic-utilities index b540f5f8fd73..0a145e802738 160000 --- a/src/sonic-utilities +++ b/src/sonic-utilities @@ -1 +1 @@ -Subproject commit b540f5f8fd73525d05f6cb3d1844849346f471c8 +Subproject commit 0a145e8027380e8d4decb36bdfc647062c722612 From 3f095f1699f4d1df33bd6f9fc390c12f82bd3057 Mon Sep 17 00:00:00 2001 From: minionatwork <60480922+minionatwork@users.noreply.github.com> Date: Tue, 17 Aug 2021 19:01:01 -0700 Subject: [PATCH 3/5] [multi-asic] Fix for sonic-cfggen exception during platform string read (#8229) Fix for sonic-cfggen exception during platform string read during fresh install and start of sonic in multi asic, /var/run/redisX/ is created after database docker is started. --- src/sonic-config-engine/sonic-cfggen | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/sonic-config-engine/sonic-cfggen b/src/sonic-config-engine/sonic-cfggen index bd528c64e75e..410e4da17c0b 100755 --- a/src/sonic-config-engine/sonic-cfggen +++ b/src/sonic-config-engine/sonic-cfggen @@ -296,10 +296,6 @@ def main(): 'localhost': {'namespace_id': namespace_id} } }) - # Load the database config for the namespace from global database json - if args.namespace is not None: - SonicDBConfig.load_sonic_global_db_config(namespace=args.namespace) - if hwsku is not None: hardware_data = {'DEVICE_METADATA': {'localhost': { 'hwsku': hwsku @@ -359,6 +355,7 @@ def main(): if args.namespace is None: configdb = ConfigDBPipeConnector(use_unix_socket_path=use_unix_sock, **db_kwargs) else: + SonicDBConfig.load_sonic_global_db_config(namespace=args.namespace) configdb = ConfigDBPipeConnector(use_unix_socket_path=use_unix_sock, namespace=args.namespace, **db_kwargs) configdb.connect() @@ -426,6 +423,7 @@ def main(): if args.namespace is None: configdb = ConfigDBPipeConnector(use_unix_socket_path=True, **db_kwargs) else: + SonicDBConfig.load_sonic_global_db_config(namespace=args.namespace) configdb = ConfigDBPipeConnector(use_unix_socket_path=True, namespace=args.namespace, **db_kwargs) configdb.connect(False) From 4d0352631177b49607796c05f19f185c543ecf6a Mon Sep 17 00:00:00 2001 From: Myron Sosyak Date: Wed, 18 Aug 2021 10:42:03 -0700 Subject: [PATCH 4/5] [docker-ptf] Upgrade to buster (#8254) Co-authored-by: Your Name --- dockers/docker-ptf/Dockerfile.j2 | 21 +++------------------ platform/vs/docker-ptf.mk | 1 - 2 files changed, 3 insertions(+), 19 deletions(-) diff --git a/dockers/docker-ptf/Dockerfile.j2 b/dockers/docker-ptf/Dockerfile.j2 index a44d5d4a0e38..e14959d4f3be 100644 --- a/dockers/docker-ptf/Dockerfile.j2 +++ b/dockers/docker-ptf/Dockerfile.j2 @@ -3,21 +3,12 @@ FROM multiarch/debian-debootstrap:armhf-stretch {% elif CONFIGURED_ARCH == "arm64" and MULTIARCH_QEMU_ENVIRON == "y" %} FROM multiarch/debian-debootstrap:arm64-stretch {% else %} -FROM debian:stretch +FROM debian:buster {% endif %} MAINTAINER Pavel Shirshov -## Remove retired jessie-updates repo -RUN sed -i '/deb http:\/\/deb.debian.org\/debian jessie-updates main/d' /etc/apt/sources.list - -## Copy dependencies -COPY \ -{% for deb in docker_ptf_debs.split(' ') -%} -debs/{{ deb }}{{' '}} -{%- endfor -%} -debs/ - +RUN echo "deb [arch=amd64] http://debian-archive.trafficmanager.net/debian buster-backports main" >> /etc/apt/sources.list ## Make apt-get non-interactive ENV DEBIAN_FRONTEND=noninteractive @@ -47,7 +38,7 @@ RUN sed --in-place 's/httpredir.debian.org/debian-archive.trafficmanager.net/' / cmake \ libqt5core5a \ libqt5network5 \ - libboost-atomic1.62.0 \ + libboost-atomic1.71.0 \ less \ git \ iputils-ping \ @@ -68,12 +59,6 @@ RUN sed --in-place 's/httpredir.debian.org/debian-archive.trafficmanager.net/' / bridge-utils \ libteam-utils - -RUN dpkg -i \ -{% for deb in docker_ptf_debs.split(' ') -%} -debs/{{ deb }}{{' '}} -{%- endfor %} - # Install all python modules from pypi. python-scapy is exception, ptf debian package requires python-scapy # TODO: Clean up this step RUN rm -rf /debs \ diff --git a/platform/vs/docker-ptf.mk b/platform/vs/docker-ptf.mk index 4fde844fe24b..857f53574743 100644 --- a/platform/vs/docker-ptf.mk +++ b/platform/vs/docker-ptf.mk @@ -4,4 +4,3 @@ DOCKER_PTF = docker-ptf.gz $(DOCKER_PTF)_PATH = $(DOCKERS_PATH)/docker-ptf $(DOCKER_PTF)_DEPENDS += $(LIBTHRIFT) $(PYTHON_THRIFT) $(PTF) $(PYTHON_SAITHRIFT) SONIC_DOCKER_IMAGES += $(DOCKER_PTF) -SONIC_STRETCH_DOCKERS += $(DOCKER_PTF) From 0d84f13cbcb2bd86bc86aa8f0aa2c2f217124f68 Mon Sep 17 00:00:00 2001 From: Junhua Zhai Date: Wed, 18 Aug 2021 11:35:25 -0700 Subject: [PATCH 5/5] [submodule]: update sonic-sairedis to latest (#8516) For gearbox support on arista_7280cr3mk, the following commit in sonic-sairedis is needed: 2021-07-21 c20321c Kamil Cudnik: [meta] Allow objects with the same key exist on different switches (#865) --- src/sonic-sairedis | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sonic-sairedis b/src/sonic-sairedis index 84fa50a88f7b..b71c2a5a8f80 160000 --- a/src/sonic-sairedis +++ b/src/sonic-sairedis @@ -1 +1 @@ -Subproject commit 84fa50a88f7bd9b196018d89741fcf95ade0f983 +Subproject commit b71c2a5a8f80d9206145ad07b0411e8d7b82ad1c