2020-05-14 18:26:48 +02:00
2020-04-16 14:22:42 +02:00
2020-04-15 16:41:13 +02:00
2020-04-15 16:41:13 +02:00
2020-04-16 15:23:52 +02:00
2020-04-16 15:23:52 +02:00
2020-04-16 15:23:52 +02:00
2020-04-24 12:57:47 +02:00
2020-05-14 18:19:16 +02:00

Netbox Topology Views Plugin

Create topology views/maps from your devices in netbox. Support to filter on name, site and device role.

Preview

preview image

Install

Run pip install netbox-topology-views in your virtual env.

Add 'netbox_topology_views' to the PLUGINS array in your django configuration file.

Then run python3 manage.py collectstatic --no-input

Custom field: coordinates

There is also support for custom fiels. If you create a custom field "coordinates" for "dcim > device" with type "text" and name "coordinates" you will see the same layout every time.

Configure

If you want to override the default values configure the PLUGINS_CONFIG in your netbox configuration.py.

Example:

PLUGINS_CONFIG = {
    'netbox_topology_views': {
        'device_img': 'router,switch,firewall',
        'preselected_device_roles': 'Router, Firewall'
    }
}
Setting Default value Description
device_img 'access-switch,core-switch,firewall,router,distribution-switch,backup,storage,wan-network,wireless-ap,server,internal-switch,isp-cpe-material,non-racked-devices,power-units' The slug of the device roles that you have a image for.
preselected_device_roles 'Firewall,Router,Distribution Switch,Core Switch,Internal Switch,Access Switch,Server,Storage,Backup,Wireless AP' The full name of the device roles you want to pre select in the global view.

Custom Images

You upload you own custom images to the netbox static dir (static/netbox_topology_views/img/). These images need to be named after de device role slug and have the .png format/extension. If you add your own image you also need to add the slug to the device_img setting.

Use

Go to the plugins tab in the navbar and click topology or go to NETBOX_URL/plugins/topology-views/ view your topologies

S
Description
No description provided
Readme Apache-2.0
4.5 MiB
Languages
Python 65.9%
HTML 19.5%
JavaScript 10.7%
SCSS 2.2%
CSS 1.7%