diff --git a/.gitignore b/.gitignore index c0f80e26..c11db15e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *.pyc .idea .DS_Store +venv/ diff --git a/device-types/Ubiquiti/UDM-Pro.yaml b/device-types/Ubiquiti/UDM-Pro.yaml index 90d65422..c43ac651 100644 --- a/device-types/Ubiquiti/UDM-Pro.yaml +++ b/device-types/Ubiquiti/UDM-Pro.yaml @@ -1,7 +1,9 @@ --- manufacturer: Ubiquiti -model: UDM-PRO +model: UniFi Dream Machine Pro slug: udm-pro +airflow: front-to-rear +part_number: UDM-Pro comments: | [UniFi Dream Machine Pro](https://store.ui.com/products/udm-pro) @@ -9,7 +11,7 @@ comments: | Dimensions: 442.4 x 43.7 x 285.6 mm (17.42 x 1.72 x 11.24") u_height: 1 -is_full_depth: true +is_full_depth: false interfaces: - name: eth0 type: 1000base-t diff --git a/device-types/Ubiquiti/USW-Aggregation.yaml b/device-types/Ubiquiti/USW-Aggregation.yaml index ad732681..3409242d 100644 --- a/device-types/Ubiquiti/USW-Aggregation.yaml +++ b/device-types/Ubiquiti/USW-Aggregation.yaml @@ -4,7 +4,7 @@ model: UniFi Switch Aggregation slug: unifi-switch-aggregation part_number: USW-Aggregation comments: | - UniFi Switch 16 Aggregation, 10G 10-Port Managed Aggregation Switch, 30W, (10) SFP+ + UniFi Switch Aggregation, 10G 8-Port Managed Aggregation Switch, 30W, (8) SFP+ Dimensions: 442.4 x 120 x 43.7 mm (17.42 x 4.72 x 1.72") u_height: 1 @@ -26,10 +26,6 @@ interfaces: type: 10gbase-x-sfpp - name: SFP+ 8 type: 10gbase-x-sfpp - - name: SFP+ 9 - type: 10gbase-x-sfpp - - name: SFP+ 10 - type: 10gbase-x-sfpp power-ports: - name: Input type: iec-60320-c14 diff --git a/tests/schema.json b/tests/schema.json index 5a90275c..d69728be 100644 --- a/tests/schema.json +++ b/tests/schema.json @@ -21,6 +21,17 @@ "is_full_depth": { "type": "boolean" }, + "airflow": { + "type": "string", + "enum": [ + "front-to-rear", + "rear-to-front", + "left-to-right", + "right-to-left", + "side-to-rear", + "passive" + ] + }, "subdevice_role": { "type": "string", "enum": [