From 2b058b10f0bd5d0231ff7577c42181017cf314ba Mon Sep 17 00:00:00 2001 From: Tony Lofreso Jr Date: Thu, 26 Dec 2019 19:19:49 -0500 Subject: [PATCH 1/3] Added folder for vendor: Arista. Added device templates for two 7020 model switches --- device-types/Arista/DCS-7020SR-24C2-F.yaml | 70 ++++++++++++++++++++++ device-types/Arista/DCS-7020SR-24C2-R.yaml | 70 ++++++++++++++++++++++ 2 files changed, 140 insertions(+) create mode 100644 device-types/Arista/DCS-7020SR-24C2-F.yaml create mode 100644 device-types/Arista/DCS-7020SR-24C2-R.yaml diff --git a/device-types/Arista/DCS-7020SR-24C2-F.yaml b/device-types/Arista/DCS-7020SR-24C2-F.yaml new file mode 100644 index 00000000..3ec93bfe --- /dev/null +++ b/device-types/Arista/DCS-7020SR-24C2-F.yaml @@ -0,0 +1,70 @@ +manufacturer: Arista +model: DCS-7020SR-24C2-F +slug: dcs-7020sr-24c2-f +part_number: ASY-91941-104 +u_height: 1 +interfaces: + - name: Ethernet1 + type: 10gbase-x-sfpp + - name: Ethernet2 + type: 10gbase-x-sfpp + - name: Ethernet3 + type: 10gbase-x-sfpp + - name: Ethernet4 + type: 10gbase-x-sfpp + - name: Ethernet5 + type: 10gbase-x-sfpp + - name: Ethernet6 + type: 10gbase-x-sfpp + - name: Ethernet7 + type: 10gbase-x-sfpp + - name: Ethernet8 + type: 10gbase-x-sfpp + - name: Ethernet9 + type: 10gbase-x-sfpp + - name: Ethernet10 + type: 10gbase-x-sfpp + - name: Ethernet11 + type: 10gbase-x-sfpp + - name: Ethernet12 + type: 10gbase-x-sfpp + - name: Ethernet13 + type: 10gbase-x-sfpp + - name: Ethernet14 + type: 10gbase-x-sfpp + - name: Ethernet15 + type: 10gbase-x-sfpp + - name: Ethernet16 + type: 10gbase-x-sfpp + - name: Ethernet17 + type: 10gbase-x-sfpp + - name: Ethernet18 + type: 10gbase-x-sfpp + - name: Ethernet20 + type: 10gbase-x-sfpp + - name: Ethernet21 + type: 10gbase-x-sfpp + - name: Ethernet22 + type: 10gbase-x-sfpp + - name: Ethernet23 + type: 10gbase-x-sfpp + - name: Ethernet24 + type: 10gbase-x-sfpp + - name: Ethernet25/1 + type: 100gbase-x-qsfp28 + - name: Ethernet26/1 + type: 100gbase-x-qsfp28 + - name: Management1 + type: 1000base-t +console-ports: + - name: Console + type: rf-45 +power-ports: + - name: PS1 + type: iec-60320-c14 + maximum_draw: 105 + allocated_draw: 95 + - name: PS2 + type: iec-60320-c14 + maximum_draw: 105 + allocated_draw: 95 \ No newline at end of file diff --git a/device-types/Arista/DCS-7020SR-24C2-R.yaml b/device-types/Arista/DCS-7020SR-24C2-R.yaml new file mode 100644 index 00000000..aac7c60b --- /dev/null +++ b/device-types/Arista/DCS-7020SR-24C2-R.yaml @@ -0,0 +1,70 @@ +manufacturer: Arista +model: DCS-7020SR-24C2-R +slug: dcs-7020sr-24c2-r +part_number: ASY-91941-104 +u_height: 1 +interfaces: + - name: Ethernet1 + type: 10gbase-x-sfpp + - name: Ethernet2 + type: 10gbase-x-sfpp + - name: Ethernet3 + type: 10gbase-x-sfpp + - name: Ethernet4 + type: 10gbase-x-sfpp + - name: Ethernet5 + type: 10gbase-x-sfpp + - name: Ethernet6 + type: 10gbase-x-sfpp + - name: Ethernet7 + type: 10gbase-x-sfpp + - name: Ethernet8 + type: 10gbase-x-sfpp + - name: Ethernet9 + type: 10gbase-x-sfpp + - name: Ethernet10 + type: 10gbase-x-sfpp + - name: Ethernet11 + type: 10gbase-x-sfpp + - name: Ethernet12 + type: 10gbase-x-sfpp + - name: Ethernet13 + type: 10gbase-x-sfpp + - name: Ethernet14 + type: 10gbase-x-sfpp + - name: Ethernet15 + type: 10gbase-x-sfpp + - name: Ethernet16 + type: 10gbase-x-sfpp + - name: Ethernet17 + type: 10gbase-x-sfpp + - name: Ethernet18 + type: 10gbase-x-sfpp + - name: Ethernet20 + type: 10gbase-x-sfpp + - name: Ethernet21 + type: 10gbase-x-sfpp + - name: Ethernet22 + type: 10gbase-x-sfpp + - name: Ethernet23 + type: 10gbase-x-sfpp + - name: Ethernet24 + type: 10gbase-x-sfpp + - name: Ethernet25/1 + type: 100gbase-x-qsfp28 + - name: Ethernet26/1 + type: 100gbase-x-qsfp28 + - name: Management1 + type: 1000base-t +console-ports: + - name: Console + type: rf-45 +power-ports: + - name: PS1 + type: iec-60320-c14 + maximum_draw: 105 + allocated_draw: 95 + - name: PS2 + type: iec-60320-c14 + maximum_draw: 105 + allocated_draw: 95 \ No newline at end of file From f45a9ad8db011bc5ec73a7d63948fb83a293aa4d Mon Sep 17 00:00:00 2001 From: Tony Lofreso Jr Date: Thu, 26 Dec 2019 19:27:52 -0500 Subject: [PATCH 2/3] fixed typo on console port type --- device-types/Arista/DCS-7020SR-24C2-F.yaml | 4 ++-- device-types/Arista/DCS-7020SR-24C2-R.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/device-types/Arista/DCS-7020SR-24C2-F.yaml b/device-types/Arista/DCS-7020SR-24C2-F.yaml index 3ec93bfe..b1f68e3d 100644 --- a/device-types/Arista/DCS-7020SR-24C2-F.yaml +++ b/device-types/Arista/DCS-7020SR-24C2-F.yaml @@ -58,7 +58,7 @@ interfaces: type: 1000base-t console-ports: - name: Console - type: rf-45 + type: rj-45 power-ports: - name: PS1 type: iec-60320-c14 @@ -67,4 +67,4 @@ power-ports: - name: PS2 type: iec-60320-c14 maximum_draw: 105 - allocated_draw: 95 \ No newline at end of file + allocated_draw: 95 diff --git a/device-types/Arista/DCS-7020SR-24C2-R.yaml b/device-types/Arista/DCS-7020SR-24C2-R.yaml index aac7c60b..12476192 100644 --- a/device-types/Arista/DCS-7020SR-24C2-R.yaml +++ b/device-types/Arista/DCS-7020SR-24C2-R.yaml @@ -58,7 +58,7 @@ interfaces: type: 1000base-t console-ports: - name: Console - type: rf-45 + type: rj-45 power-ports: - name: PS1 type: iec-60320-c14 @@ -67,4 +67,4 @@ power-ports: - name: PS2 type: iec-60320-c14 maximum_draw: 105 - allocated_draw: 95 \ No newline at end of file + allocated_draw: 95 From 28aebee03d233503cf0d03c8b78d5ed78d284448 Mon Sep 17 00:00:00 2001 From: Tony Lofreso Date: Fri, 27 Dec 2019 08:34:32 -0500 Subject: [PATCH 3/3] Removed part number, as it will differ for opposite airflow, but I do not have that part #. Also added is_full_depth: True --- device-types/Arista/DCS-7020SR-24C2-F.yaml | 2 +- device-types/Arista/DCS-7020SR-24C2-R.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/device-types/Arista/DCS-7020SR-24C2-F.yaml b/device-types/Arista/DCS-7020SR-24C2-F.yaml index b1f68e3d..efae6016 100644 --- a/device-types/Arista/DCS-7020SR-24C2-F.yaml +++ b/device-types/Arista/DCS-7020SR-24C2-F.yaml @@ -1,7 +1,7 @@ manufacturer: Arista model: DCS-7020SR-24C2-F slug: dcs-7020sr-24c2-f -part_number: ASY-91941-104 +is_full_depth: True u_height: 1 interfaces: - name: Ethernet1 diff --git a/device-types/Arista/DCS-7020SR-24C2-R.yaml b/device-types/Arista/DCS-7020SR-24C2-R.yaml index 12476192..9d2dfda1 100644 --- a/device-types/Arista/DCS-7020SR-24C2-R.yaml +++ b/device-types/Arista/DCS-7020SR-24C2-R.yaml @@ -1,7 +1,7 @@ manufacturer: Arista model: DCS-7020SR-24C2-R slug: dcs-7020sr-24c2-r -part_number: ASY-91941-104 +is_full_depth: True u_height: 1 interfaces: - name: Ethernet1