Draws a network patch panel from a list of port descriptions.
Compatible with DokuWiki
Similar to rack, switchpanel
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:
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.
The <patchpanel> tag supports the following parameters:
Parameter | Values | Description | Default |
---|---|---|---|
name | Text | The name for the patch panel, drawn on the left side | Patch Panel |
ports | Number | Total number of ports | 48 |
rows | Number | Number of rows in the panel | 2 |
groups | Number | Number of ports in groups horizontally. A bit of extra space is added after each group. | 6 |
rotate | 0 or 1 | Rotate the picture 90 degrees for vertically mounted patch panels | 0 |
switch | 0, 1 or 2 | Adjust 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:
Position | Description |
---|---|
1 | Port number. Lines that don't start with a number are ignored |
2 | Label. Drawn above the port. |
3 | Color. Optional HTML color code, starting with a #. If it doesn't start with #, it is considered part of the comment |
4 | Description. 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.