Commit 5b922295 authored by Dmitry Lukhtionov's avatar Dmitry Lukhtionov
Browse files

Add more Huawei models

parent 998db073
Pipeline #35355 passed with stages
in 15 minutes and 43 seconds
{
"name": "Huawei | S12700E",
"$collection": "inv.connectionrules",
"uuid": "34de0222-2a36-47e3-ac13-5bd27b42ce31",
"description": "Huawei S12700E series connection rules",
"context": [
{
"reset_scopes": ["sru", "sic", "wsic", "xsic", "fan", "pic", "mpu", "cmu", "sfu"],
"scope": "chassis",
"type": "CHASSIS"
},
{
"reset_scopes": [],
"scope": "sru",
"type": "SRU"
},
{
"reset_scopes": [],
"scope": "pic",
"type": "PIC"
},
{
"reset_scopes": [],
"scope": "sic",
"type": "SIC"
},
{
"reset_scopes": [],
"scope": "wsic",
"type": "WSIC"
},
{
"reset_scopes": [],
"scope": "xsic",
"type": "XSIC"
}
],
"rules": [
{
"match_connection": "in",
"match_type": "MPU",
"scope": "chassis",
"target_connection": "mpu{N}",
"target_number": null,
"target_type": "CHASSIS"
},
{
"match_connection": "in",
"match_type": "PIC",
"scope": "chassis",
"target_connection": "pic{N}",
"target_number": null,
"target_type": "CHASSIS"
},
{
"match_connection": "in",
"match_type": "SRU",
"scope": "chassis",
"target_connection": "sru",
"target_number": "",
"target_type": "CHASSIS"
},
{
"match_connection": "in",
"match_type": "CMU",
"scope": "chassis",
"target_connection": "cmu{N}",
"target_number": "",
"target_type": "CHASSIS"
},
{
"match_connection": "in",
"match_type": "SFU",
"scope": "chassis",
"target_connection": "sfu{N}",
"target_number": "",
"target_type": "CHASSIS"
},
{
"match_connection": "in",
"match_type": "SIC",
"scope": "chassis",
"target_connection": "sic{N}",
"target_number": "",
"target_type": "CHASSIS"
},
{
"match_connection": "in",
"match_type": "WSIC",
"scope": "chassis",
"target_connection": "wsic{N}",
"target_number": "",
"target_type": "CHASSIS"
},
{
"match_connection": "in",
"match_type": "XSIC",
"scope": "chassis",
"target_connection": "xsic{N}",
"target_number": "",
"target_type": "CHASSIS"
},
{
"match_connection": "in",
"match_type": "XCVR",
"scope": "sru",
"target_connection": "Gi{N}_sfp",
"target_number": "",
"target_type": "SRU"
},
{
"match_connection": "in",
"match_type": "XCVR",
"scope": "pic",
"target_connection": "XGEX/0/{N}",
"target_number": "",
"target_type": "PIC"
},
{
"match_connection": "in",
"match_type": "POWER",
"scope": "chassis",
"target_connection": "power{N}",
"target_number": "",
"target_type": "CHASSIS"
},
{
"match_connection": "in",
"match_type": "FAN",
"scope": "chassis",
"target_connection": "fan{N}",
"target_number": "",
"target_type": "CHASSIS"
},
{
"match_connection": "in",
"match_type": "XCVR",
"scope": "sic",
"target_connection": "Gi{N}_sfp",
"target_number": "",
"target_type": "SIC"
},
{
"match_connection": "in",
"match_type": "XCVR",
"scope": "sic",
"target_connection": "Gi{N}_gbic",
"target_number": "",
"target_type": "SIC"
},
{
"match_connection": "in",
"match_type": "XCVR",
"scope": "wsic",
"target_connection": "Gi{N}_sfp",
"target_number": "",
"target_type": "WSIC"
},
{
"match_connection": "in",
"match_type": "XCVR",
"scope": "wsic",
"target_connection": "Gi{N}_gbic",
"target_number": "",
"target_type": "WSIC"
},
{
"match_connection": "in",
"match_type": "XCVR",
"scope": "xsic",
"target_connection": "Gi{N}_sfp",
"target_number": "",
"target_type": "XSIC"
},
{
"match_connection": "in",
"match_type": "XCVR",
"scope": "xsic",
"target_connection": "Gi{N}_gbic",
"target_number": "",
"target_type": "XSIC"
}
]
}
{
"name": "Huawei | S12700E | CMU",
"$collection": "inv.connectiontypes",
"uuid": "94b34c1f-9daf-4d76-a2b7-77dab35ff3e4",
"description": "S12700E Centralized Monitoring Unit (CMU)",
"c_group": [],
"genders": "mf"
}
{
"name": "Huawei | S12700E | FAN-770A-B",
"$collection": "inv.connectiontypes",
"uuid": "2124ec59-4067-4890-b8ba-5159589dc4b2",
"description": "FAN-770A-B Fan slot",
"c_group": [],
"genders": "mf"
}
{
"name": "Huawei | S12700E | MPU",
"$collection": "inv.connectiontypes",
"uuid": "b022c39c-a5d7-49e7-96ea-cf234d6c09a6",
"description": "S12700E Main Processing Unit (MPU)",
"c_group": [],
"genders": "mf"
}
{
"name": "Huawei | S12700E | PIC",
"$collection": "inv.connectiontypes",
"uuid": "573925d6-670b-4032-babf-7aef176e78c9",
"description": "S12700E Physical Interface Card (PIC)",
"c_group": [],
"genders": "mf"
}
{
"name": "Huawei | S12700E | SFU",
"$collection": "inv.connectiontypes",
"uuid": "2cabe296-f914-49c8-b3e2-0b8dac718cdc",
"description": "S12700E Switch Fabric Unit (SFU)",
"c_group": [],
"genders": "mf"
}
{
"name": "Huawei | S12700E | CMU",
"$collection": "inv.objectmodels",
"uuid": "edef0334-f37a-41ac-a6b6-2eff97934ec1",
"vendor__code": "HUAWEI",
"description": "S12700E, EH1D200CMU00, Centralized Monitoring Unit",
"connection_rule__name": "Huawei | S12700E",
"cr_context": "CMU",
"labels": ["noc::inv::lc", "noc::inv::sup"],
"connections": [
{
"name": "in",
"description": "Chassis connector",
"direction": "o",
"gender": "m",
"type__name": "Huawei | S12700E | CMU"
}
],
"data": {
"asset": {
"order_part_no": ["03030NWB"],
"part_no": ["EH1D200CMU00"]
},
"dimensions": {
"depth": 412,
"height": 19,
"width": 112
},
"power": {
"power": 1.0
},
"weight": {
"weight": 0.2
}
}
}
{
"name": "Huawei | S12700E | FAN-770A-B",
"$collection": "inv.objectmodels",
"uuid": "83c0ab6b-f173-4249-8c3d-88c2c5110390",
"vendor__code": "HUAWEI",
"description": "FAN-770A-B fan module ",
"cr_context": "FAN",
"labels": ["noc::inv::fan"],
"connections": [
{
"name": "in",
"description": "Chassis connector",
"direction": "o",
"gender": "m",
"type__name": "Huawei | S12700E | FAN-770A-B"
}
],
"data": {
"asset": {
"order_part_no": ["02122242"],
"part_no": ["FAN-770A-B"]
},
"dimensions": {
"depth": 65,
"height": 127,
"width": 324
},
"power": {
"power": 395.0
},
"weight": {
"weight": 2.5
}
}
}
{
"name": "Huawei | S12700E | LST7C24HX6E0",
"$collection": "inv.objectmodels",
"uuid": "509afb86-3f76-4b00-94ca-f1d525c9787a",
"vendor__code": "HUAWEI",
"description": "24-port 100GE QSFP28 interface card (X6E,QSFP28)",
"cr_context": "PIC",
"labels": ["noc::inv::lc", "noc::inv::port"],
"connections": [
{
"name": "in",
"description": null,
"direction": "o",
"gender": "m",
"type__name": "Huawei | S12700E | PIC"
},
{
"name": "100GEX/0/0",
"description": "100G QSFP port",
"direction": "i",
"gender": "f",
"protocols": ["TransEth100G"],
"type__name": "Transceiver | QSFP+"
},
{
"name": "100GEX/0/1",
"description": "100G QSFP port",
"direction": "i",
"gender": "f",
"protocols": ["TransEth100G"],
"type__name": "Transceiver | QSFP+"
},
{
"name": "100GEX/0/2",
"description": "100G QSFP port",
"direction": "i",
"gender": "f",
"protocols": ["TransEth100G"],
"type__name": "Transceiver | QSFP+"
},
{
"name": "100GEX/0/3",
"description": "100G QSFP port",
"direction": "i",
"gender": "f",
"protocols": ["TransEth100G"],
"type__name": "Transceiver | QSFP+"
},
{
"name": "100GEX/0/4",
"description": "100G QSFP port",
"direction": "i",
"gender": "f",
"protocols": ["TransEth100G"],
"type__name": "Transceiver | QSFP+"
},
{
"name": "100GEX/0/5",
"description": "100G QSFP port",
"direction": "i",
"gender": "f",
"protocols": ["TransEth100G"],
"type__name": "Transceiver | QSFP+"
},
{
"name": "100GEX/0/6",
"description": "100G QSFP port",
"direction": "i",
"gender": "f",
"protocols": ["TransEth100G"],
"type__name": "Transceiver | QSFP+"
},
{
"name": "100GEX/0/7",
"description": "100G QSFP port",
"direction": "i",
"gender": "f",
"protocols": ["TransEth100G"],
"type__name": "Transceiver | QSFP+"
},
{
"name": "100GEX/0/8",
"description": "100G QSFP port",
"direction": "i",
"gender": "f",
"protocols": ["TransEth100G"],
"type__name": "Transceiver | QSFP+"
},
{
"name": "100GEX/0/9",
"description": "100G QSFP port",
"direction": "i",
"gender": "f",
"protocols": ["TransEth100G"],
"type__name": "Transceiver | QSFP+"
},
{
"name": "100GEX/0/10",
"description": "100G QSFP port",
"direction": "i",
"gender": "f",
"protocols": ["TransEth100G"],
"type__name": "Transceiver | QSFP+"
},
{
"name": "100GEX/0/11",
"description": "100G QSFP port",
"direction": "i",
"gender": "f",
"protocols": ["TransEth100G"],
"type__name": "Transceiver | QSFP+"
},
{
"name": "100GEX/0/12",
"description": "100G QSFP port",
"direction": "i",
"gender": "f",
"protocols": ["TransEth100G"],
"type__name": "Transceiver | QSFP+"
},
{
"name": "100GEX/0/13",
"description": "100G QSFP port",
"direction": "i",
"gender": "f",
"protocols": ["TransEth100G"],
"type__name": "Transceiver | QSFP+"
},
{
"name": "100GEX/0/14",
"description": "100G QSFP port",
"direction": "i",
"gender": "f",
"protocols": ["TransEth100G"],
"type__name": "Transceiver | QSFP+"
},
{
"name": "100GEX/0/15",
"description": "100G QSFP port",
"direction": "i",
"gender": "f",
"protocols": ["TransEth100G"],
"type__name": "Transceiver | QSFP+"
},
{
"name": "100GEX/0/16",
"description": "100G QSFP port",
"direction": "i",
"gender": "f",
"protocols": ["TransEth100G"],
"type__name": "Transceiver | QSFP+"
},
{
"name": "100GEX/0/17",
"description": "100G QSFP port",
"direction": "i",
"gender": "f",
"protocols": ["TransEth100G"],
"type__name": "Transceiver | QSFP+"
},
{
"name": "100GEX/0/18",
"description": "100G QSFP port",
"direction": "i",
"gender": "f",
"protocols": ["TransEth100G"],
"type__name": "Transceiver | QSFP+"
},
{
"name": "100GEX/0/19",
"description": "100G QSFP port",
"direction": "i",
"gender": "f",
"protocols": ["TransEth100G"],
"type__name": "Transceiver | QSFP+"
},
{
"name": "100GEX/0/20",
"description": "100G QSFP port",
"direction": "i",
"gender": "f",
"protocols": ["TransEth100G"],
"type__name": "Transceiver | QSFP+"
},
{
"name": "100GEX/0/21",
"description": "100G QSFP port",
"direction": "i",
"gender": "f",
"protocols": ["TransEth100G"],
"type__name": "Transceiver | QSFP+"
},
{
"name": "100GEX/0/22",
"description": "100G QSFP port",
"direction": "i",
"gender": "f",
"protocols": ["TransEth100G"],
"type__name": "Transceiver | QSFP+"
},
{
"name": "100GEX/0/23",
"description": "100G QSFP port",
"direction": "i",
"gender": "f",
"protocols": ["TransEth100G"],
"type__name": "Transceiver | QSFP+"
}
],
"data": {
"asset": {
"order_part_no": ["03033FGU"],
"part_no": ["LST7C24HX6E0"]
},
"dimensions": {
"depth": 430,
"height": 35,
"width": 397
},
"power": {
"power": 486.0
}
}
}
{
"name": "Huawei | S12700E | LST7G48TX5E1",
"$collection": "inv.objectmodels",
"uuid": "4a4a2a2f-1a0e-4182-992e-1e80ff0b2c25",
"vendor__code": "HUAWEI",
"description": "48-port 10/100/1000BASE-T interface card (X5E,RJ45)",
"cr_context": "PIC",
"labels": ["noc::inv::chassis"],
"connections": [
{
"name": "in",
"description": null,
"direction": "o",
"gender": "m",
"type__name": "Huawei | S12700E | PIC"
},
{
"name": "GE0",
"description": "GEX/0/0",
"direction": "s",
"gender": "f",
"protocols": ["100BASETX", "1000BASETX"],
"type__name": "Electrical | RJ45"
},
{
"name": "GE1",
"description": "GEX/0/1",
"direction": "s",
"gender": "f",
"protocols": ["100BASETX", "1000BASETX"],
"type__name": "Electrical | RJ45"
},
{
"name": "GE2",
"description": "GEX/0/2",
"direction": "s",
"gender": "f",
"protocols": ["100BASETX", "1000BASETX"],
"type__name": "Electrical | RJ45"
},
{