From 3e902a853fb0562438108f445090e75dfb2b6223 Mon Sep 17 00:00:00 2001 From: Nikolay Yuzefovich <33313888+k01ek@users.noreply.github.com> Date: Wed, 15 Jul 2020 07:35:06 +0500 Subject: [PATCH] Fix console and power ports for cisco (#172) * Update asr1002-hx.yaml * Update n9k-c9336c-fx2.yaml * Update ws-c2960-24pc-l.yaml * Update N9K-C9348GC-FXP.yaml * Update N9K-C9364C.yaml * Update n9k-c9372px.yaml * Update N9K-C93180YC-EX.yaml * Update N3K-C3048TP-1GE.yaml * Update N9K-C93180YC-EX.yaml * Update N9K-C9364C.yaml * Update n9k-c9372px.yaml * Update ws-c2960-24pc-l.yaml * Update n9k-c9336c-fx2.yaml * Update N9K-C9348GC-FXP.yaml * Update asr1002-hx.yaml --- device-types/Cisco/N3K-C3048TP-1GE.yaml | 4 ++-- device-types/Cisco/N9K-C93180YC-EX.yaml | 7 +++++-- device-types/Cisco/N9K-C9348GC-FXP.yaml | 7 +++++-- device-types/Cisco/N9K-C9364C.yaml | 7 +++++-- device-types/Cisco/asr1002-hx.yaml | 7 +++++-- device-types/Cisco/n9k-c9336c-fx2.yaml | 7 +++++-- device-types/Cisco/n9k-c9372px.yaml | 7 +++++-- device-types/Cisco/ws-c2960-24pc-l.yaml | 6 ++++-- 8 files changed, 36 insertions(+), 16 deletions(-) diff --git a/device-types/Cisco/N3K-C3048TP-1GE.yaml b/device-types/Cisco/N3K-C3048TP-1GE.yaml index 94acd8e93..5d5b6a587 100644 --- a/device-types/Cisco/N3K-C3048TP-1GE.yaml +++ b/device-types/Cisco/N3K-C3048TP-1GE.yaml @@ -4,10 +4,10 @@ part_number: N3K-C3048TP-1GE slug: n3k-c3048tp-1ge u_height: 1 is_full_depth: true -console_ports: +console-ports: - name: Console type: rj-45 -power_ports: +power-ports: - name: PS1 type: iec-60320-c14 - name: PS2 diff --git a/device-types/Cisco/N9K-C93180YC-EX.yaml b/device-types/Cisco/N9K-C93180YC-EX.yaml index bf71e85ce..784b93fbd 100644 --- a/device-types/Cisco/N9K-C93180YC-EX.yaml +++ b/device-types/Cisco/N9K-C93180YC-EX.yaml @@ -4,11 +4,14 @@ part_number: N9K-C93180YC-EX slug: n9k-c93180yc-ex u_height: 1 is_full_depth: true -console_ports: +console-ports: - name: console -power_ports: + type: rj-45 +power-ports: - name: Power Supply 1 + type: iec-60320-c14 - name: Power Supply 2 + type: iec-60320-c14 interfaces: - name: Ethernet1/1 type: 10gbase-x-sfpp diff --git a/device-types/Cisco/N9K-C9348GC-FXP.yaml b/device-types/Cisco/N9K-C9348GC-FXP.yaml index c48549507..972ba5a33 100644 --- a/device-types/Cisco/N9K-C9348GC-FXP.yaml +++ b/device-types/Cisco/N9K-C9348GC-FXP.yaml @@ -4,11 +4,14 @@ part_number: N9K-C9348GC-FXP slug: n9k-c9348gc-fxp u_height: 1 is_full_depth: true -console_ports: +console-ports: - name: console -power_ports: + type: rj-45 +power-ports: - name: Power Supply 1 + type: iec-60320-c14 - name: Power Supply 2 + type: iec-60320-c14 interfaces: - name: Ethernet1/1 type: 1000base-t diff --git a/device-types/Cisco/N9K-C9364C.yaml b/device-types/Cisco/N9K-C9364C.yaml index cc476245e..f7fbdd6f0 100644 --- a/device-types/Cisco/N9K-C9364C.yaml +++ b/device-types/Cisco/N9K-C9364C.yaml @@ -4,11 +4,14 @@ part_number: N9K-C9364C slug: n9k-c9364c u_height: 2 is_full_depth: true -console_ports: +console-ports: - name: console -power_ports: + type: rj-45 +power-ports: - name: Power Supply 1 + type: iec-60320-c14 - name: Power Supply 2 + type: iec-60320-c14 interfaces: - name: Ethernet1/1 type: 100gbase-x-qsfp28 diff --git a/device-types/Cisco/asr1002-hx.yaml b/device-types/Cisco/asr1002-hx.yaml index 5702e2d29..fa6cdd3ea 100644 --- a/device-types/Cisco/asr1002-hx.yaml +++ b/device-types/Cisco/asr1002-hx.yaml @@ -3,11 +3,14 @@ model: ASR1002-HX slug: asr1002-hx u_height: 2 is_full_depth: true -console_ports: +console-ports: - name: con 0 -power_ports: + type: rj-45 +power-ports: - name: P0 + type: iec-60320-c14 - name: P1 + type: iec-60320-c14 interfaces: - name: GigabitEthernet0/0/0 type: 1000base-x-sfp diff --git a/device-types/Cisco/n9k-c9336c-fx2.yaml b/device-types/Cisco/n9k-c9336c-fx2.yaml index 1ef4767da..43bca2c69 100644 --- a/device-types/Cisco/n9k-c9336c-fx2.yaml +++ b/device-types/Cisco/n9k-c9336c-fx2.yaml @@ -4,11 +4,14 @@ part_number: N9K-C9336C-FX2 slug: n9k-c9336c-fx2 u_height: 1 is_full_depth: true -console_ports: +console-ports: - name: console -power_ports: + type: rj-45 +power-ports: - name: Power Supply 1 + type: iec-60320-c14 - name: Power Supply 2 + type: iec-60320-c14 interfaces: - name: Ethernet1/1 type: 100gbase-x-qsfp28 diff --git a/device-types/Cisco/n9k-c9372px.yaml b/device-types/Cisco/n9k-c9372px.yaml index 4744a4fe3..f0ebcee41 100644 --- a/device-types/Cisco/n9k-c9372px.yaml +++ b/device-types/Cisco/n9k-c9372px.yaml @@ -4,11 +4,14 @@ part_number: N9K-C9372PX slug: n9k-C9372px u_height: 1 is_full_depth: true -console_ports: +console-ports: - name: console -power_ports: + type: rj-45 +power-ports: - name: Power Supply 1 + type: iec-60320-c14 - name: Power Supply 2 + type: iec-60320-c14 interfaces: - name: Ethernet1/1 type: 10gbase-x-sfpp diff --git a/device-types/Cisco/ws-c2960-24pc-l.yaml b/device-types/Cisco/ws-c2960-24pc-l.yaml index f622fc907..7b6aa5d6c 100644 --- a/device-types/Cisco/ws-c2960-24pc-l.yaml +++ b/device-types/Cisco/ws-c2960-24pc-l.yaml @@ -4,10 +4,12 @@ part_number: WS-C2960-24PC-L slug: ws-c2960-24pc-l u_height: 1 is_full_depth: true -console_ports: +console-ports: - name: con 0 -power_ports: + type: rj-45 +power-ports: - name: POWER + type: iec-60320-c14 interfaces: - name: FastEthernet0/1 type: 100base-tx