Table of Contents

PatchPanel Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" unknown
  • 2023-04-04 "Jack Jackrum" unknown
  • 2022-07-31 "Igor" no
  • 2020-07-29 "Hogfather" unknown

plugin Draws a network patch panel from a list of port descriptions.

Last updated on
2015-02-03
Provides
Syntax
Repository
Source

Similar to rack, switchpanel

Tagged with network, server, wiring

Description

This plugin is depreciated in favor of Switch Panel Plugin

This plugin is for network administrators to document patch panels. It draws each port in the patch panel, with customized labels and comments.

Features:

Example

Here is an example of a patch panel:

<patchpanel ports=24 name="Top_of_Rack" rows=2 groups=6 rotate=0>
# Port Label (#COLOR) Comment
1 Uplink #ff0000 Connects to firewall
2 2 Office 101
3 3 Office 102
4 4 Office 103
5 5 Office 104
24 24 Reception desk
</patchpanel>

This creates a 24 port patch panel, with 2 rows of ports, and ports grouped in sets of 6. Inside the patchpanel tags, each line has a port number, label, and optional color code. The rest of the line is treated as a comment and shown in the tooltip when you hover over a port.

Parameters

The <patchpanel> tag supports the following parameters:

ParameterValuesDescriptionDefault
nameTextThe name for the patch panel, drawn on the left sidePatch Panel
portsNumberTotal number of ports48
rowsNumberNumber of rows in the panel2
groupsNumberNumber of ports in groups horizontally. A bit of extra space is added after each group.6
rotate0 or 1Rotate the picture 90 degrees for vertically mounted patch panels0
switch0, 1 or 2Adjust for odd/even port numbering. If 1, port numbering changes to match switches. If 2, same as above, but starting from bottom to top. (e.g. 3Com/HP)0

The port descriptions have 4 fields, separated by spaces:

PositionDescription
1Port number. Lines that don't start with a number are ignored
2Label. Drawn above the port.
3Color. Optional HTML color code, starting with a #. If it doesn't start with #, it is considered part of the comment
4Description. The rest of the line is considered part of the description. It can include basic dokuwiki syntax formatting. The description is shown on the tool tip when you hover over a port.

Labels with spaces require double quotes around them.

If the panel is too wide for your fixed width template, it will add a scrollbar under the patch panel.

Change log and bug reports available on github.

ToDo/Wish List