Skip to content
RackTraceDocs

Importing racks and cabling from a drawing

On this page

Already have your racks and cabling in draw.io, Visio or Lucidchart? Import the drawing instead of building everything again. RackTrace reads the racks, the devices in them and the lines between the devices, shows what it found, and makes it all at once after you have checked it.

Which files#

ToolFile
draw.io / diagrams.netThe .drawio file, also .xml and .drawio.svg. Compressed pages are fine.
VisioA .vsdx drawing. An old .vsd: open it in Visio and save it as .vsdx first.
LucidchartFile › Export › Visio (VSDX), and import that file.
Other toolsGliffy, OmniGraffle and others: open or export the drawing in draw.io or as Visio.

A PDF or a picture has no shapes to read: import the original drawing.

Importing#

  1. Open the room the racks go to and click Import from a drawing (under Racks).
  2. Choose the file, or drop it on the dialog.
  3. Check what was found (see below) and change what is not right.
  4. Click Import. Everything is made in one go: when something cannot be made, nothing is, and the dialog says what and why.

After the import, Open in the rack editor opens the first rack, and Undo import removes the racks and devices of this import again, with their cables.

What is found#

  • Racks: the rack shapes of draw.io (More shapes › Networking › Rack) and Visio, or a tall shape with “rack” or “cabinet” in its name. Their height in U comes from the drawing; text such as 42U or 42 HE in the rack sets it.
  • Devices in a rack: what is drawn in the rack, at the height where it is drawn. Its category comes from the shape (patch panel, switch, server …), its text or an ID such as SW01, PP-A or FW1. Shape data such as serial number, asset number and IP address come along.
  • Devices outside the racks: only the shapes a line goes to, such as wall outlets, floor boxes and PCs. A cloud or “Internet” is left out unless you tick it.
  • Cables: every line glued to a device at both ends. A line with a loose end, or one that is not glued, is listed under Not imported from the drawing.
  • Names: the first line of a text is the ID when it looks like one (SW01), the rest the name. A line with a model number (Cisco C9300-48P) is used to find the template, not as the name. A text beside the rack at the height of a device names that device.

Checking and changing#

The dialog has three parts:

  • Racks: per rack its drawing with the devices at their U, and ID, Name, Height and Room. Untick a rack to leave it out, with its devices. Click a device in the drawing to find it in the list.
  • Devices: per device where it goes, ID, Name and Template. RackTrace suggests the template of the device library whose model or part number is in the text (such as C9300-48P), and otherwise a generic one of the right kind, height and number of ports. Another template… chooses any template; No template (own ports) makes the device with the number of ports in Ports. A device that clashes with another one in the rack goes to the first free U.
  • Cables: per cable both ends with their port. Click a port to choose another one. Label and Type can be changed.

With more than one page, the pages are shown at the top: untick the ones you don't want, such as a back view of the same rack. Devices outside the racks go to sets the room for outlets and endpoints.

The IDs must be valid (letters, digits and . _ - + #). An ID that already exists in the room or rack gets -2, -3 …

Ports#

  • Written at the line: a label at an end of the line (draw.io), or text on the line such as Gi1/0/24 – 12, 24 <-> 12 or X1 → F01. Gi1/0/24 finds port Gi1-0-24 or 24; (R) or rear after it means the rear of a pass-through port.
  • A drawn port: a line glued to a small shape with a number inside a device goes to that port.
  • Otherwise: the first free port of the right kind — fibre for a fibre cable, copper otherwise. Ports named in the drawing go first.
  • Patch panels and outlets: a line to another patch panel or outlet elsewhere is building cabling and goes to the rear; a line to a switch, server or PC goes to the front. See Pass-through ports.

A cable without a free port is shown in red and is not imported; choose a port, or a template with more ports.

Cable details#

  • Type: from the text of the line (Cat6a, OM4, OS2, DAC …), otherwise what fits the port, as in the rack editor.
  • Colour: the colour of the line, as the nearest cable colour. A black or grey line gets the usual colour for its type.
  • Label: text such as C-0042 on the line; otherwise the next free label.
  • Planned: a dashed line becomes a planned cable.
  • Other text on the line is kept in the cable's notes.

History#

Every rack, device and cable gets its own entry in the history, as when you make it by hand. The room gets one more entry that says what was imported from which file. Importing needs the right to change the documentation; cables also need the Cables right.

Something missing or not right? Let us know.