Adding Tests: Device Power (#1463)
* broke component validation out to its own function. Adding logic for validating device power input. * Added console-port poe true for adapters. Updating devices to add proper power sources. * Adding switches to allow for tests to properly determine POE status. * Fixing files with missing power definitions.
This commit is contained in:
@@ -32,6 +32,9 @@
|
||||
"usb-micro-ab",
|
||||
"other"
|
||||
]
|
||||
},
|
||||
"poe": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": ["name", "type"]
|
||||
@@ -551,6 +554,9 @@
|
||||
},
|
||||
"positions": {
|
||||
"type": "integer"
|
||||
},
|
||||
"poe": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": ["name", "type"]
|
||||
|
||||
@@ -60,6 +60,9 @@
|
||||
"child"
|
||||
]
|
||||
},
|
||||
"is_powered": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"console-ports": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
|
||||
Reference in New Issue
Block a user