Skip to content

Topology

In LOGINventory it is possible to generate graphical representations of the network. These topology representations can be edited, saved and exported. These graphics show, for example, which device is connected to which port, which virtual machines are running on which host, or where devices are located on a building map.

Tip

All saved drawings can be synchronized directly with changes to the dataset, so that, for example, newly captured devices will also show up in the saved drawings when they are opened in the Topology Editor.

Graphical Representation of Network Connections

Topology representations are available in three different modes:

  • Dynamic Topology View is available directly on asset queries as a tab, provides some editing functionality, and can be used as a starting point to persist representations.
  • The Topology Viewer shows already created views and offers only the possibilities to filter, to search and to export.
  • The Topology Editor offers all available options, shows changes from previous states, allows to store spatial plans and much more.

Dynamic Topology View

To quickly generate a graphical representation, you can switch to the Topology tab when querying the Device entity (e.g. "Assets" nodes, "Switches" nodes, etc.). Then the result set of this query will be displayed in a graph.

Attention

The display of the network only makes sense if there is at least one switch in the result set of the query for which a MAC address table could be successfully read. Otherwise the devices are connected to an "Unknown Hub".

Important

In order for the changes made here to be saved, the "Save" button in the ribbon menu must be clicked. Thereupon the current graphic is saved and persisted as a node below the node "Topology" in the tree structure for later viewing and editing.
If the view is exited without saving, all changes are discarded and the next time the tab is visited, the topology is regenerated based on the data currently present in the result set.

Info

If assets are selected here or in the Topology Viewer, the known functionalities for storing properties, documents etc. are available via the widgets.

Topology Viewer

The topology viewer is used to view topology representations that have already been saved in the past. Several representations can be saved below the Topology node, e.g. to save different locations, floors or contents. As soon as one of these nodes is clicked, the topology viewer is opened in the data view.

Topology Editor

The Topology Editor can be opened for existing topologies below the Topology node by clicking Edit Topology in the Documentation ribbon menu.

In this mode, various adjustments can be made to the topology. The changes are saved by clicking the OK button at the bottom right.

Single Switch View

The Topology tab is also available on the node of a single switch (e.g. below the Switches node). It shows the direct surroundings of the selected switch: the switch together with all directly connected devices and the uplinks to neighbouring switches.

Alternatively, the option Single switch as source can be selected when creating a new topology via the Topology node to produce the same representation.

The selected switch is drawn as a wide band: its header line carries name, manufacturer, IP, MAC, the number of stack units resp. modules if there are several, the number of physical ports, the number of ports with an active link (provided the link state has been inventoried) and the number of link aggregations, below which the ports are shown in two rows (odd above, even below). Ports with an inventoried link state carry a dot (green = active, grey = inactive).

Ports that belong to a link aggregation are framed in colour and labelled LAG n between the two rows. If the members are not adjacent, every part gets its own frame together with the list of all members (e.g. 1 + 9), and a dashed line connects the parts.

A block labelled LAG with the link aggregation ports (trunks) whose member ports are not known follows on the far right, if present. This is the case when the network adapters read from the switch have no entries in the TeamInterfaceIndex column. Neighbouring switches are then arranged to the right of the band, connected through a virtual uplink port.

If the switch consists of several stack units or modules, the band is divided accordingly and, where the device reports it, labelled with the unit number and model.

Important

Here, too, the "Save" button must be clicked to persist the representation. The new node below Topology is automatically named "<switch name> - Topology".

Creation of a New Topology Representation

Two similar options are available to create a new topology representation:

  1. Navigation to a query with entity Device in the LOGINventory tree structure and opening the Dynamic Topology View: all elements contained in the result set of the query will be inserted into the graph.
  2. Navigation to the Topology node and creation using the ribbon menu. This representation will then open directly in the Topology Editor.

If a new topology is created via the second variant, two more steps follow:

  • First, a data source must be selected, to which the new topology should refer, this corresponds quasi to variant 1:
    Using the option Single switch as source, a single switch can be selected from the list instead; a Single Switch View showing the direct surroundings of that switch is then created.
  • After that, you can restrict which elements should be present directly on the drawing sheet, e.g. "switches only", "switches and physical devices only", etc. The selection made in the screenshot would ensure that switches, physical devices, as well as virtual machines, but no elements that were inventoried incorrectly (see node Error Analysis) are included on the drawing.

Important

Especially for databases with a lot of assets it can be very useful to restrict the shape type selection, otherwise it can lead to very long loading times.

If certain types have been excluded during the shape type preselection and these are to be added to the drawing afterwards, the button Refresh drawing must be selected in the ribbon menu Filter after further shape types have been selected. This will reload them onto the drawing sheet and they must then either be arranged manually or positioned automatically by Recreating the Shape Layout.

Restricting the Result Set of the Topology Representation

If not all devices, but only specific devices (e.g., those of a location) are to be displayed in a topology representation, a query must first be created that contains the desired result set (e.g., the devices of a location).

Attention

The query used for the topology must always contain at least one switch, as its MAC address table is used to create the connections.

To create the topology representation, you can either navigate to the corresponding query in the tree structure and then use the Dynamic Topology View, or reference the query in the dialog for Creating a New Topology Representation.

Available Functions

Filters

Availability:

Dynamic View Topology Viewer Topology Editor
✔️ ✔️ ✔️

In the Filter ribbon menu, you can select which device types should be visible or hidden on the topology. For example, clicking on Virtual Guests will hide all VMs, or clicking on Virtual Linux will hide only Linux VMs.

The color highlighting always shows which device types are currently displayed.

Important

As long as certain shapes were only hidden, they can be shown again at any time at the same position. However, if the button Recreate Shape Layout in the View ribbon is clicked, all currently hidden shapes will be removed from the drawing area. This is also indicated with a message box.

VLAN Filter

Availability:

Dynamic View Topology Viewer Topology Editor
✔️ ✔️ ✔️

If the drawing contains connections with VLAN information, the Filter ribbon menu additionally offers the VLAN dropdown list. It contains all VLANs that occur on the connections of the current drawing (e.g. 1 (Default)), as well as the entry without VLAN for connections without VLAN information. All selects or deselects all entries at once. The VLANs are taken from the MAC address table of the switches.

A device stays visible as long as at least one of its connections belongs to a selected VLAN. If all of its connections are in deselected VLANs, it is hidden. The following applies:

  • Inventoried switches always stay visible, so that the structure of the network is preserved.
  • Distributors that cannot be inventoried (hub) are filtered like other devices.
  • Devices that are thereby no longer connected to a switch (e.g. behind a hidden hub) are hidden as well.
  • Connections to hidden devices are hidden along with them.

Tip

The selection is stored together with the topology when it is saved. What is stored are the deselected VLANs, so VLANs that appear after a later inventory are visible automatically.

Which VLANs the individual connections carry can be shown directly on the connections with the VLAN Information option.

Recreate Shape Layout

Availability:

Dynamic View Topology Viewer Topology Editor
❌ ❌ ✔️

The initial creation of a topology attempts to position directly connected elements as close to each other as possible while generating no overlaps. However, if certain shape types have been removed or many new shapes have been added, it may be desired to have the shape arrangement completely regenerated.

Attention

This will cause the positions of all shapes to be adjusted by the algorithm. If you have added a room map as a background image, it may make more sense to drag and drop the shape arrangement manually.

Tip

If you want to discard all changes in the topology editor, you can click on the "Cancel" button in the bottom right corner.

Background Image

Availability:

Dynamic View Topology Viewer Topology Editor
❌ ❌ ✔️

A new image can be added via the View ribbon menu. This is suitable for adding room plans to the topology. These are then sensibly moved to the background via the ribbon menu Format.

Tip

If shapes have already been positioned on the spatial plan, careful consideration should be given before calling an shape layout recreation.

Shape Text

Availability:

Dynamic View Topology Viewer Topology Editor
✔️ ❌ ✔️

All elements in the topology have a description by default. Thus, for successfully detected devices, the name of the device is displayed by default; Windows clients and macOS devices additionally show the name of the owner in brackets (if any). Topologies that are already saved keep the descriptions they were created with. For unknown devices, the MAC address is shown, with the manufacturer name in brackets below it if it can be derived from the MAC address.

However, this displayed text can be edited. Other fields from the database can be used or free names can be assigned. To change the description of a shape, the shape must be selected on the drawing sheet. Then Edit Shape Text can be selected in the ribbon menu.

A new name pattern can be created in the Shape Text Editor using data fields, functions and free text. It is also possible to set whether this name pattern applies only to the selected shape, to all shapes of the same type (e.g. all Virtual Windows machines) or all devices of the same type (all successfully scanned devices vs. non-scanned devices).

By double-clicking on a function name or data field, it can be added to the naming pattern. There must always be a space between each command / expression.

Example

The expression [Name] ([DeviceInfo.ChassisType]) NL() Add your text here can generate the following description:

With the IsTrue function more complex conditions can be mapped: If not only a data field is to be checked for true in the condition, but a boolean expression, then this must be written in curly brackets, i.e.

IsTrue({Boolean-Expression}, true-path, false-path)
The boolean expression allows the following syntax:
{ left-Operand [<>|<|>|=] right-Operand }
Operands can be either numbers, strings, data fields or fixed values.

Example

The expression [Name] ([Owner.Name]) NL() IsTrue({ [DeviceInfo.MemorySizeGB] > 4}, lots of memory Speicher, little memory) NL() IsTrue([Custom.Active], active,not active) creates the following text:

Switch Representation

Availability:

Dynamic View Topology Viewer Topology Editor
❌ ❌ ✔️

If a switch has been selected in the graphic, the button can be used to change the display of a switch. You can switch between the small representation as hub, the medium representation as "managed" switch (managed) and the port representation.

In the Port display, an attempt is made automatically to calculate the correct number of available ports. If this number is not correct, the number of ports and rows can be adjusted manually in the Properties window under "Miscellaneous".

Example

The three different modes were selected in this example: The 1st switch (green asterisk) is in Hub mode, the second in Port mode (red asterisk), the third in Managed mode (yellow asterisk). Also, the option to set the port number and rows is highlighted in blue.

Changing Shape Representations

Availability:

Dynamic View Topology Viewer Topology Editor
❌ ❌ ✔️

If a shape has been selected in the graphic, a different shape representation can be selected via the properties:

VLAN Information

Availability:

Dynamic View Topology Viewer Topology Editor
✔️ ❌ ✔️

The ribbon menu can be used to select whether not only the port but also VLAN information should be displayed for connections between devices.

To show only the devices of certain VLANs, use the VLAN Filter in the Filter ribbon menu.

Interface Type

Availability:

Dynamic View Topology Viewer Topology Editor
✔️ ❌ ✔️

Instead of labeling a connection with the port name, the interface type can alternatively be displayed. This setting is particularly useful when the logical port numbers are not meaningful, for example, with stacked switches.

Speed

Availability:

Dynamic View Topology Viewer Topology Editor
✔️ ❌ ✔️

Via the ribbon menu (Show speed) the link speed of the switch port can additionally be displayed on the connections, e.g. 1 Gbit/s. If the connection runs over a link aggregation whose member ports are equally fast, 2 × 1 Gbit/s is shown; member ports without link do not count. Connections between two switches carry exactly one value: if the inventoried values of the two ends differ, the higher one is displayed. If no speed has been inventoried, the connection carries no value.

Highlighting of Changes

Availability:

Dynamic view Topology viewer Topology editor
❌ ❌ ✔️

When the topology editor is opened, the saved graphic is compared with the current dataset and any changes are highlighted graphically:

Change Description Sample Image
New Shape Green bordered shapes are drawn when elements are generally new on the drawing (e.g. because they were captured for the first time, or by adding a hidden shape type again (see Filters).
New Connection **Green connections ** are drawn if it is a completely new connection (a connection that has not been on the drawing sheet before - often used in conjunction with "New Shape").
Changed Connection The connection is drawn green dashed when a connection was changed / reassigned (e.g. device was connected to another port or switch).
Disconnected Connection Orange dashed shapes are drawn if the shape was found, but no connection to the previously connected switch exists anymore ( e.g. laptop was unplugged, switch was scanned afterwards).

Info

If a device has been successfully scanned in the past and then deleted from the database, this device is now shown in the topology as "Not scanned device": The information about the connection between switch and MAC address is still available, but no more data is known for this MAC address.

All newly added shapes appear in the Synced items menu. By selecting an entry, the focus is set on this shape on the drawing sheet and the position can be adjusted if required. Clicking on the checkmark in this menu "confirms" the new position and removes the entry from the Synced Items list.

Auto Size

Availability:

Dynamic View Topology Viewer Topology Editor
❌ ❌ ✔️

Depending on the selection at Auto-Size, the size of the drawing sheet dynamically adjusts to the positions of the shapes to be displayed.

Availability:

Dynamic View Topology Viewer Topology Editor
✔️ ✔️ ✔️

The name of a device can be entered via the search window. If a result line is selected from the suggestion list, the system zooms directly to the selected device and highlights it. In this way, devices can be identified quickly and easily even in large, unclear topology displays.

Export

Availability:

Dynamic View Topology Viewer Topology Editor
✔️ ✔️ ✔️

The topology view can be exported to PDF format using this function.

Shapes

Availability:

Dynamic View Topology Viewer Topology Editor
❌ ❌ ✔️

In the left menu Shapes different shape types are available, which can be dragged and dropped onto the drawing sheet. Likewise, the type "Connector" can also be selected to connect shapes on the drawing sheet.

Properties

Availability:

Dynamic View Topology Viewer Topology Editor
❌ ❌ ✔️

Depending on the selected element (shape or connection), different options are available in the Properties menu to further customize the appearance of the elements.

Deleted Items

Availability:

Dynamic View Topology Viewer Topology Editor
❌ ❌ ✔️

When shapes are deleted from the drawing sheet, they appear in the "Deleted Items" tab. It is also possible to restore from here.