From a918baed8b29e2f6c31e17d44539ae8f20beeb3b Mon Sep 17 00:00:00 2001 From: Harry Date: Sun, 6 Apr 2025 01:25:44 +0100 Subject: [PATCH] Added support for module-bays within modules (#2944) * Update moduletype.json added Module bays to module types * Create EX9200-MPC.yaml --- module-types/Juniper/EX9200-MPC.yaml | 9 +++++++++ schema/moduletype.json | 6 ++++++ 2 files changed, 15 insertions(+) create mode 100644 module-types/Juniper/EX9200-MPC.yaml diff --git a/module-types/Juniper/EX9200-MPC.yaml b/module-types/Juniper/EX9200-MPC.yaml new file mode 100644 index 000000000..c956c5790 --- /dev/null +++ b/module-types/Juniper/EX9200-MPC.yaml @@ -0,0 +1,9 @@ +--- +manufacturer: Juniper +model: EX9200-MPC +comments: MPC line card accepting 2 MIC line cards +module-bays: + - name: MIC0 + position: '0' + - name: MIC1 + position: '1' diff --git a/schema/moduletype.json b/schema/moduletype.json index 25d434d5f..7b0333797 100644 --- a/schema/moduletype.json +++ b/schema/moduletype.json @@ -60,6 +60,12 @@ "$ref": "urn:devicetype-library:components#/definitions/rear-port" } }, + "module-bays": { + "type": "array", + "items": { + "$ref": "urn:devicetype-library:components#/definitions/module-bay" + } + }, "description": { "type": "string" },