Use the CSM Automatic Network Utility (CANU) to validate the Shasta Cabling Diagram (SHCD). SHCD validation is required to ensure that Plan of Record (PoR) network configurations are generated. This is an iterative process to create a model of the entire network topology connection by connection.
canu --version
to see version.Open existing SHCD in Excel.
Save a new copy with an incremented revision number and make sure the updated version is being edited.
Several worksheets (tabs) are used to store the topology of the management network.
The SHCD must be validated in the following order:
10G_25G_40G_100G
tab (or some variation thereof) contains switch-to-switch connections, as well as NCN server connections to the switchMTN_TDS
, Mountain-TDS-Management
, or some variation thereof for Mountain cabinetsPDU
Validate the 10G_25G_40G_100G
tab and select the upper left corner and lower right corner of the spreadsheet with the Source Rack Location Slot Port Destination Rack Location Port
information.
This is a block of data on the right hand of the worksheet and is not the calculated values used for cable labels on the left-hand side.
In this example above, the 10G_25G_40G_100G
worksheet has the upper left and lower right corners of I37
and T107
respectively.
Note, the above screenshot is trimmed and only the first full 68 rows are shown.
Use CANU to validate this worksheet.
ncn# canu validate shcd -a full --shcd ./HPE\ System\ Hela\ CCD.revA27.xlsx --tabs 10G_25G_40G_100G --corners I37,T107
The -a
or –architecture
parameter can be set to tds
, full
, or v1
(case insensitive):
tds
– Aruba-based Test and Development System. These are small systems characterized by Kubernetes NCNs cabled directly to the spine.full
– Aruba-based Leaf-Spine systems. These are usually customer production systems.v1
– Dell and Mellanox based systems of either a TDS or Full layout.CANU will ensure that each cell has valid data and that the connections between devices are allowed. Errors will stop processing and must be fixed in the spreadsheet before moving on. A “clean run” through a worksheet will include the model, a port-map of each node and may include warnings. See a list of typical errors at the end of this document to help in fixing the worksheet data.
Check for errors after validating the worksheet.
ncn# canu validate shcd -a full --shcd ./HPE\ System\ Hela\ CCD.revA27.xlsx --tabs 10G_25G_40G_100G,NMN --corners I37,T107,J15,T16 --log DEBUG
A worksheet that runs “cleanly” will have checked that:
Nodes are “architecturally allowed” to connect to each other.
No overlapping ports specified.
A worksheet that runs cleanly will have checked that:
Nodes are architecturally allowed to connect to each other.
No overlapping ports specified.
Node connections can be made at the appropriate speeds.
In addition, a clean run will have the following sections:
SHCD Node Connections – A high level list of all node connections on the system.
SHCD Port Usage – A Port-by-port detailed listing of all node connections on the system.
Warnings:
A list of nodes found that are not categorized on the system.
Note: This list is important as it could include misspellings of nodes that should be included!
A list of cell-by-cell warnings of misspellings and other nit-picking items that CANU has autocorrected on the system.
Critical: The Warnings
output will contain a section headed Node type could not be determined for the following
. This needs to
be carefully reviewed because it may contain site uplinks that are not tracked by CANU, and may also contain misspelled or miscategorized
nodes. As an example:
For example:
Node type could not be determined for the following.
These nodes are not currently included in the model.
(This may be a missing architectural definition/lookup or a spelling error)
--------------------------------------------------------------------------------
Sheet: 10G_25G_40G_100G
Cell: I96 Name: CAN switch
Cell: I97 Name: CAN switch
Cell: O87 Name: CAN switch
Cell: O90 Name: CAN switch
Cell: O93 Name: CAN switch
Cell: O100 Name: CAN switch
Cell: O103 Name: CAN switch
Cell: I38 Name: sw-spinx-002
Sheet: HMN
Cell: R36 Name: SITE
Sheet: NMN
Cell: P16 Name: SITE
From the above example, two important observations can be made:
CAN and SITE uplinks are not in the “clean run” model. This means that these ports will not be configured.
Critically, cell I38
has a name of sw-spinx-002
. This should be noted as a misspelling of sw-spine-002
and corrected.
Today CANU validates many things, but a future feature is full cable specification checking of nodes (e.g. which NCN ports go to
which switches to properly form bonds). There are several CANU roadmap items, but today a manual review of the SHCD Port Usage
connections list is vital. Specifically, check:
Both Management NCNs (manager, worker, storage) and Application Nodes
(UANs, viz
, and others) follow Plan of Record (PoR) cabling.
See Cable Management Network Servers.
Switch pair cabling is appropriate for VSX, MAGP, etc.
Switch-to-switch cabling is appropriate for LAG formation.
Other nodes on the network seem sane.
Once the SHCD has run cleanly through CANU and CANU output has been manually validated, changes to the SHCD should be committed so that work is not lost, and other users can take advantage of the CANU changes.
Add an entry to the changelog on the first worksheet (Summary
).
The changelog should include:
Upload the SHCD to an official storage location after it has been validated.
Either of the following options can be used:
customer communication
(CAST ticket for customers)json
file.json
file is used to generate switch configurations.ncn# canu validate shcd -a v1 --shcd ./test.xlsx --tabs 40G_10G,NMN,HMN --corners I12,S37,I9,S20,I20,S31 --json --out cabling.json