Image library

Edition: Built-in catalogue COMMUNITYCommunity · overrides PROPro ENTERPRISEEnterprise · vendor packs add-on, built per vendor · two included in Enterprise, on request

What it does

Every device gets a picture: in the topology, in rack and cabinet drawings, in the physical view and in the device's side panel. cinqstack picks the picture for each NetBox device type in this order:

  1. Device type image. The front and rear images on the NetBox device type always win.
  2. Chosen here. An admin picks the closest built-in family for a device type. PROPro
  3. Matched. Otherwise cinqstack matches a family from the device role, model and height.

The built-in catalogue COMMUNITYCommunity

The built-in catalogue is a set of drawings grouped by kind of device (for example control equipment, power and passive equipment, and a set of Check Point gateways). Each family has a 19-inch front and rear drawing where it makes sense, a DIN-rail or panel-mount drawing, and a topology icon. A device with no NetBox image gets the drawing of the family it matches, so nothing is left blank.

Overrides PROPro

On Physical › Device images, an admin can choose the Image family for any device type when the automatic match is wrong, and the Rack fit: how the picture fills its rack slot. Overrides change cinqstack's drawing only; nothing is written to NetBox.

Vendor image library PROPro

A vendor image library holds exact front and rear panel images of one vendor's hardware. cinqstack puts them on your NetBox device types as their front and rear images, so they show in NetBox's own rack elevations as well as in cinqstack. Each vendor's images are a licence add-on, a vendor image pack, for Check Point, Cisco, Fortinet, Rockwell Automation, Dell, APC or Siemens hardware. Vendor image packs are built per vendor; Enterprise includes two, delivered on request.

An image is used only when the device type's part number or model matches the image's model exactly. Matching ignores case, spaces, hyphens, underscores and dots, and knows a few vendor names for the same product, such as Check Point SG6200 = Quantum 6200 = 6200, Fortinet FortiGate 100F = FG-100F, and Cisco ISR4431/K9 = ISR4431. The only looser match is a rear drawing made for a whole family of models, used for the rear only and only when no exact rear exists. Nothing else is guessed: anything without a match is listed as unmatched.

What it needs in NetBox

Setting up

Open Physical › Device images. The topology page and the physical view also have a Device images button. With Pro or Enterprise, everyone who is signed in can look at the page; only admins can change it.

Correct an automatic match PROPro

In Your device types, use the Image family list on the device type's row. Automatic shows the family cinqstack matched; any other choice is marked "chosen by an admin". Choose Automatic again to undo it.

For rack-mounted device types, Rack fit is Auto, Stretch, Left, Right or Centre. With Auto, narrow pictures sit on a rack-mount kit.

Install a vendor image library PROPro

  1. Make sure the licence holds the vendor's pack (licence add-on pack.<vendor>).
  2. Put the pack (a folder holding images.json and its PNG files) in the image-library folder inside cinqstack's data folder. On Docker that is in the data volume.
  3. On Physical › Device images, the Vendor image library box now counts the front and rear images per vendor. Choose Preview matches.
  4. On Vendor image library, check the list of Images to add. Each image says what it matched on: by part number, by model or by family drawing.
  5. Optionally tick Also try the NetBox community device-type library for the device types without a vendor image.
  6. Choose Add N images to NetBox (admins only).

Images already on a device type are kept. To replace them as well, choose Also replace existing images… first; images that would replace one are marked replaces current. Keep existing images switches back.

The same can be done on the server:

cinqstack device-images            # preview only
cinqstack device-images --apply    # upload

The command also works in Community. It uploads only the packs the licence names and reports the others as locked; the free NetBox community library (--community) is the fallback for the rest.

Options: --overwrite (also replace images already there), --community (try the NetBox community library for the rest), -v (list every match and miss), --library <folder> (default: image-library in the data folder), and --url, --token-env, --insecure to use another NetBox than the configured one.

Reading the results

Your device types lists every NetBox device type, the most used first, with its height (U), number of Devices, the Front and Rear pictures, the Topology icon, the Image family and the Rack fit. A picture marked device type comes from NetBox. "DIN / panel mount" means the family has no rear view. Below the table, the catalogue shows every family's drawings and the topology icons.

Device images: each device type with its front image from NetBox and its automatically matched image family.
Device images: each device type with its front image from NetBox and its automatically matched image family.

Vendor image library starts with four counts: images to add (and on how many device types), sides that already have an image, device types with no vendor image, and device types from other vendors. Then:

After adding, the page says Added N images from the vendor library (and how many came from the community library), followed by any that failed with NetBox's reason. Each run is recorded in Settings › Audit log.

Racks and cabinets in the Physical view, with the faceplates from an image library and the cables between them.
Racks and cabinets in the Physical view, with the faceplates from an image library and the cables between them.

Findings it raises

None.

Limits