add BGP plugin (#55)

add bgp plugin
This commit is contained in:
jinaloo7 2021-08-24 10:59:50 +05:30 committed by GitHub
parent 6682b2d853
commit 9640b4bbf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 2 deletions

View File

@ -8,7 +8,7 @@ setup:
sed -i -e "s/SECRET_KEY = .*/SECRET_KEY = '$(shell openssl rand -hex 32)'/g" netbox/netbox/configuration.py
sed -i -e "s/USER': .*/USER': 'postgres',/g" netbox/netbox/configuration.py
sed -i -e "s/PASSWORD': .*/PASSWORD': '12345',/g" netbox/netbox/configuration.py
sed -i -e "s/PLUGINS = .*/PLUGINS = ['netbox_virtual_circuit_plugin']/g" netbox/netbox/configuration.py
sed -i -e "s/PLUGINS = .*/PLUGINS = ['netbox_virtual_circuit_plugin', 'netbox_bgp']/g" netbox/netbox/configuration.py
# spin up the required stack components to run the test suite
local-test-deps: reset-volumes

View File

@ -174,6 +174,7 @@ PAGINATE_COUNT = int(os.environ.get('PAGINATE_COUNT', 50))
# Plugins
PLUGINS = [
'netbox_virtual_circuit_plugin',
'netbox_bgp',
]
# When determining the primary IP address for a device, IPv6 is preferred over IPv4 by default. Set this to True to

View File

@ -39,4 +39,5 @@ SECRET_KEY = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'
PLUGINS = [
'netbox_virtual_circuit_plugin',
'netbox_bgp',
]

View File

@ -1,3 +1,4 @@
django-allauth==0.42.0
netbox-virtual-circuit-plugin==1.6.2
django-storages[google]==1.11.1
django-storages[google]==1.11.1
netbox-bgp==0.3.7