SONiC 设备配置文件
背景
使用设备配置文件在 Apstra 环境中识别设备。它们捕获特定于设备的语义,这是 Apstra 软件发现这些语义所需的,也是在蓝图中运行对数据路径十分良好的网络配置。
设备配置文件是 REST 实体,使您能够在设计阶段创建、编辑、删除和列出。设备配置文件用于创建接口映射,在部署蓝图时,该图可直接在 Apstra 配置呈现引擎内部使用。
本文介绍了创建(和编辑)语义上正确的 Sonic DP 所需的知识,因此,它不仅可以在 Apstra 中通过验证以确保在数据库中创建正确的 DP,而且符合适用于该设备的供应商语义要求,以便在将生成的配置推送到网络设备时不会导致部署失败。
问题陈述
设备配置文件是供应商语义感知型数据结构。要创建设备配置文件,您需要供应商提供的设备规格。要创建有效且易于配置的 JSON,您需要将这些规格转换为 Apstra 设备配置文件数据模型。
解决 方案
所有DPS 的高级数据模型都是相同的。每个设备配置文件使用相同的密钥。我们获取值的方式可能不同,也可能受供应商限制。该文档将征召以下人士:
- DP 的模式和 DP 内部的嵌套元素。
- 模式中每个键值对的含义。
- 值填充了供应商特定的配方。
- 列出所有约束和要考虑的拐点情况,特别是某些(组)模型的端口配置。
- 在创建已投入生产中的 DP 过程中所吸取的任何经验教训都对创建未来的接入点非常有用。
用户界面
从 Apstra GUI 创建设备配置文件时,您的部分条目会经过语义验证。然而,它并不能完全确保供应商特定的深层约束和要求。借助确切的供应商规格,GUI 可以帮助您创建一个语义上有效的 DP,该 DP 成为 Apstra 数据库数据模型的一部分。
或者,您可以编写自己的 Python 代码,其中包含供应商规格,根据 Apstra DP 数据模型进行规范化,然后生成 json,然后使用 GUI 进行导入。
选择器信息
在所有四个选择器字段中输入正确的信息对于设备与设备配置文件进行匹配至关重要。
选择器字段 | 值 | 命令,以获取设备上的信息 |
---|---|---|
模型 | 0x21 | show Platform syseeprom |
制造商 | 如果0x2D,其他0x2D 0x2B | show Platform syseeprom |
操作系统系列 | 声波 | 显示版本 |
版本 | .* | 显示版本 |
能力
如果有设备规格,则可以获取其硬件和软件功能,以便进入设备配置文件。
下表包含在 SONiC 设备中(基于合格设备)中发现的常见值。
选择器字段 | 值 | 命令,以获取设备上的信息 |
---|---|---|
用户陆地 | 64 (int) | 不会影响配置 |
form_factor | “1RU”(字符串) | 不会影响配置 |
ecmp_limit | 64 (int) | 不会影响配置 |
Asic | “T2”(字符串) | 不会影响配置 |
Cpu | 'x86'(字符串) | 不会影响配置 |
Ram | 16 (int)(注意,单位:GB) | 不会影响配置 |
onie | 真(bool)(默认) | 不会影响配置 |
lxc | 真(bool)(默认) | 不会影响配置 |
接口命名约定
Sonic 遵循 github Master 上找到的 Azure SONIC 的 sonic 端口名称文件的命名约定。 https://github.com/Azure/SONiC/blob/master/doc/sonic-port-name.md
要创建 SONIC 设备配置文件,您必须通读设备特定的 port_config.ini(例如,sonic-buildimage/device/mellanox/x86_64-mlnx_msn2100-r0/ACS-MSN2100/port_config.ini)文件,并按照上述链接中的说明提供正确的接口名称。
port_congi.ini 指定 SONiC 使用的接口名称。设备配置文件必须与将在配置文件 (config_db.json) 中生成端口配置的接口名称匹配。出于本文的目的,port_config.ini 和 config_db.json 应具有相同的接口命名标准。在 DP 中使用这些接口名称和 port_cfg.ini 文件中提供的通道编号。根据上述步骤生成设备配置文件后,Apstra 将使用该配置文件和 LD 来生成接口图 (IM)。Apstra 作为验证的一部分,将确保 IM(描述端口及其速度)确实可用并支持“/usr/share/sonic/device/x86_64-mlnx_msn2100-r0/ACS-MSN2100/port_config.ini”。执行此验证是为了确保 SONiC NOS 堆栈不会因为不支持的端口配置(config_db.json 中)而失败,而错误地在 Apstra 中生成 DP。因此,最终用户务必确保为 SONiC 平台生成的 DP 具有该特定平台的 port_config.ini 文件中反映的正确接口名称和通道映射。一个平台可能有几个不同的 port_config.ini 文件,属于该平台的不同 HWS 库。Apstra 将尝试使用该平台的任何可用选项验证生成的端口配置。Apstra 目前不使用 SONiC 项目中正在进行的动态端口分支功能。
故障 排除
设备不匹配通常在设备生命周期开始时发生。如果设备未选择设备配置文件,请检查设备配置文件中的四个选择器字段。
如果端口配置速度不正确,或者设备配置文件或接口映射中未处理特定于操作系统的端口约束,则可能会引发部署错误。
根本原因的流可能是:
- 检查 DP 是否有明显的端口功能错误。端口是否真正能够支持 DP 配置的速度。特定于设备的 port_config.ini Sonic 开源项目是解析错误消息的好资源。
- 检查 DP 是否正确配置了自动关闭接口或禁用了接口。自动设置和禁用均可在接口设置字段中表示。
- 调试接口名称和通道映射时,请查看相应的port_config.ini。以 AS5712-54X 边缘核心/accton 盒子为例,我们可以获取port_config.ini 文件,该文件在 https://github.com/Azure/sonic-buildimage/tree/master/device/accton/x86_64-accton_as5712_54x-r0/Accton-AS5712-54X
- 您可以在 SONiC 官方文档中找到命名约束。例如,如果您想为运行 SONIC 的 Accton 5712 54X 生成接口名称,则 port_config.ini 就是授权机构。 https://github.com/Azure/sonic-buildimage/blob/master/device/accton/x86_64-accton_as5712_54x-r0/Accton-AS5712-54X/port_config.ini 有时设备可能有端口间约束。对于 SONiC,通常位于 port_config.ini 文件中。特定平台可以有多个 port_config.ini 文件,而特定制造商的每个 port_config.ini 文件都驻留在声波图像中的 HWSKU 文件夹中(如上述引用)。要尝试不同端口速度(port_config.ini 中列出的功能之外),还需要了解芯片组和物理交换机制造商,看看可以实现什么。除非向供应商提出要求,否则此信息在任何白皮书中都可能无法提供。
示例:DP 和 port_config.ini
Port_config.ini(来自 sonic-buildimage)的下方为 Dell_Z9100 (x86_64-dell_z9100_c2538-r0/Force10-Z9100-C32
# name lanes alias index Ethernet0 49,50,51,52 hundredGigE1/1 1 Ethernet4 53,54,55,56 hundredGigE1/2 2 Ethernet8 57,58,59,60 hundredGigE1/3 3 Ethernet12 61,62,63,64 hundredGigE1/4 4 Ethernet16 65,66,67,68 hundredGigE1/5 5 Ethernet20 69,70,71,72 hundredGigE1/6 6 Ethernet24 73,74,75,76 hundredGigE1/7 7 Ethernet28 77,78,79,80 hundredGigE1/8 8 Ethernet32 37,38,39,40 hundredGigE1/9 9 Ethernet36 33,34,35,36 hundredGigE1/10 10 Ethernet40 45,46,47,48 hundredGigE1/11 11 Ethernet44 41,42,43,44 hundredGigE1/12 12 Ethernet48 81,82,83,84 hundredGigE1/13 13 Ethernet52 85,86,87,88 hundredGigE1/14 14 Ethernet56 89,90,91,92 hundredGigE1/15 15 Ethernet60 93,94,95,96 hundredGigE1/16 16 Ethernet64 97,98,99,100 hundredGigE1/17 17 Ethernet68 101,102,103,104 hundredGigE1/18 18 Ethernet72 105,106,107,108 hundredGigE1/19 19 Ethernet76 109,110,111,112 hundredGigE1/20 20 Ethernet80 21,22,23,24 hundredGigE1/21 21 Ethernet84 17,18,19,20 hundredGigE1/22 22 Ethernet88 29,30,31,32 hundredGigE1/23 23 Ethernet92 25,26,27,28 hundredGigE1/24 24 Ethernet96 117,118,119,120 hundredGigE1/25 25 Ethernet100 113,114,115,116 hundredGigE1/26 26 Ethernet104 125,126,127,128 hundredGigE1/27 27 Ethernet108 121,122,123,124 hundredGigE1/28 28 Ethernet112 5,6,7,8 hundredGigE1/29 29 Ethernet116 1,2,3,4 hundredGigE1/30 30 Ethernet120 13,14,15,16 hundredGigE1/31 31 Ethernet124 9,10,11,12 hundredGigE1/32 32
使用 parse.py 脚本将port_config转换为端口到 lane_map 的数据结构:
Parse.py ========= #!/usr/bin/python # Copyright (c) 2017 Apstrktr, Inc. All rights reserved. # Apstrktr, Inc. Confidential and Proprietary. # # This source code is licensed under End User License Agreement found in the # LICENSE file at http://apstra.com/eula # pylint: disable=line-too-long import sys from pprint import pprint # Run the program as ./parse.py <path_to_sonic_platform_port_config.ini> # ex: ./parse.py sonic-buildimage/device/mellanox/x86_64-mlnx_msn2100-r0/ACS-MSN2100/port_config.ini def get_lanemap(buf): if not buf: return None d = {} interface_indices = [] for line in buf.split('\n'): if line.startswith('#'): continue words = line.split(' ') words = [word for word in words if len(word)] if not len(words): continue intf = words[0][8:] lane = words[1].split(',') interface_indices.append(intf) if len(lane) > 1: one = 'Ethernet' + str(intf) two = 'Ethernet' + str(int(intf)+1) three = 'Ethernet' + str(int(intf)+2) four = 'Ethernet' + str(int(intf)+3) d.update({one:lane[0]}) d.update({two:lane[1]}) d.update({three:lane[2]}) d.update({four:lane[3]}) else: d.update({words[0]:words[1]}) return {'interface_names' : interface_indices, 'lane_mapping' : d} def parse_portconfig(f): buf = '' with open(f, 'r') as stream: buf = stream.read() return {'<Platform>': get_lanemap(buf)} if __name__ == '__main__': assert len(sys.argv) > 1, "Missing port_config.ini in cmdline" print "Collecting lane information from ", sys.argv[1] pprint(parse_portconfig(sys.argv[1])) print "=========================================================================================" print " Substitute <Platform> with an identifier for the platform" print " Append the dump into sdk/device-profile/sonic.py's sonic_device_info dictionary" print "=========================================================================================" To run parse.py parse.py <Path to the port_config.ini file from sonic_buildimage> Example: parse.py sonic-buildimage/device/dell/x86_64-dell_z9100_c2538-r0/Force10-Z9100-C32/port_config.ini Collecting lane information from sonic-buildimage/device/dell/x86_64-dell_z9100_c2538-r0/Force10-Z9100-C32/port_config.ini {'<Platform>': {'interface_names': ['0', '4', '8', '12', '16', '20', '24', '28', '32', '36', '40', '44', '48', '52', '56', '60', '64', '68', '72', '76', '80', '84', '88', '92', '96', '100', '104', '108', '112', '116', '120', '124'], 'lane_mapping': {'Ethernet0': '49', 'Ethernet1': '50', 'Ethernet10': '59', 'Ethernet100': '113', 'Ethernet101': '114', 'Ethernet102': '115', 'Ethernet103': '116', 'Ethernet104': '125', 'Ethernet105': '126', 'Ethernet106': '127', 'Ethernet107': '128', 'Ethernet108': '121', 'Ethernet109': '122', 'Ethernet11': '60', 'Ethernet110': '123', 'Ethernet111': '124', 'Ethernet112': '5', 'Ethernet113': '6', 'Ethernet114': '7', 'Ethernet115': '8', 'Ethernet116': '1', 'Ethernet117': '2', 'Ethernet118': '3', 'Ethernet119': '4', 'Ethernet12': '61', 'Ethernet120': '13', 'Ethernet121': '14', 'Ethernet122': '15', 'Ethernet123': '16', 'Ethernet124': '9', 'Ethernet125': '10', 'Ethernet126': '11', 'Ethernet127': '12', 'Ethernet13': '62', 'Ethernet14': '63', 'Ethernet15': '64', 'Ethernet16': '65', 'Ethernet17': '66', 'Ethernet18': '67', 'Ethernet19': '68', 'Ethernet2': '51', 'Ethernet20': '69', 'Ethernet21': '70', 'Ethernet22': '71', 'Ethernet23': '72', 'Ethernet24': '73', 'Ethernet25': '74', 'Ethernet26': '75', 'Ethernet27': '76', 'Ethernet28': '77', 'Ethernet29': '78', 'Ethernet3': '52', 'Ethernet30': '79', 'Ethernet31': '80', 'Ethernet32': '37', 'Ethernet33': '38', 'Ethernet34': '39', 'Ethernet35': '40', 'Ethernet36': '33', 'Ethernet37': '34', 'Ethernet38': '35', 'Ethernet39': '36', 'Ethernet4': '53', 'Ethernet40': '45', 'Ethernet41': '46', 'Ethernet42': '47', 'Ethernet43': '48', 'Ethernet44': '41', 'Ethernet45': '42', 'Ethernet46': '43', 'Ethernet47': '44', 'Ethernet48': '81', 'Ethernet49': '82', 'Ethernet5': '54', 'Ethernet50': '83', 'Ethernet51': '84', 'Ethernet52': '85', 'Ethernet53': '86', 'Ethernet54': '87', 'Ethernet55': '88', 'Ethernet56': '89', 'Ethernet57': '90', 'Ethernet58': '91', 'Ethernet59': '92', 'Ethernet6': '55', 'Ethernet60': '93', 'Ethernet61': '94', 'Ethernet62': '95', 'Ethernet63': '96', 'Ethernet64': '97', 'Ethernet65': '98', 'Ethernet66': '99', 'Ethernet67': '100', 'Ethernet68': '101', 'Ethernet69': '102', 'Ethernet7': '56', 'Ethernet70': '103', 'Ethernet71': '104', 'Ethernet72': '105', 'Ethernet73': '106', 'Ethernet74': '107', 'Ethernet75': '108', 'Ethernet76': '109', 'Ethernet77': '110', 'Ethernet78': '111', 'Ethernet79': '112', 'Ethernet8': '57', 'Ethernet80': '21', 'Ethernet81': '22', 'Ethernet82': '23', 'Ethernet83': '24', 'Ethernet84': '17', 'Ethernet85': '18', 'Ethernet86': '19', 'Ethernet87': '20', 'Ethernet88': '29', 'Ethernet89': '30', 'Ethernet9': '58', 'Ethernet90': '31', 'Ethernet91': '32', 'Ethernet92': '25', 'Ethernet93': '26', 'Ethernet94': '27', 'Ethernet95': '28', 'Ethernet96': '117', 'Ethernet97': '118', 'Ethernet98': '119', 'Ethernet99': '120'}}} ========================================================================================= Substitute <Platform> with an identifier for the platform Append the dump into sdk/device-profile/sonic.py's sonic_device_info dictionary =========================================================================================
上面的输出将成为声波device_profile生成器 python 文件中sonic_device_info的字典条目。
在 Apstra 中生成的相应设备配置文件:
{ "hardware_capabilities": { "asic": "TH", "cpu": "x86", "ecmp_limit": 64, "form_factor": "1RU", "ram": 16, "userland": 64 }, "id": "Force10-Z9100_SONiC", "label": "Dell Force10-Z9100_SONiC", "ports": [ { "column_id": 1, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 0, "row_id": 1, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet0", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"49,50,51,52\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet0", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"49,50,51,52\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 1, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 1, "row_id": 2, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet4", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"53,54,55,56\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet4", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"53,54,55,56\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 2, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 2, "row_id": 1, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet8", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"57,58,59,60\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet8", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"57,58,59,60\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 2, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 3, "row_id": 2, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet12", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"61,62,63,64\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet12", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"61,62,63,64\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 3, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 4, "row_id": 1, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet16", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"65,66,67,68\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet16", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"65,66,67,68\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 3, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 5, "row_id": 2, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet20", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"69,70,71,72\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet20", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"69,70,71,72\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 4, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 6, "row_id": 1, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet24", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"73,74,75,76\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet24", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"73,74,75,76\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 4, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 7, "row_id": 2, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet28", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"77,78,79,80\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet28", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"77,78,79,80\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 5, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 8, "row_id": 1, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet32", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"37,38,39,40\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet32", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"37,38,39,40\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 5, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 9, "row_id": 2, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet36", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"33,34,35,36\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet36", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"33,34,35,36\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 6, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 10, "row_id": 1, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet40", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"45,46,47,48\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet40", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"45,46,47,48\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 6, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 11, "row_id": 2, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet44", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"41,42,43,44\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet44", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"41,42,43,44\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 7, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 12, "row_id": 1, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet48", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"81,82,83,84\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet48", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"81,82,83,84\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 7, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 13, "row_id": 2, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet52", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"85,86,87,88\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet52", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"85,86,87,88\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 8, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 14, "row_id": 1, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet56", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"89,90,91,92\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet56", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"89,90,91,92\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 8, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 15, "row_id": 2, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet60", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"93,94,95,96\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet60", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"93,94,95,96\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 9, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 16, "row_id": 1, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet64", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"97,98,99,100\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet64", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"97,98,99,100\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 9, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 17, "row_id": 2, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet68", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"101,102,103,104\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet68", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"101,102,103,104\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 10, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 18, "row_id": 1, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet72", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"105,106,107,108\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet72", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"105,106,107,108\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 10, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 19, "row_id": 2, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet76", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"109,110,111,112\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet76", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"109,110,111,112\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 11, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 20, "row_id": 1, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet80", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"21,22,23,24\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet80", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"21,22,23,24\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 11, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 21, "row_id": 2, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet84", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"17,18,19,20\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet84", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"17,18,19,20\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 12, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 22, "row_id": 1, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet88", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"29,30,31,32\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet88", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"29,30,31,32\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 12, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 23, "row_id": 2, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet92", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"25,26,27,28\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet92", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"25,26,27,28\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 13, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 24, "row_id": 1, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet96", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"117,118,119,120\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet96", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"117,118,119,120\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 13, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 25, "row_id": 2, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet100", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"113,114,115,116\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet100", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"113,114,115,116\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 14, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 26, "row_id": 1, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet104", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"125,126,127,128\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet104", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"125,126,127,128\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 14, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 27, "row_id": 2, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet108", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"121,122,123,124\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet108", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"121,122,123,124\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 15, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 28, "row_id": 1, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet112", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"5,6,7,8\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet112", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"5,6,7,8\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 15, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 29, "row_id": 2, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet116", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"1,2,3,4\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet116", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"1,2,3,4\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 16, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 30, "row_id": 1, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet120", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"13,14,15,16\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet120", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"13,14,15,16\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] }, { "column_id": 16, "connector_type": "qsfp28", "failure_domain_id": 1, "panel_id": 1, "port_id": 31, "row_id": 2, "slot_id": 0, "transformations": [ { "interfaces": [ { "interface_id": 1, "name": "Ethernet124", "setting": "{\"interface\": {\"speed\": \"100000\", \"lane_map\": \"9,10,11,12\"}}", "speed": { "unit": "G", "value": 100 }, "state": "active" } ], "is_default": true, "transformation_id": 1 }, { "interfaces": [ { "interface_id": 1, "name": "Ethernet124", "setting": "{\"interface\": {\"speed\": \"40000\", \"lane_map\": \"9,10,11,12\"}}", "speed": { "unit": "G", "value": 40 }, "state": "active" } ], "is_default": false, "transformation_id": 2 } ] } ], "selector": { "manufacturer": "Dell|DELL", "model": "Z9100-ON", "os": "SONiC", "os_version": ".*" }, "slot_count": 0, "software_capabilities": { "lxc_support": false, "onie": true } }