Ubiquiti devices (#938)

* Added POE support for interfaces

* Fixed PoE type for port 17-24

* Adding PoE function for interfaces

* Adding Switch Pro 48

* Adding PoE support for interfaces on "Switch 24 PoE"

* Adding PoE on interfaces for "UniFi Switch Lite 8 PoE"

* Adding PoE for "Access Point In-Wall HD"

* Added PoE to "Cloud Key Gen2"

* Fixing model name for "Cloud Key Gen2"

* Adding PoE and console connection to "Cloud Key Plus"

* Adapting naming conventions from other Ubiquiti devices

* Adding "Power Backup" unit

* Remove trailing whitespace

* Fixing model name for UDM-Pro

* Fixing model name and slug

* Added  interface types to the USP-RPS

* fixed uck-g2-plus console port

* Fixed UniFi cloud key model names and slugs to match manufacturer datasheets

Co-authored-by: Daniel Anner <daniel.anner@danstechsupport.com>
This commit is contained in:
Joseph Badow 2023-01-09 17:18:02 +01:00 committed by GitHub
parent 1412cdac80
commit cf186dd89f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 458 additions and 102 deletions

View File

@ -6,16 +6,21 @@ part_number: UAP-IW-HD
u_height: 0
is_full_depth: false
interfaces:
- name: Port 1 (PoE out)
- name: Port 1
type: 1000base-t
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 2
type: 1000base-t
- name: Port 3
type: 1000base-t
- name: Port 4
type: 1000base-t
- name: Port 5 (PoE in)
- name: Port 5
type: 1000base-t
poe_mode: pd
poe_type: type2-ieee802.3at
mgmt_only: true
- name: Wlan 0
type: ieee802.11n
- name: Wlan 1

View File

@ -1,6 +1,6 @@
---
manufacturer: Ubiquiti
model: Unifi Cloud Key Gen1
model: UniFi Cloud Key
slug: uc-ck
part_number: uc-ck
comments: |

View File

@ -1,7 +1,7 @@
---
manufacturer: Ubiquiti
model: UCK-G2-PLUS
slug: uck-g2-plus
model: Cloud Key Gen2 Plus
slug: cloud-key-gen2-plus
part_number: uck-g2-plus
comments: |
Unifi Cloud Key Generation 2 Plus
@ -9,9 +9,14 @@ comments: |
PoE in 24V or USB-type C Power
u_height: 1
is_full_depth: false
console-ports:
- name: console
type: usb-c
interfaces:
- name: eth0
type: 1000base-t
poe_mode: pd
poe_type: type1-ieee802.3af
mgmt_only: true
power-ports:
- name: power1

View File

@ -1,7 +1,7 @@
---
manufacturer: Ubiquiti
model: UCK-G2
slug: uck-g2
model: Cloud Key Gen2
slug: cloud-key-gen2
part_number: uck-g2
comments: |
Unifi Cloud Key Generation 2
@ -12,6 +12,8 @@ is_full_depth: false
interfaces:
- name: eth0
type: 1000base-t
poe_mode: pd
poe_type: type1-ieee802.3af
mgmt_only: true
power-ports:
- name: power1

View File

@ -1,7 +1,7 @@
---
manufacturer: Ubiquiti
model: UniFi Dream Machine Pro
slug: udm-pro
slug: unifi-dream-machine-pro
airflow: front-to-rear
part_number: UDM-Pro
comments: |
@ -45,9 +45,8 @@ interfaces:
label: Port 10 - SFP+ WAN 2
- name: port.11
type: 10gbase-x-sfpp
label: Port 11 - SFP+ LAN
power-ports:
- name: Supply
- name: ps1
type: iec-60320-c14
maximum_draw: 33
description: 100-240VAC/50-60 Hz

View File

@ -0,0 +1,41 @@
---
manufacturer: Ubiquiti
model: UniFi SmartPower RPS
slug: unifi-smartpower-rps
airflow: front-to-rear
part_number: USP-RPS
comments: |
[UniFi Power Backup](https://store.ui.com/products/usp-rps)
950W backup power unit that provides full redundancy for rack-mounted UniFi devices.
Dimensions: 442.4 x 43.7 x 325.6 mm (17.42 x 1.72 x 12.82")
u_height: 1
is_full_depth: false
interfaces:
- name: Port 1
type: 1000base-t
mgmt_only: true
power-ports:
- name: ps1
type: iec-60320-c14
maximum_draw: 995
power-outlets:
- name: Port 1
type: ubiquiti-smartpower
power_port: ps1
- name: Port 2
type: ubiquiti-smartpower
power_port: ps1
- name: Port 3
type: ubiquiti-smartpower
power_port: ps1
- name: Port 4
type: ubiquiti-smartpower
power_port: ps1
- name: Port 5
type: ubiquiti-smartpower
power_port: ps1
- name: Port 6
type: ubiquiti-smartpower
power_port: ps1

View File

@ -10,38 +10,70 @@ comments: |
u_height: 1
is_full_depth: false
interfaces:
- name: Port 1 (PoE)
- name: Port 1
type: 1000base-t
- name: Port 2 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 2
type: 1000base-t
- name: Port 3 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 3
type: 1000base-t
- name: Port 4 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 4
type: 1000base-t
- name: Port 5 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 5
type: 1000base-t
- name: Port 6 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 6
type: 1000base-t
- name: Port 7 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 7
type: 1000base-t
- name: Port 8 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 8
type: 1000base-t
- name: Port 9 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 9
type: 1000base-t
- name: Port 10 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 10
type: 1000base-t
- name: Port 11 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 11
type: 1000base-t
- name: Port 12 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 12
type: 1000base-t
- name: Port 13 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 13
type: 1000base-t
- name: Port 14 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 14
type: 1000base-t
- name: Port 15 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 15
type: 1000base-t
- name: Port 16 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 16
type: 1000base-t
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 17
type: 1000base-t
- name: Port 18

View File

@ -10,14 +10,22 @@ comments: |
u_height: 1
is_full_depth: false
interfaces:
- name: Port 1 (PoE+)
- name: Port 1
type: 1000base-t
- name: Port 2 (PoE+)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 2
type: 1000base-t
- name: Port 3 (PoE+)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 3
type: 1000base-t
- name: Port 4 (PoE+)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 4
type: 1000base-t
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 5
type: 1000base-t
- name: Port 6

View File

@ -10,54 +10,102 @@ comments: |
u_height: 1
is_full_depth: true
interfaces:
- name: Port 1 (PoE)
- name: Port 1
type: 1000base-t
- name: Port 2 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 2
type: 1000base-t
- name: Port 3 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 3
type: 1000base-t
- name: Port 4 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 4
type: 1000base-t
- name: Port 5 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 5
type: 1000base-t
- name: Port 6 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 6
type: 1000base-t
- name: Port 7 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 7
type: 1000base-t
- name: Port 8 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 8
type: 1000base-t
- name: Port 9 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 9
type: 1000base-t
- name: Port 10 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 10
type: 1000base-t
- name: Port 11 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 11
type: 1000base-t
- name: Port 12 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 12
type: 1000base-t
- name: Port 13 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 13
type: 1000base-t
- name: Port 14 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 14
type: 1000base-t
- name: Port 15 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 15
type: 1000base-t
- name: Port 16 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 16
type: 1000base-t
- name: Port 17 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 17
type: 1000base-t
- name: Port 18 (PoE)
poe_mode: pse
poe_type: type3-ieee802.3bt
- name: Port 18
type: 1000base-t
- name: Port 19 (PoE)
poe_mode: pse
poe_type: type3-ieee802.3bt
- name: Port 19
type: 1000base-t
- name: Port 20 (PoE)
poe_mode: pse
poe_type: type3-ieee802.3bt
- name: Port 20
type: 1000base-t
- name: Port 21 (PoE)
poe_mode: pse
poe_type: type3-ieee802.3bt
- name: Port 21
type: 1000base-t
- name: Port 22 (PoE)
poe_mode: pse
poe_type: type3-ieee802.3bt
- name: Port 22
type: 1000base-t
- name: Port 23 (PoE)
poe_mode: pse
poe_type: type3-ieee802.3bt
- name: Port 23
type: 1000base-t
- name: Port 24 (PoE)
poe_mode: pse
poe_type: type3-ieee802.3bt
- name: Port 24
type: 1000base-t
poe_mode: pse
poe_type: type3-ieee802.3bt
- name: SFP+ 25
type: 10gbase-x-sfpp
- name: SFP+ 26

View File

@ -10,102 +10,198 @@ comments: |
u_height: 1
is_full_depth: true
interfaces:
- name: Port 1 (PoE)
- name: Port 1
type: 1000base-t
- name: Port 2 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 2
type: 1000base-t
- name: Port 3 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 3
type: 1000base-t
- name: Port 4 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 4
type: 1000base-t
- name: Port 5 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 5
type: 1000base-t
- name: Port 6 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 6
type: 1000base-t
- name: Port 7 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 7
type: 1000base-t
- name: Port 8 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 8
type: 1000base-t
- name: Port 9 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 9
type: 1000base-t
- name: Port 10 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 10
type: 1000base-t
- name: Port 11 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 11
type: 1000base-t
- name: Port 12 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 12
type: 1000base-t
- name: Port 13 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 13
type: 1000base-t
- name: Port 14 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 14
type: 1000base-t
- name: Port 15 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 15
type: 1000base-t
- name: Port 16 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 16
type: 1000base-t
- name: Port 17 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 17
type: 1000base-t
- name: Port 18 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 18
type: 1000base-t
- name: Port 19 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 19
type: 1000base-t
- name: Port 20 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 20
type: 1000base-t
- name: Port 21 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 21
type: 1000base-t
- name: Port 22 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 22
type: 1000base-t
- name: Port 23 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 23
type: 1000base-t
- name: Port 24 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 24
type: 1000base-t
- name: Port 25 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 25
type: 1000base-t
- name: Port 26 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 26
type: 1000base-t
- name: Port 27 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 27
type: 1000base-t
- name: Port 28 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 28
type: 1000base-t
- name: Port 29 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 29
type: 1000base-t
- name: Port 30 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 30
type: 1000base-t
- name: Port 31 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 31
type: 1000base-t
- name: Port 32 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 32
type: 1000base-t
- name: Port 33 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 33
type: 1000base-t
- name: Port 34 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 34
type: 1000base-t
- name: Port 35 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 35
type: 1000base-t
- name: Port 36 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 36
type: 1000base-t
- name: Port 37 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 37
type: 1000base-t
- name: Port 38 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 38
type: 1000base-t
- name: Port 39 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 39
type: 1000base-t
- name: Port 40 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 40
type: 1000base-t
- name: Port 41 (PoE)
poe_mode: pse
poe_type: type2-ieee802.3at
- name: Port 41
type: 1000base-t
- name: Port 42 (PoE)
poe_mode: pse
poe_type: type3-ieee802.3bt
- name: Port 42
type: 1000base-t
- name: Port 43 (PoE)
poe_mode: pse
poe_type: type3-ieee802.3bt
- name: Port 43
type: 1000base-t
- name: Port 44 (PoE)
poe_mode: pse
poe_type: type3-ieee802.3bt
- name: Port 44
type: 1000base-t
- name: Port 45 (PoE)
poe_mode: pse
poe_type: type3-ieee802.3bt
- name: Port 45
type: 1000base-t
- name: Port 46 (PoE)
poe_mode: pse
poe_type: type3-ieee802.3bt
- name: Port 46
type: 1000base-t
- name: Port 47 (PoE)
poe_mode: pse
poe_type: type3-ieee802.3bt
- name: Port 47
type: 1000base-t
- name: Port 48 (PoE)
poe_mode: pse
poe_type: type3-ieee802.3bt
- name: Port 48
type: 1000base-t
poe_mode: pse
poe_type: type3-ieee802.3bt
- name: SFP+ 49
type: 10gbase-x-sfpp
- name: SFP+ 50

View File

@ -0,0 +1,120 @@
---
manufacturer: Ubiquiti
model: UniFi Switch 48 Pro
slug: unifi-switch-48-pro
part_number: USW-Pro-48
comments: |
UniFi Switch 48 Pro, Gen2, (48) Gigabit, (4) SFP+
Dimensions: 442.4 x 285.4 x 43.7 mm (17.42 x 15.73 x 1.72")
u_height: 1
is_full_depth: true
interfaces:
- name: Port 1
type: 1000base-t
- name: Port 2
type: 1000base-t
- name: Port 3
type: 1000base-t
- name: Port 4
type: 1000base-t
- name: Port 5
type: 1000base-t
- name: Port 6
type: 1000base-t
- name: Port 7
type: 1000base-t
- name: Port 8
type: 1000base-t
- name: Port 9
type: 1000base-t
- name: Port 10
type: 1000base-t
- name: Port 11
type: 1000base-t
- name: Port 12
type: 1000base-t
- name: Port 13
type: 1000base-t
- name: Port 14
type: 1000base-t
- name: Port 15
type: 1000base-t
- name: Port 16
type: 1000base-t
- name: Port 17
type: 1000base-t
- name: Port 18
type: 1000base-t
- name: Port 19
type: 1000base-t
- name: Port 20
type: 1000base-t
- name: Port 21
type: 1000base-t
- name: Port 22
type: 1000base-t
- name: Port 23
type: 1000base-t
- name: Port 24
type: 1000base-t
- name: Port 25
type: 1000base-t
- name: Port 26
type: 1000base-t
- name: Port 27
type: 1000base-t
- name: Port 28
type: 1000base-t
- name: Port 29
type: 1000base-t
- name: Port 30
type: 1000base-t
- name: Port 31
type: 1000base-t
- name: Port 32
type: 1000base-t
- name: Port 33
type: 1000base-t
- name: Port 34
type: 1000base-t
- name: Port 35
type: 1000base-t
- name: Port 36
type: 1000base-t
- name: Port 37
type: 1000base-t
- name: Port 38
type: 1000base-t
- name: Port 39
type: 1000base-t
- name: Port 40
type: 1000base-t
- name: Port 41
type: 1000base-t
- name: Port 42
type: 1000base-t
- name: Port 43
type: 1000base-t
- name: Port 44
type: 1000base-t
- name: Port 45
type: 1000base-t
- name: Port 46
type: 1000base-t
- name: Port 47
type: 1000base-t
- name: Port 48
type: 1000base-t
- name: SFP+ 49
type: 10gbase-x-sfpp
- name: SFP+ 50
type: 10gbase-x-sfpp
- name: SFP+ 51
type: 10gbase-x-sfpp
- name: SFP+ 52
type: 10gbase-x-sfpp
power-ports:
- name: Input
type: iec-60320-c14
maximum_draw: 60