mirror of
https://github.com/netbox-community/devicetype-library.git
synced 2024-11-07 17:14:31 +01:00
532 lines
17 KiB
JSON
532 lines
17 KiB
JSON
{
|
|
|
|
"type": "object",
|
|
"properties": {
|
|
"manufacturer": {
|
|
"type": "string"
|
|
},
|
|
"model": {
|
|
"type": "string"
|
|
},
|
|
"slug": {
|
|
"type": "string",
|
|
"pattern": "^[-a-zA-Z0-9_]+$"
|
|
},
|
|
"part_number": {
|
|
"type": "string"
|
|
},
|
|
"u_height": {
|
|
"type": "integer"
|
|
},
|
|
"is_full_depth": {
|
|
"type": "boolean"
|
|
},
|
|
"subdevice_role": {
|
|
"type": "string",
|
|
"enum": [
|
|
"parent",
|
|
"child"
|
|
]
|
|
},
|
|
"console-ports": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/console-port"
|
|
}
|
|
},
|
|
"console-server-ports": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/console-server-port"
|
|
}
|
|
},
|
|
"power-ports": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/power-port"
|
|
}
|
|
},
|
|
"power-outlets": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/power-outlet"
|
|
}
|
|
},
|
|
"interfaces": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/interface"
|
|
}
|
|
},
|
|
"front-ports": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/front-port"
|
|
}
|
|
},
|
|
"rear-ports": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/rear-port"
|
|
}
|
|
},
|
|
"device-bays": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/device-bay"
|
|
}
|
|
}
|
|
},
|
|
"required": ["manufacturer", "model", "slug"],
|
|
|
|
"definitions": {
|
|
|
|
"console-port": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"de-9",
|
|
"db-25",
|
|
"rj-11",
|
|
"rj-12",
|
|
"rj-45",
|
|
"mini-din-8",
|
|
"usb-a",
|
|
"usb-b",
|
|
"usb-c",
|
|
"usb-mini-a",
|
|
"usb-mini-b",
|
|
"usb-micro-a",
|
|
"usb-micro-b",
|
|
"other"
|
|
]
|
|
}
|
|
},
|
|
"required": ["name", "type"]
|
|
},
|
|
|
|
"console-server-port": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"de-9",
|
|
"db-25",
|
|
"rj-12",
|
|
"rj-45",
|
|
"mini-din-8",
|
|
"usb-a",
|
|
"usb-b",
|
|
"usb-c",
|
|
"usb-mini-a",
|
|
"usb-mini-b",
|
|
"usb-micro-a",
|
|
"usb-micro-b",
|
|
"other"
|
|
]
|
|
}
|
|
},
|
|
"required": ["name", "type"]
|
|
},
|
|
|
|
"power-port": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"iec-60320-c6",
|
|
"iec-60320-c8",
|
|
"iec-60320-c14",
|
|
"iec-60320-c16",
|
|
"iec-60320-c20",
|
|
"iec-60320-c22",
|
|
"iec-60309-p-n-e-4h",
|
|
"iec-60309-p-n-e-6h",
|
|
"iec-60309-p-n-e-9h",
|
|
"iec-60309-2p-e-4h",
|
|
"iec-60309-2p-e-6h",
|
|
"iec-60309-2p-e-9h",
|
|
"iec-60309-3p-e-4h",
|
|
"iec-60309-3p-e-6h",
|
|
"iec-60309-3p-e-9h",
|
|
"iec-60309-3p-n-e-4h",
|
|
"iec-60309-3p-n-e-6h",
|
|
"iec-60309-3p-n-e-9h",
|
|
"nema-1-15p",
|
|
"nema-5-15p",
|
|
"nema-5-20p",
|
|
"nema-5-30p",
|
|
"nema-5-50p",
|
|
"nema-6-15p",
|
|
"nema-6-20p",
|
|
"nema-6-30p",
|
|
"nema-6-50p",
|
|
"nema-10-30p",
|
|
"nema-10-50p",
|
|
"nema-14-20p",
|
|
"nema-14-30p",
|
|
"nema-14-50p",
|
|
"nema-14-60p",
|
|
"nema-15-15p",
|
|
"nema-15-20p",
|
|
"nema-15-30p",
|
|
"nema-15-50p",
|
|
"nema-15-60p",
|
|
"nema-l1-15p",
|
|
"nema-l5-15p",
|
|
"nema-l5-20p",
|
|
"nema-l5-30p",
|
|
"nema-l5-50p",
|
|
"nema-l6-15p",
|
|
"nema-l6-20p",
|
|
"nema-l6-30p",
|
|
"nema-l6-50p",
|
|
"nema-l10-30p",
|
|
"nema-l14-20p",
|
|
"nema-l14-30p",
|
|
"nema-l14-50p",
|
|
"nema-l14-60p",
|
|
"nema-l15-20p",
|
|
"nema-l15-30p",
|
|
"nema-l15-50p",
|
|
"nema-l15-60p",
|
|
"nema-l21-20p",
|
|
"nema-l21-30p",
|
|
"cs6361c",
|
|
"cs6365c",
|
|
"cs8165c",
|
|
"cs8265c",
|
|
"cs8365c",
|
|
"cs8465c",
|
|
"ita-e",
|
|
"ita-f",
|
|
"ita-ef",
|
|
"ita-g",
|
|
"ita-h",
|
|
"ita-i",
|
|
"ita-j",
|
|
"ita-k",
|
|
"ita-l",
|
|
"ita-m",
|
|
"ita-n",
|
|
"ita-o",
|
|
"usb-a",
|
|
"usb-b",
|
|
"usb-c",
|
|
"usb-mini-a",
|
|
"usb-mini-b",
|
|
"usb-micro-a",
|
|
"usb-micro-b",
|
|
"usb-3-b",
|
|
"usb-3-micro-b",
|
|
"dc-terminal"
|
|
]
|
|
},
|
|
"maximum_draw": {
|
|
"type": "integer"
|
|
},
|
|
"allocated_draw": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"required": ["name", "type"]
|
|
},
|
|
|
|
"power-outlet": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"iec-60320-c5",
|
|
"iec-60320-c7",
|
|
"iec-60320-c13",
|
|
"iec-60320-c15",
|
|
"iec-60320-c19",
|
|
"iec-60320-c21",
|
|
"iec-60309-p-n-e-4h",
|
|
"iec-60309-p-n-e-6h",
|
|
"iec-60309-p-n-e-9h",
|
|
"iec-60309-2p-e-4h",
|
|
"iec-60309-2p-e-6h",
|
|
"iec-60309-2p-e-9h",
|
|
"iec-60309-3p-e-4h",
|
|
"iec-60309-3p-e-6h",
|
|
"iec-60309-3p-e-9h",
|
|
"iec-60309-3p-n-e-4h",
|
|
"iec-60309-3p-n-e-6h",
|
|
"iec-60309-3p-n-e-9h",
|
|
"nema-1-15r",
|
|
"nema-5-15r",
|
|
"nema-5-20r",
|
|
"nema-5-30r",
|
|
"nema-5-50r",
|
|
"nema-6-15r",
|
|
"nema-6-20r",
|
|
"nema-6-30r",
|
|
"nema-6-50r",
|
|
"nema-10-30r",
|
|
"nema-10-50r",
|
|
"nema-14-20r",
|
|
"nema-14-30r",
|
|
"nema-14-50r",
|
|
"nema-14-60r",
|
|
"nema-15-15r",
|
|
"nema-15-20r",
|
|
"nema-15-30r",
|
|
"nema-15-50r",
|
|
"nema-15-60r",
|
|
"nema-l1-15r",
|
|
"nema-l5-15r",
|
|
"nema-l5-20r",
|
|
"nema-l5-30r",
|
|
"nema-l5-50r",
|
|
"nema-l6-15r",
|
|
"nema-l6-20r",
|
|
"nema-l6-30r",
|
|
"nema-l6-50r",
|
|
"nema-l10-30r",
|
|
"nema-l14-20r",
|
|
"nema-l14-30r",
|
|
"nema-l14-50r",
|
|
"nema-l14-60r",
|
|
"nema-l15-20r",
|
|
"nema-l15-30r",
|
|
"nema-l15-50r",
|
|
"nema-l15-60r",
|
|
"nema-l21-20r",
|
|
"nema-l21-30r",
|
|
"CS6360C",
|
|
"CS6364C",
|
|
"CS8164C",
|
|
"CS8264C",
|
|
"CS8364C",
|
|
"CS8464C",
|
|
"ita-e",
|
|
"ita-f",
|
|
"ita-g",
|
|
"ita-h",
|
|
"ita-i",
|
|
"ita-j",
|
|
"ita-k",
|
|
"ita-l",
|
|
"ita-m",
|
|
"ita-n",
|
|
"ita-o",
|
|
"usb-a",
|
|
"usb-micro-b",
|
|
"usb-c",
|
|
"hdot-cx"
|
|
]
|
|
},
|
|
"power_port": {
|
|
"type": "string"
|
|
},
|
|
"feed_leg": {
|
|
"type": "string",
|
|
"enum": ["A", "B", "C"]
|
|
}
|
|
},
|
|
"required": ["name", "type"]
|
|
},
|
|
|
|
"interface": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"virtual",
|
|
"lag",
|
|
"100base-tx",
|
|
"1000base-t",
|
|
"2.5gbase-t",
|
|
"5gbase-t",
|
|
"10gbase-t",
|
|
"10gbase-cx4",
|
|
"1000base-x-gbic",
|
|
"1000base-x-sfp",
|
|
"10gbase-x-sfpp",
|
|
"10gbase-x-xfp",
|
|
"10gbase-x-xenpak",
|
|
"10gbase-x-x2",
|
|
"25gbase-x-sfp28",
|
|
"40gbase-x-qsfpp",
|
|
"50gbase-x-sfp28",
|
|
"100gbase-x-cfp",
|
|
"100gbase-x-cfp2",
|
|
"200gbase-x-cfp2",
|
|
"100gbase-x-cfp4",
|
|
"100gbase-x-cpak",
|
|
"100gbase-x-qsfp28",
|
|
"200gbase-x-qsfp56",
|
|
"400gbase-x-qsfpdd",
|
|
"400gbase-x-osfp",
|
|
"ieee802.11a",
|
|
"ieee802.11g",
|
|
"ieee802.11n",
|
|
"ieee802.11ac",
|
|
"ieee802.11ad",
|
|
"ieee802.11ax",
|
|
"ieee802.15.1",
|
|
"gsm",
|
|
"cdma",
|
|
"lte",
|
|
"sonet-oc3",
|
|
"sonet-oc12",
|
|
"sonet-oc48",
|
|
"sonet-oc192",
|
|
"sonet-oc768",
|
|
"sonet-oc1920",
|
|
"sonet-oc3840",
|
|
"1gfc-sfp",
|
|
"2gfc-sfp",
|
|
"4gfc-sfp",
|
|
"8gfc-sfpp",
|
|
"16gfc-sfpp",
|
|
"32gfc-sfp28",
|
|
"128gfc-sfp28",
|
|
"infiniband-sdr",
|
|
"infiniband-ddr",
|
|
"infiniband-qdr",
|
|
"infiniband-fdr10",
|
|
"infiniband-fdr",
|
|
"infiniband-edr",
|
|
"infiniband-hdr",
|
|
"infiniband-ndr",
|
|
"infiniband-xdr",
|
|
"t1",
|
|
"e1",
|
|
"t3",
|
|
"e3",
|
|
"cisco-stackwise",
|
|
"cisco-stackwise-plus",
|
|
"cisco-flexstack",
|
|
"cisco-flexstack-plus",
|
|
"juniper-vcp",
|
|
"extreme-summitstack",
|
|
"extreme-summitstack-128",
|
|
"extreme-summitstack-256",
|
|
"extreme-summitstack-512",
|
|
"other"
|
|
]
|
|
},
|
|
"mgmt_only": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": ["name", "type"]
|
|
},
|
|
|
|
"front-port": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"8p8c",
|
|
"8p6c",
|
|
"8p4c",
|
|
"8p2c",
|
|
"110-punch",
|
|
"bnc",
|
|
"mrj21",
|
|
"st",
|
|
"sc",
|
|
"sc-apc",
|
|
"fc",
|
|
"lc",
|
|
"lc-apc",
|
|
"mtrj",
|
|
"mpo",
|
|
"lsh",
|
|
"lsh-apc",
|
|
"splice",
|
|
"cs",
|
|
"sn"
|
|
]
|
|
},
|
|
"rear_port": {
|
|
"type": "string"
|
|
},
|
|
"rear_port_position": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"required": ["name", "type", "rear_port"]
|
|
},
|
|
|
|
"rear-port": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"8p8c",
|
|
"8p6c",
|
|
"8p4c",
|
|
"8p2c",
|
|
"110-punch",
|
|
"bnc",
|
|
"mrj21",
|
|
"st",
|
|
"sc",
|
|
"sc-apc",
|
|
"fc",
|
|
"lc",
|
|
"lc-apc",
|
|
"mtrj",
|
|
"mpo",
|
|
"lsh",
|
|
"lsh-apc",
|
|
"splice",
|
|
"cs",
|
|
"sn"
|
|
]
|
|
},
|
|
"positions": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"required": ["name", "type"]
|
|
},
|
|
|
|
"device-bay": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["name"]
|
|
}
|
|
|
|
}
|
|
|
|
}
|