From 1124a72eacb25247520b7e6765261d53674f3737 Mon Sep 17 00:00:00 2001 From: Carl Keene Date: Sat, 7 Aug 2021 15:41:47 -0400 Subject: [PATCH 1/3] add hwsku.json for the Nokia-7215 --- .../Nokia-7215/hwsku.json | 160 ++++++++++++++++++ 1 file changed, 160 insertions(+) create mode 100644 device/nokia/armhf-nokia_ixs7215_52x-r0/Nokia-7215/hwsku.json diff --git a/device/nokia/armhf-nokia_ixs7215_52x-r0/Nokia-7215/hwsku.json b/device/nokia/armhf-nokia_ixs7215_52x-r0/Nokia-7215/hwsku.json new file mode 100644 index 000000000000..732c55e5203e --- /dev/null +++ b/device/nokia/armhf-nokia_ixs7215_52x-r0/Nokia-7215/hwsku.json @@ -0,0 +1,160 @@ +{ + "interfaces": { + "Ethernet0": { + "port_type": "RJ45" + }, + "Ethernet1": { + "port_type": "RJ45" + }, + "Ethernet2": { + "port_type": "RJ45" + }, + "Ethernet3": { + "port_type": "RJ45" + }, + "Ethernet4": { + "port_type": "RJ45" + }, + "Ethernet5": { + "port_type": "RJ45" + }, + "Ethernet6": { + "port_type": "RJ45" + }, + "Ethernet7": { + "port_type": "RJ45" + }, + "Ethernet8": { + "port_type": "RJ45" + }, + "Ethernet9": { + "port_type": "RJ45" + }, + "Ethernet10": { + "port_type": "RJ45" + }, + "Ethernet11": { + "port_type": "RJ45" + }, + "Ethernet12": { + "port_type": "RJ45" + }, + "Ethernet13": { + "port_type": "RJ45" + }, + "Ethernet14": { + "port_type": "RJ45" + }, + "Ethernet15": { + "port_type": "RJ45" + }, + "Ethernet16": { + "port_type": "RJ45" + }, + "Ethernet17": { + "port_type": "RJ45" + }, + "Ethernet18": { + "port_type": "RJ45" + }, + "Ethernet19": { + "port_type": "RJ45" + }, + "Ethernet20": { + "port_type": "RJ45" + }, + "Ethernet21": { + "port_type": "RJ45" + }, + "Ethernet22": { + "port_type": "RJ45" + }, + "Ethernet23": { + "port_type": "RJ45" + }, + "Ethernet24": { + "port_type": "RJ45" + }, + "Ethernet25": { + "port_type": "RJ45" + }, + "Ethernet26": { + "port_type": "RJ45" + }, + "Ethernet27": { + "port_type": "RJ45" + }, + "Ethernet28": { + "port_type": "RJ45" + }, + "Ethernet29": { + "port_type": "RJ45" + }, + "Ethernet30": { + "port_type": "RJ45" + }, + "Ethernet31": { + "port_type": "RJ45" + }, + "Ethernet32": { + "port_type": "RJ45" + }, + "Ethernet33": { + "port_type": "RJ45" + }, + "Ethernet34": { + "port_type": "RJ45" + }, + "Ethernet35": { + "port_type": "RJ45" + }, + "Ethernet36": { + "port_type": "RJ45" + }, + "Ethernet37": { + "port_type": "RJ45" + }, + "Ethernet38": { + "port_type": "RJ45" + }, + "Ethernet39": { + "port_type": "RJ45" + }, + "Ethernet40": { + "port_type": "RJ45" + }, + "Ethernet41": { + "port_type": "RJ45" + }, + "Ethernet42": { + "port_type": "RJ45" + }, + "Ethernet43": { + "port_type": "RJ45" + }, + "Ethernet44": { + "port_type": "RJ45" + }, + "Ethernet45": { + "port_type": "RJ45" + }, + "Ethernet46": { + "port_type": "RJ45" + }, + "Ethernet47": { + "port_type": "RJ45" + }, + "Ethernet48": { + "port_type": "SFP+" + }, + "Ethernet49": { + "port_type": "SFP+" + }, + "Ethernet50": { + "port_type": "SFP+" + }, + "Ethernet51": { + "port_type": "SFP+" + } + } +} \ No newline at end of file From 2747d39309c670e5be05810ff36e6718d40cf992 Mon Sep 17 00:00:00 2001 From: Carl Keene Date: Sun, 8 Aug 2021 13:14:49 -0400 Subject: [PATCH 2/3] added required default_brkout_mode to hwsku as its not optional --- .../Nokia-7215/hwsku.json | 372 ++++++++++-------- 1 file changed, 212 insertions(+), 160 deletions(-) diff --git a/device/nokia/armhf-nokia_ixs7215_52x-r0/Nokia-7215/hwsku.json b/device/nokia/armhf-nokia_ixs7215_52x-r0/Nokia-7215/hwsku.json index 732c55e5203e..c6112a5e4187 100644 --- a/device/nokia/armhf-nokia_ixs7215_52x-r0/Nokia-7215/hwsku.json +++ b/device/nokia/armhf-nokia_ixs7215_52x-r0/Nokia-7215/hwsku.json @@ -1,160 +1,212 @@ -{ - "interfaces": { - "Ethernet0": { - "port_type": "RJ45" - }, - "Ethernet1": { - "port_type": "RJ45" - }, - "Ethernet2": { - "port_type": "RJ45" - }, - "Ethernet3": { - "port_type": "RJ45" - }, - "Ethernet4": { - "port_type": "RJ45" - }, - "Ethernet5": { - "port_type": "RJ45" - }, - "Ethernet6": { - "port_type": "RJ45" - }, - "Ethernet7": { - "port_type": "RJ45" - }, - "Ethernet8": { - "port_type": "RJ45" - }, - "Ethernet9": { - "port_type": "RJ45" - }, - "Ethernet10": { - "port_type": "RJ45" - }, - "Ethernet11": { - "port_type": "RJ45" - }, - "Ethernet12": { - "port_type": "RJ45" - }, - "Ethernet13": { - "port_type": "RJ45" - }, - "Ethernet14": { - "port_type": "RJ45" - }, - "Ethernet15": { - "port_type": "RJ45" - }, - "Ethernet16": { - "port_type": "RJ45" - }, - "Ethernet17": { - "port_type": "RJ45" - }, - "Ethernet18": { - "port_type": "RJ45" - }, - "Ethernet19": { - "port_type": "RJ45" - }, - "Ethernet20": { - "port_type": "RJ45" - }, - "Ethernet21": { - "port_type": "RJ45" - }, - "Ethernet22": { - "port_type": "RJ45" - }, - "Ethernet23": { - "port_type": "RJ45" - }, - "Ethernet24": { - "port_type": "RJ45" - }, - "Ethernet25": { - "port_type": "RJ45" - }, - "Ethernet26": { - "port_type": "RJ45" - }, - "Ethernet27": { - "port_type": "RJ45" - }, - "Ethernet28": { - "port_type": "RJ45" - }, - "Ethernet29": { - "port_type": "RJ45" - }, - "Ethernet30": { - "port_type": "RJ45" - }, - "Ethernet31": { - "port_type": "RJ45" - }, - "Ethernet32": { - "port_type": "RJ45" - }, - "Ethernet33": { - "port_type": "RJ45" - }, - "Ethernet34": { - "port_type": "RJ45" - }, - "Ethernet35": { - "port_type": "RJ45" - }, - "Ethernet36": { - "port_type": "RJ45" - }, - "Ethernet37": { - "port_type": "RJ45" - }, - "Ethernet38": { - "port_type": "RJ45" - }, - "Ethernet39": { - "port_type": "RJ45" - }, - "Ethernet40": { - "port_type": "RJ45" - }, - "Ethernet41": { - "port_type": "RJ45" - }, - "Ethernet42": { - "port_type": "RJ45" - }, - "Ethernet43": { - "port_type": "RJ45" - }, - "Ethernet44": { - "port_type": "RJ45" - }, - "Ethernet45": { - "port_type": "RJ45" - }, - "Ethernet46": { - "port_type": "RJ45" - }, - "Ethernet47": { - "port_type": "RJ45" - }, - "Ethernet48": { - "port_type": "SFP+" - }, - "Ethernet49": { - "port_type": "SFP+" - }, - "Ethernet50": { - "port_type": "SFP+" - }, - "Ethernet51": { - "port_type": "SFP+" - } - } -} \ No newline at end of file +{ + "interfaces": { + "Ethernet0": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet1": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet2": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet3": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet4": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet5": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet6": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet7": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet8": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet9": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet10": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet11": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet12": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet13": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet14": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet15": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet16": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet17": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet18": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet19": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet20": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet21": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet22": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet23": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet24": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet25": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet26": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet27": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet28": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet29": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet30": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet31": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet32": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet33": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet34": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet35": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet36": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet37": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet38": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet39": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet40": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet41": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet42": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet43": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet44": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet45": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet46": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet47": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet48": { + "default_brkout_mode": "1x10G", + "port_type": "SFP+" + }, + "Ethernet49": { + "default_brkout_mode": "1x10G", + "port_type": "SFP+" + }, + "Ethernet50": { + "default_brkout_mode": "1x10G", + "port_type": "SFP+" + }, + "Ethernet51": { + "default_brkout_mode": "1x10G", + "port_type": "SFP+" + } + } +} From 9176f96e3b69fc2ab27fd0cee4afafbd38692802 Mon Sep 17 00:00:00 2001 From: Carl Keene Date: Sun, 8 Aug 2021 13:57:48 -0400 Subject: [PATCH 3/3] remove tabs from the file so spacing consistent --- .../Nokia-7215/hwsku.json | 144 +++++++++--------- 1 file changed, 72 insertions(+), 72 deletions(-) diff --git a/device/nokia/armhf-nokia_ixs7215_52x-r0/Nokia-7215/hwsku.json b/device/nokia/armhf-nokia_ixs7215_52x-r0/Nokia-7215/hwsku.json index c6112a5e4187..4ae62e8d4b01 100644 --- a/device/nokia/armhf-nokia_ixs7215_52x-r0/Nokia-7215/hwsku.json +++ b/device/nokia/armhf-nokia_ixs7215_52x-r0/Nokia-7215/hwsku.json @@ -2,211 +2,211 @@ "interfaces": { "Ethernet0": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet1": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet2": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet3": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet4": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet5": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet6": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet7": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet8": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet9": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet10": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet11": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet12": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet13": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet14": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet15": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet16": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet17": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet18": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet19": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet20": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet21": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet22": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet23": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet24": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet25": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet26": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet27": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet28": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet29": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet30": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet31": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, "Ethernet32": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, - "Ethernet33": { + "Ethernet33": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, - "Ethernet34": { + "Ethernet34": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, - "Ethernet35": { + "Ethernet35": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, - "Ethernet36": { + "Ethernet36": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, - "Ethernet37": { + "Ethernet37": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, - "Ethernet38": { + "Ethernet38": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, - "Ethernet39": { + "Ethernet39": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, - "Ethernet40": { + "Ethernet40": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, - "Ethernet41": { + "Ethernet41": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, - "Ethernet42": { + "Ethernet42": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, - "Ethernet43": { + "Ethernet43": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, - "Ethernet44": { + "Ethernet44": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, - "Ethernet45": { + "Ethernet45": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, - "Ethernet46": { + "Ethernet46": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, - "Ethernet47": { + "Ethernet47": { "default_brkout_mode": "1x1G", - "port_type": "RJ45" + "port_type": "RJ45" }, - "Ethernet48": { + "Ethernet48": { "default_brkout_mode": "1x10G", - "port_type": "SFP+" + "port_type": "SFP+" }, - "Ethernet49": { + "Ethernet49": { "default_brkout_mode": "1x10G", - "port_type": "SFP+" + "port_type": "SFP+" }, - "Ethernet50": { + "Ethernet50": { "default_brkout_mode": "1x10G", - "port_type": "SFP+" + "port_type": "SFP+" }, - "Ethernet51": { + "Ethernet51": { "default_brkout_mode": "1x10G", - "port_type": "SFP+" + "port_type": "SFP+" } - } + } }