From d140c9ed43e6caf82cc8d84b064db5842d43ea8a Mon Sep 17 00:00:00 2001 From: pv2b Date: Mon, 31 Jul 2023 17:13:41 +0200 Subject: [PATCH] Improvements to PA-220 model (#1499) * Improvements to PA-220 model * Connect power outlet to power port * Lint fixup * Fixup slugs * Removing modelling of power brick * Add missing newline at EOF * Rename file to match naming standard * Explicitly specify that rack trays aren't powered * Added airflow and weight info (Unfortunately no weight info available for the rack trays) * File name, device name and slug fixups --------- Co-authored-by: Daniel W. Anner --- device-types/Palo Alto/PA-220-Rack-Kit.yaml | 12 ++++++++++++ device-types/Palo Alto/PA-220-Rack-Tray-Kit.yaml | 13 +++++++++++++ device-types/Palo Alto/PA-220.yaml | 10 +++++++--- 3 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 device-types/Palo Alto/PA-220-Rack-Kit.yaml create mode 100644 device-types/Palo Alto/PA-220-Rack-Tray-Kit.yaml diff --git a/device-types/Palo Alto/PA-220-Rack-Kit.yaml b/device-types/Palo Alto/PA-220-Rack-Kit.yaml new file mode 100644 index 000000000..4486e89af --- /dev/null +++ b/device-types/Palo Alto/PA-220-Rack-Kit.yaml @@ -0,0 +1,12 @@ +--- +manufacturer: Palo Alto +model: PA-220 Rack Kit +slug: palo-alto-pa-220-rack-kit +part_number: PAN-PA-220-RACK-SINGLE +u_height: 1 +subdevice_role: parent +is_full_depth: false +is_powered: false +airflow: passive +device-bays: + - name: Firewall diff --git a/device-types/Palo Alto/PA-220-Rack-Tray-Kit.yaml b/device-types/Palo Alto/PA-220-Rack-Tray-Kit.yaml new file mode 100644 index 000000000..e6df222eb --- /dev/null +++ b/device-types/Palo Alto/PA-220-Rack-Tray-Kit.yaml @@ -0,0 +1,13 @@ +--- +manufacturer: Palo Alto +model: PA-220 Rack Tray Kit +slug: palo-alto-pa-220-rack-tray-kit +part_number: PAN-PA-220-RACKTRAY +u_height: 1 +subdevice_role: parent +is_full_depth: false +is_powered: false +airflow: passive +device-bays: + - name: Firewall A + - name: Firewall B diff --git a/device-types/Palo Alto/PA-220.yaml b/device-types/Palo Alto/PA-220.yaml index 154a3e445..c4d42c760 100644 --- a/device-types/Palo Alto/PA-220.yaml +++ b/device-types/Palo Alto/PA-220.yaml @@ -3,14 +3,18 @@ manufacturer: Palo Alto model: PA-220 slug: palo-alto-pa-220 part_number: PA-220 -u_height: 1 +u_height: 0 +subdevice_role: child is_full_depth: false comments: '[PA-220 Datasheet](https://www.paloaltonetworks.com/resources/datasheets/pa-220-specsheet)' +airflow: passive +weight: 3 +weight_unit: lb power-ports: - name: PS1 - type: nema-1-15p + type: dc-terminal - name: PS2 - type: nema-1-15p + type: dc-terminal console-ports: - name: console type: rj-45