This page provides directions on constructing the switch_metadata.csv
file.
The SHCD file for the system.
Check the description for component names while mapping names between the SHCD and the switch_metadata.csv
file.
See Component Names (xnames).
This file is manually created to include information about all spine, leaf, CDU, and aggregation switches in the system. None of the Slingshot switches for the HSN should be included in this file.
The file should have the following format, in ascending order by component name (xname):
Switch Xname,Type,Brand
d0w1,CDU,Dell
d0w2,CDU,Dell
x3000c0w38,Leaf,Dell
x3000c0w36,Leaf,Dell
x3000c0h33s1,Spine,Mellanox
x3000c0h34s1,Spine,Mellanox
The above file would lead to the following pairing between component name and hostname:
Hostname | Component Name |
---|---|
sw-spine-001 |
x3000c0h33s1 |
sw-spine-002 |
x3000c0h34s1 |
sw-leaf-001 |
x3000c0w38 |
sw-leaf-002 |
x3000c0w36 |
sw-cdu-001 |
d0w1 |
sw-cdu-002 |
d0w2 |
The hostnames are automatically generated in ascending order by switch type.
The general guidelines for any abbreviations are that MLNX
or MLX
is for Mellanox and DL
is for Dell.
All other switches are HPE Aruba switches.
The brand name of the management switches can be determined from one of two places:
The Device Diagrams or River Device Diagrams tab of the SHCD has pictures and diagrams of the components of the system including the management network switches. This will have a long name which shows the part number and the vendor name.
The Rack Layout or River Rack Layout tab shows the part number in the context of its location within the cabinet.
Part Number | Brand |
---|---|
Aruba 8320 48P 1G/10GBASE-T and 6P 40G QSFP with X472 (JL481A) |
Aruba |
Aruba 8325-23C 32-port 100G QSFP+/QSFP28 (JL627A) |
Aruba |
CS-XGE40-MLNX-2100-16 |
Mellanox |
HPE Aruba 6300M - switch - 48 ports - managed - rack-mountable |
Aruba |
JL625A - Aruba 8325-48Y8C BF 6 F 2 PS Bdl |
Aruba |
XC-XGE-48P-DL2 Ethernet switch (Dell S3048-ON ) |
Dell |
XC-XGT-48P-DL2 Ethernet switch (Dell S4048-ON ) |
Dell |
Spine and aggregation switches use the format xXcChHsS
. Leaf switches use xXcCwW
. CDU switches use dDwW
.
Diagram of a cabinet with side-by-side switches in SHCD.
Identify the switches in the SHCD.
Look for the following:
x3000u22
x3000u23R
and x3000u23L
(two side-by-side switches)s1
and s2
instead of R
and L
Each spine or aggregation switch will follow this format: xXcChHsS
:
This format also applies to CDU switches that are in a River cabinet that make connections to an adjacent Hill cabinet.
xX
: where X
is the River cabinet identification number (the figure above is 3000
).cC
: where C
is the chassis identification number. This should be 0
.hH
: where H
is the slot number in the cabinet (height).sS
: where S
is the horizontal space number.Each leaf switch will follow this format: xXcCwW
:
xX
: where X
is the River cabinet identification number (the figure above is 3000
)cC
: where C
is the chassis identification number. This should be 0
.wW
: where W
is the slot number in the cabinet (height)Each CDU switch will follow this format: dDwW
:
If a CDU switch is in a River cabinet, then follow the naming convention in earlier “spine or aggregation switch” step instead.
dD
: where D
is the Coolant Distribution Unit (CDU)wW
: where W
is the management switch in a CDUEach line in the file must specify the type: Aggregation
, CDU
, Leaf
, or Spine
.
Each line in the file must specify the brand: Dell
, Mellanox
, or Aruba
.
Create the switch_metadata.csv
file with this information.
See the example files in the next section for reference.
switch_metadata.csv
filesExample: Two Aruba CDU switches, two Aruba leaf switches, four Aruba aggregation switches, and two Aruba spine switches:
Switch Xname,Type,Brand
d0w1,CDU,Aruba
d0w2,CDU,Aruba
x3000c0w31,Leaf,Aruba
x3000c0w32,Leaf,Aruba
x3000c0h33s1,Aggregation,Aruba
x3000c0h34s1,Aggregation,Aruba
x3000c0h35s1,Aggregation,Aruba
x3000c0h36s1,Aggregation,Aruba
x3000c0h37s1,Spine,Aruba
x3000c0h38s1,Spine,Aruba
Example: Two Dell CDU switches, two Dell leaf switches, and two Mellanox spine switches:
Switch Xname,Type,Brand
d0w1,CDU,Dell
d0w2,CDU,Dell
x3000c0w36,Leaf,Dell
x3000c0w38,Leaf,Dell
x3000c0h33s1,Spine,Mellanox
x3000c0h34s1,Spine,Mellanox
Example: Two Dell leaf switches and two Mellanox switches in the same slot number:
Switch Xname,Type,Brand
x3000c0w38,Leaf,Dell
x3000c0w36,Leaf,Dell
x3000c0h33s1,Spine,Mellanox
x3000c0h33s2,Spine,Mellanox