Merge branch 'netbox-community:master' into Furukawa-optical-distributors

This commit is contained in:
kaio Guilherme 2024-11-18 10:13:24 -04:00 committed by GitHub
commit c8ea064f2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 24 additions and 1 deletions

View File

@ -1,7 +1,7 @@
---
manufacturer: Cisco
model: Nexus C3064PQ-10GE
slug: cisco-nexus-c3064pq-10ge
slug: cisco-n3k-c3064pq-10ge
part_number: N3K-C3064PQ-10GE
u_height: 1
is_full_depth: false

View File

@ -7,6 +7,7 @@ is_full_depth: false
weight: 5.5
weight_unit: kg
airflow: right-to-left
front_image: true
comments: '[Extreme Networks X150-24p Datasheet](https://documentation.extremenetworks.com/summit_16/GUID-0CD347F4-C441-47C3-9D5B-3BA8649DB783.shtml)'
power-ports:
- name: DCE2

View File

@ -7,6 +7,7 @@ is_full_depth: false
weight: 4.8
weight_unit: kg
airflow: right-to-left
front_image: true
comments: '[Extreme Networks X150-24t Datasheet](https://documentation.extremenetworks.com/summit_16/GUID-A48D9BB9-E0EC-41DB-AE56-F2615275A38A.shtml)'
power-ports:
- name: DCE2

View File

@ -7,6 +7,7 @@ is_full_depth: false
weight: 5.5
weight_unit: kg
airflow: right-to-left
front_image: true
comments: '[Extreme Networks X150-48t Datasheet](https://documentation.extremenetworks.com/summit_16/GUID-05C591DD-EB29-4D08-B5D5-F21C4AEFD200.shtml)'
power-ports:
- name: DCE2

View File

@ -0,0 +1,12 @@
---
manufacturer: Cisco
model: NXA-PAC-1200W-PI
part_number: NXA-PAC-1200W-PI
description: Nexus AC 1200W PSU - Port Side Intake
comments: Nexus AC 1200W PSU - Port Side Intake / [Cisco Nexus 9300-FX2 Series Switches Data Sheet](https://www.cisco.com/c/en/us/products/collateral/switches/nexus-9000-series-switches/datasheet-c78-742282.html)
weight: 1.1
weight_unit: kg
power-ports:
- name: PSU{module}
type: iec-60320-c14
maximum_draw: 1100

View File

@ -159,6 +159,14 @@ def test_definitions(file_path, schema, change_type):
# Load YAML data from file
definition = yaml.load(content, Loader=DecimalSafeLoader)
# Check for non-ASCII characters
non_ascii_chars = [char for char in content if ord(char) > 127]
if non_ascii_chars:
pytest.fail(
f"{file_path} contains non-ASCII characters: {', '.join(set(non_ascii_chars))}",
pytrace=False
)
# Validate YAML definition against the supplied schema
try:

Binary file not shown.

Binary file not shown.