opaxlattopology_cust

Note: This tool has been deprecated.

Customizable script for documenting cluster topology. Provides an alternative to the standard script (see opaxlattopology). Edit the sample topology_cust.xlsx to represent each external link in a cluster, then modify opaxlattopology_cust to translate the alternate CSV form to the standard CSV form used by opaxlattopology.

Syntax

opaxlattopology_cust [-t topology_prime] [-s topology_second] [-T topology_out] 
[-v level] [-i level] [-K]

Options

--help

Produces full help text.

-t topology_prime

Specifies the primary topology CSV input file. Specifies the primary CSV input file and must be present.

-s topology_second

Specifies the secondary topology CSV input file. Specifies a secondary CSV input file. Appended to the primary for processing.

-T topology_out

Specifies the topology CSV output file. Specifies the CSV output file name and must be specified.

-v level

Specifies the verbose level. Range = 0 - 8, default = 2.

0

No output.

1

Progress output.

2

Reserved.

4

Time stamps.

8

Reserved.

-i level

Specifies the screen output indent level. Range = 0 - 15, default = 0.

-K

Specifies DO NOT clean temporary files.

Prevents temporary files from being removed. Temporary files contain CSV data used during processing. Temporary files are not needed after the standard-format CSV file is created, but they can be retained for subsequent inspection or processing.

Description

Each link contains source, destination, and cable fields with one link per row of the spreadsheet. Link fields must not contain commas. Source and Destination fields are each a concatenation of name and port information in the following forms. Names not of the form ib or C are assumed to be host names.

The following lists the node type and source/destination.

Host: hostN where N is a host number.

Edge Switch: opaNpN where N is a switch/port number.

Core Leaf: Cn Lnnn pN where N/n is a host/switch/port number.

Cable values, CableLength, and CableDetails are optional and have no special syntax. If present, they are placed in the standard-format CSV file exactly as they appear. CableLabel is created automatically by opaxlattopology_cust as the concatenation of Source and Destination.

Rack Group and Rack are not supported in topology_cust.xlsx. Therefore, opaxlattopology_cust leaves these fields empty in the standard-format CSV file.