Topology

Edition: Logical view COMMUNITYCommunity · editing, physical and virtual views PROPro ENTERPRISEEnterprise

What it does

Draws each site from NetBox: the logical view by Purdue level and zone, the physical view of rooms, racks, cabinets, field panels and cable paths, and the virtual view of hosts, clusters and VMs. Nothing is drawn by hand and nothing needs maintaining.

The three views are in the menu under Estate › Topology, Estate › Physical and Estate › Virtual. Each opens on a grid of site cards; click a card to open its drawing. If the site picker is set to one site, the view opens that site's drawing straight away.

FIG. 1 · A DIN-rail cabinet, as NetBox records itEach device on its rail, one leader to its NetBox name. A fictional site; the Physical view draws the same cabinet with each device's picture.

What each edition gets:

FeatureEdition
Logical view: look, search, filter by level, view options, zoom, legend, side panel, RefreshCOMMUNITYCommunity PROPro ENTERPRISEEnterprise
Moving devices, saved layouts, SVG and draw.io export, presentation modePROPro ENTERPRISEEnterprise
Physical view, cable schedule, documents and floor plansPROPro ENTERPRISEEnterprise
Virtual view (needs vCenter)PROPro ENTERPRISEEnterprise
Device imagesPROPro ENTERPRISEEnterprise

In Community, the locked buttons (Edit, Export, Present, Physical, Virtual) carry a Pro badge, and the Physical page shows as locked with the same edition badge.

What it needs in NetBox

Devices with roles, cables between them, and Purdue levels on VLANs or devices (see Purdue levels and security zones). For the physical view: racks, front and rear port mappings on patch panels, and optionally enclosure_kind to tell racks, DIN-rail cabinets and field panels apart. For the virtual view: the vCenter module.

In more detail:

In NetBoxUsed for
Devices, with a roleOne card per device. The role picks the icon and decides which devices are firewalls (see below).
Cables between device interfacesThe links. Power cables are left out of the logical view.
purdue_level on devices, VMs or VLANsThe level band each device sits in
security_zone on devicesThe zone boxes inside each band
Front and rear ports on patch panelsPaths through patch panels, drawn as one link from device to device
Racks, with locationsThe physical view: one enclosure per rack, grouped by location
enclosure_kind on racks (optional)Whether a rack is a 19-inch rack, a Cabinet (DIN rail) or a Field panel
Power ports, outlets and feeds, with cablesPower chains and the power findings
Device type front image (optional)The device picture. Without one, cinqstack draws one from its catalogue (see Image library).

Firewalls are the devices whose role slug matches the firewall roles of the segmentation standard (by default a slug containing firewall or fw). Hypervisors are matched the same way, by default esxi, hypervisor, vm-host, hyper-v, proxmox, xen or kvm, or any device that NetBox shows running VMs. Change both under Segmentation › Standard (see Segmentation).

Enclosure kind is decided in this order: the enclosure_kind field when set; then a rack role containing panel, field or junction (field panel) or cabinet, enclosure or din (cabinet); then a wall-cabinet or wall-frame form factor (cabinet); then a rack with nothing mounted at a U position (cabinet). Anything else is a 19-inch rack.

Devices without a level. If a device has no purdue_level, the logical view works one out from the classification rules and the cabling, and marks it inferred. Nothing is written to NetBox. Patch panels, media converters, DIN rails, blanking panels and cable managers are treated as cabling, not as devices: a converter between two devices becomes part of the link between them.

Setting up

Nothing to set up: open Topology and pick a site. Press Refresh after large NetBox changes. In Pro, arrange the drawing and Save the layout, or export it as SVG or draw.io.

How fresh the drawing is

Reading a large site from NetBox takes time, so cinqstack keeps a copy of each site's logical and physical drawing. The chip beside Refresh shows when the copy was read, in the system's timezone (for example 13 Nov 16:07; hover for the full date and time), or updating… when NetBox has changed since and the worker is reading it again.

Saved layouts PROPro

The automatic layout puts each device in its level band, with linked devices above and below each other. To arrange it yourself:

  1. Click Locked (or press E) to unlock the drawing. Dragging then moves devices instead of panning. With a device selected, the arrow keys nudge it.
  2. Hide levels with the level chips if you wish.
  3. Click Save, or the copy button to save under a new name. Give the layout a name (for example Control room wall). Tick Open this layout by default for everyone to make it the site's default.

Unsaved layout changes appears in the header until you save. View options (cables, grid, zones, colours) are kept for you automatically and need no saving. Pick a saved layout from the layout list, or Automatic (Purdue) for the automatic one. The reset button goes back to the automatic arrangement. The bin button deletes the selected layout.

Only an operator or admin can save or delete layouts. Every user sees them.

Export PROPro

Export ▾ in the page header holds the exports:

The draw.io file stands on its own. Devices keep their positions as on screen. Every device's picture is embedded: its NetBox device-type image, or else cinqstack's own drawing of it. A picture that is not a real image is skipped and the device gets its drawing instead; the message after the export counts skipped pictures. Every device also carries its fields as data, whatever its label shows: name, role, device type, manufacturer, status, primary IP, DNS name, serial, Purdue level, zone, site, location, rack and position, and its NetBox link. In draw.io they show when you hover over the device and under right-click › Edit Data.

The dialog sets what is drawn:

OptionChoicesDefault
Under each device nameIP address, DNS name, device type, location, rack / position, manufacturer, Purdue levelIP address and DNS name
Statusflag non-active only, show on every device, or hideflag non-active only
Layoutgrouped by level and zone, or flat (devices and cables only)grouped
Insert patch panels on routed cablesA cable that runs through patch panels or other passive boxes gets each one as a small dashed box on the line between its ends, and the cable is split into its hops.off
Include hidden devicesHidden devices are included, at their positions.off

Your last choices are remembered in this browser. While the file is built, the menu item says Preparing draw.io file…; then the download starts and a message says Exported N devices, M cables.

Reading the results

The logical topology of a site by Purdue level. One cable skips a level (L2 to L4); it is drawn in red and listed under To look at.
The logical topology of a site by Purdue level. One cable skips a level (L2 to L4); it is drawn in red and listed under To look at.

Click a device to focus its connections; hover for its reachability. Keyboard: P presentation mode, F fit, / search, Esc clear. In the physical view, click a switch to trace every cable path through the patch panels, with cable labels and lengths; the cable schedule downloads as Excel.

The logical view

Each band is a Purdue level, from Level 5 at the top to Level 0, with Unclassified at the bottom. Zones are boxes inside a band. A device with an inferred level has its level chip marked as inferred.

Each link is coloured by what it joins (Colour by › Segmentation, the default):

LinkMeaning
Same levelBoth ends at the same level
Adjacent levelsThe ends are one level apart (3.5 counts as a level)
Through a firewallTwo or more levels apart, but one end is a firewall
Hypervisor uplinkA hypervisor's link to a level its VMs belong to, or next to it
Skips a levelTwo or more levels apart, with no firewall or hypervisor at either end
Unclassified endAt least one end has no level

Choose Colour by › Cable type to colour links by cable type instead.

The toolbar has:

ControlWhat it does
Search box (/)Finds a device by name, model or IP. Enter centres on the first match.
Level chipsClick a level to hide or show it
ViewCables, Grid, Snap, Zones; cable style Square, Curved or Straight; Colour by
Zoom buttons, FZoom in and out, fit the drawing
Legend (L)Explains the colours
Side panel (S)Hides or shows the side panel

On the logical, physical and virtual views, drag the side panel's left edge to make it wider or narrower (or focus that edge and use the arrow keys); each view keeps the width you chose, and a double-click on the edge goes back to the default, which follows the width of the window. In a narrow panel, its tables show each row as a short block, so nothing is cut off.

With no device selected, the side panel shows the site: devices, cables and how many skip a level, the Inferred levels (with Review and apply, which opens the classification preview for the site), a To look at list of links that skip a level and devices with no Purdue level, and the Saved layouts. When every link is fine it says Every cable stays within adjacent levels and every device has a level.

Select a device to open its device panel, the same one as on Devices, with its front image. Under the image the logical view adds To look at, Connections (its links with the kind of each) and Power (its power chain). Click a cable to see both ends: interface, mode, VLANs, speed. The cable window warns about:

The physical view PROPro

The physical view draws each location with its racks, cabinets and field panels, as they are built in NetBox. The header shows <n> open or broken paths or every cable path complete, and <n> overlapping units when two devices occupy the same rack unit.

ControlWhat it does
Front / RearWhich face of the racks to draw
All cablesShows every cable path at once
Floor planPuts a floor plan drawing under the rooms (see below)
Cable styleSquare, Curved or Straight
Export ▾Cable schedule (Excel) or (CSV): every cable; Drawing (SVG); draw.io: racks as draw.io rack cabinets (numbered as the rack), cabinets and locations as containers, cables through their patch panels or end to end, with the same options dialog as the topology export
Lenses (V)Colour by and overlays (see below)
Compare racksOpens Compare racks with this site's racks to choose from
PresentShow the drawing full screen
ImagesOpens Device images

Click any device to trace its cables end to end, through every patch panel, and open its device panel, with the Cable paths and Power sections under its front image. Below the drawing, Cable paths lists every path. Paths that do not end on a device are listed first under Open or broken, with how far they get and the problem: loop, ends at a panel port with nothing behind it or incomplete. Power lists each power port and what feeds it.

The cable schedule has one row per cable: cable, label, type, colour, length, status, and for each end the location, rack, U, device and port, plus the end-to-end circuit for cables that run through a patch panel.

Arrangements. Like the logical view, an operator or admin can unlock the drawing (E), move racks, rooms and footprints, and save the arrangement under a name.

Floor plans and documents. An operator or admin can upload:

Documents are listed under Documents and floor plans, where an operator or admin can Remove them.

To open one device on the physical drawing, type its name or model in Find a device or model above the drawing, then click it to see its cable paths.

Lenses. Colour by tints every device by Purdue level, Security zone, Sync state, Highest open finding, Firmware version, Affected by an advisory or Device role. Each rack and cabinet sums up its devices in its header, and on the floor plan a footprint takes its worst or most common value. The legend docks above the drawing; click a row to show only those devices, and click it again to show all. Overlays add a badge per rack or cabinet for % full (with a heat tint), Open or broken cable paths, Unclassified devices and Open findings.

The physical view on the floor plan: the core switch in the server room, with its cable paths listed in the panel.
The physical view on the floor plan: the core switch in the server room, with its cable paths listed in the panel.

Show impact

Right-click a device, a patch panel or a cable, on the logical or the physical view, and choose Show impact. The drawing lights what would lose its path upstream and dims the rest, and a card says it in a sentence, for example If this device fails: 9 devices in Supervisory, L2, lose their path to Level 3.5. The card lists the cells and levels hit and every affected device as a button that finds it; Zoom to impact and Show all move the view, and Esc clears it. Drag the card by its header to see the drawing under it, or focus the header and use the arrow keys; it opens in the same place for the next impact until you leave the page, and a double-click on its header puts it back.

Upstream is the highest Purdue level in the largest cabled part of the site; without levels, its most connected device. A device that has no path upstream even now is not counted. Paths through patch panels count as one link, so a failed panel cuts every path through it.

Compare racks PROPro

Physical › Compare racks draws up to eight racks or cabinets side by side, from one site or several, with the same faceplates as the physical view. Choose racks lists every rack and cabinet by site and room, with a search box. With nothing selected, the side panel is a table of the chosen enclosures: rack units used and free, how full (DIN-rail cabinets say DIN rail), devices, and open findings on their devices. Click a name to find its enclosure; click a device for its panel.

The virtual view PROPro

The virtual view draws the hypervisor hosts that the vCenter and Hyper-V connectors collect, their VMs by port group, and the switch ports each host is cabled to, with every VLAN coloured by its level. It needs the vCenter or Hyper-V connector turned on and at least one of its jobs run. Until then the page says which step is missing, with a link to it: no vCenter connected (Add a vCenter connection), no job (Create a vCenter job), a job that has not collected yet (Run now), or hosts found but none at this site (how many, at how many other sites, how many have no site yet, and a link to the job's scope rules). A host belongs to the site its cluster's scope rule names.

Where no vCenter job covers a site, the virtual view lists the virtual machines NetBox itself holds for it, with cluster, host, address and level, searchable and in pages. Host uplinks, port groups and the failover check need a vCenter or Hyper-V connector.

The header shows how many issues need a look, or zones apart, VLANs carried, clusters can lose a host when there are none, and a link to VM changes waiting for review. The toolbar arranges VMs By level or By port group, shows All, OT and DMZ or IT, and Hosts with issues fades the hosts with nothing to look at.

Findings it raises

Devices whose redundant power supplies are not really redundant (physical view), and risks in the virtual infrastructure (virtual view). These go to the Findings inbox PROPro.

Links that skip a level, unclassified devices, open or broken cable paths and overlapping units are shown on the drawings and in the side panel, not as findings from the topology. Open or broken paths are a count on the physical page. The finding for links that skip levels comes from the segmentation control Links only carry adjacent levels; see Segmentation.

FindingSourceSeverityRaised when
<device>: every power supply depends on <PDU, UPS or feed>Power redundancyhighA device with two or more power supplies has all of them reaching the same PDU, UPS or feed
<device>: redundant power supply not connectedPower redundancymediumOne supply is cabled and another has no power cable in NetBox
<host> runs an IT VM next to OT VMs (<levels>), or the same with a DMZ VM next to control VMsVirtual infrastructurehigh for IT beside OT; medium for the DMZ beside control levelsOne hypervisor runs VMs of more than one zone
<VM> has adapters in OT and IT networksVirtual infrastructurehighA VM has network adapters at OT and IT levels
NetBox port VLANs don't match the VMs on <host>Virtual infrastructuremedium when the difference points to another zone, otherwise lowA host's VMs use a VLAN that the switch port it is cabled to does not carry in NetBox
<cluster> is <n> short to restart its VMs if a host fails or <cluster> has no second hostVirtual infrastructurehigh with OT VMs, else mediumThe cluster's running VMs need more memory than is left after losing its largest host

Power findings are read from the stored physical drawing, so they follow the drawing's freshness. Virtual findings run only while the vCenter connector is on. Each finding resolves itself on the next scan after the cause is fixed in NetBox or vCenter. Each links back to the drawing with the device, host, VM or cluster selected.

Limits

The drawing is only as good as the cables in NetBox: an uncabled link does not appear. A trunk is one cable; VLAN separation on switches is not drawn per VLAN.