Merge branch 'master' into 22052020_dev

This commit is contained in:
mattieserver
2020-05-24 18:30:59 +02:00
committed by GitHub
+18 -3
View File
@@ -1,7 +1,8 @@
# Netbox Topology Views Plugin
Create topology views/maps from your devices in netbox.
Support to filter on name, site and device role.
The connections are based on the cables you created in netbox.
Support to filter on name, site, tag and device role.
## Preview
@@ -9,9 +10,22 @@ Support to filter on name, site and device role.
## Install
The plugin is available as a Python package and can be installed with pip.
Run `pip install netbox-topology-views` in your virtual env.
Add 'netbox_topology_views' to the PLUGINS array in your django configuration file.
To ensure NetBox Topology Views plugin is automatically re-installed during future upgrades, create a file named `local_requirements.txt` (if not already existing) in the NetBox root directory (alongside `requirements.txt`) and list the `netbox-topology-views` package:
```no-highlight
# echo netbox-topology-views >> local_requirements.txt
```
Once installed, the plugin needs to be enabled in your `configuration.py`
```python
# In your configuration.py
PLUGINS = ["netbox_topology_views"]
```
Then run `python3 manage.py collectstatic --no-input`
@@ -62,6 +76,7 @@ Run `pip install netbox-topology-views --upgrade` in your venv.
Run `python3 manage.py collectstatic --no-input`
Clear you browser cache.
@@ -71,4 +86,4 @@ To view `/plugins/topology-views/` you need the following permissions:
+ dcim | device | can view device
+ dcim | site | can view site
+ extras | tag | can view tag
+ dcim | device role | can view device role
+ dcim | device role | can view device role