Compare commits
16
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7b8da219d1 | ||
|
|
8c87506043 | ||
|
|
8179fa5ab4 | ||
|
|
2b3f37aa62 | ||
|
|
962e219325 | ||
|
|
2387e5d0cc | ||
|
|
0bcbd35082 | ||
|
|
0ce1c6df13 | ||
|
|
7dcd72a3f9 | ||
|
|
616c0ab1b5 | ||
|
|
8385dc23f8 | ||
|
|
449fdf3f80 | ||
|
|
b53ceed2ae | ||
|
|
064751f727 | ||
|
|
deedee78bd | ||
|
|
683e125cd5 |
@@ -4,7 +4,7 @@ class TopologyViewsConfig(PluginConfig):
|
||||
name = 'netbox_topology_views'
|
||||
verbose_name = 'Topology views'
|
||||
description = 'An plugin to render topology maps'
|
||||
version = '1.0.1'
|
||||
version = '1.0.0-beta.1'
|
||||
author = 'Mattijs Vanhaverbeke'
|
||||
author_email = 'author@example.com'
|
||||
base_url = 'netbox_topology_views'
|
||||
@@ -15,7 +15,7 @@ class TopologyViewsConfig(PluginConfig):
|
||||
'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'],
|
||||
'allow_coordinates_saving': False,
|
||||
'preselected_tags' : [],
|
||||
'enable_circuit_terminations': False,
|
||||
'enable_circuit_terminations': True,
|
||||
'draw_default_layout': False
|
||||
}
|
||||
|
||||
|
||||
@@ -66,7 +66,6 @@ def get_topology_data(queryset, hide_unconnected):
|
||||
device_has_connections = True
|
||||
else:
|
||||
if settings.PLUGINS_CONFIG["netbox_topology_views"]["enable_circuit_terminations"]:
|
||||
if link_from.termination_a_type.name == "circuit termination":
|
||||
if link_from.termination_a.circuit.id not in circuit_ids:
|
||||
circuit_ids.append(link_from.termination_a.circuit.id)
|
||||
edge_ids += 1
|
||||
|
||||
Generated
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "netbox_topology_views",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.0-beta.1",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"private": true,
|
||||
"name": "netbox_topology_views",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.0-beta.1",
|
||||
"scripts": {
|
||||
"resources": "gulp build",
|
||||
"resources_dev": "gulp build_dev"
|
||||
|
||||
@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
|
||||
|
||||
setup(
|
||||
name='netbox-topology-views',
|
||||
version='1.0.1',
|
||||
version='1.0.0-beta.1',
|
||||
description='An NetBox plugin to create Topology maps',
|
||||
url='https://github.com/mattieserver/netbox-topology-views',
|
||||
author='Mattijs Vanhaverbeke',
|
||||
|
||||
Reference in New Issue
Block a user