Module types (#659)
* Extend tests to support moule types * Add Juniper EX9200-32XS module type * Fix YAML formatting
This commit is contained in:
61
schema/moduletype.json
Normal file
61
schema/moduletype.json
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"manufacturer": {
|
||||
"type": "string"
|
||||
},
|
||||
"model": {
|
||||
"type": "string"
|
||||
},
|
||||
"part_number": {
|
||||
"type": "string"
|
||||
},
|
||||
"console-ports": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "components.json#/definitions/console-port"
|
||||
}
|
||||
},
|
||||
"console-server-ports": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "components.json#/definitions/console-server-port"
|
||||
}
|
||||
},
|
||||
"power-ports": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "components.json#/definitions/power-port"
|
||||
}
|
||||
},
|
||||
"power-outlets": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "components.json#/definitions/power-outlet"
|
||||
}
|
||||
},
|
||||
"interfaces": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "components.json#/definitions/interface"
|
||||
}
|
||||
},
|
||||
"front-ports": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "components.json#/definitions/front-port"
|
||||
}
|
||||
},
|
||||
"rear-ports": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "components.json#/definitions/rear-port"
|
||||
}
|
||||
},
|
||||
"comments": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["manufacturer", "model"],
|
||||
"additionalProperties": false
|
||||
}
|
||||
Reference in New Issue
Block a user