Skip to content
Breloc edited this page Jun 7, 2022 · 4 revisions

Graphvis

Graphvis is a Racktables plugin to generate logical and physical network topology with the network library of vis.js.

This plugin is depending on LinkManagement plugin to retrieve backlinks and therefore full network topology.

Install

Racktables >= 0.22.0

  1. Copy the graphvis folder and its content in the plugins directory of your RackTables installation
  2. In the plugins/graphvis directory, rename the file settings.dist.php to settings.php
  3. On Racktables web gui, under Configuration > Plugins, install the graphvis plugin

Racktables <= 0.21.5

This plugin won't work on theses Racktables versions :-(

Configuration

settings.php file

  • $LOGICALLINKTYPES : All link types used in your logical network, and their display settings.
  • $PHYSICALLINKTYPES : All link types used in your physical network, and their display settings.
  • $NETOBJ_JS_GROUPS : Mapping from 'objtype_id' (internal Racktables ID of object type) to Javascript node group, for display settings. Keys will be used to filter network objects to display on logical tab.
  • $NETOBJS_DISPLAY_SETTINGS : Display settings of each Javascript node group declared in $NETOBJ_JS_GROUPS

From Racktables web gui

Under Configuration > User interface, you'll find

  • GRAPHVIS_DEFLT_LOGICAL_TAGFILTER : The default tag ID to display on graphvis logical tab. Ie. "24" for tag id 24. If unset, no tag will be selected on page load
  • GRAPHVIS_LOGICAL_TAGS_ROOT : Only the children of this tag will be offered as tag filters for devices in Logical view. If unset all your tag tree will be offered
  • GRAPHVIS_PHYSICAL_ROWSTOEXCLUDE : Comma-separated list of row IDs to mark as hidden on physical tab load
  • GRAPHVIS_HIDE_CHILDREN_OBJECTS : Boolean indicating if container's hierarchy must be merged in root parent in logical topology. "yes" for TRUE, all other values are FALSE

Screenshots

Logical topology screen

Physical topology screen