A Django app to connect NetBox and Confluence Wiki.
Project description
Django-NetBox-Confluence is a Django app to connect NetBox and Confluence wiki. Define .
Detailed documentation is in the “docs” directory.
Quick start
Add “Django-NetBox-Confluence” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ..., 'django_netbox_confluence', ]
Include the netbox-wiki URLconf in your project urls.py like this:
path('netbox-wiki-api/', include('django_netbox_confluence.urls'))
Add confluence credentials settings and space key where the data will be stored variables in your Django settings file.
- DNC_CONFLUENCE_CREDENTIALS = {
‘url’: ‘http://localhost:8090’,
‘username’: ‘admin’,
‘password’: ‘admin’
}
DNC_SPACE_KEY = ‘NETBOX’
DNC_WEBHOOK_TOKEN = “<SECRET_KEY>”
Run python manage.py migrate to create the Django-NetBox-Confluence models.
Start the development server and visit http://127.0.0.1:8000/admin/ to create a configuration (you’ll need the Admin app enabled). Set authorization header: {“Authorization”: “Token <SECRET_KEY>”}.
Use http://127.0.0.1:8000/netbox-wiki/model_change_trigger as NetBox webhook endpoint URL field input.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for django-netbox-confluence-0.1.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 117ec85037c2eb29fe86d0b208931520ab1c3743631bb381d0ecbd8628757f48 |
|
MD5 | e7d623d8e386199ac526e8bbb0746ad4 |
|
BLAKE2b-256 | 6a68c21d875c7beb6c7687f1dad1acd9912092ff6461a22b65bec2cdebd4f78a |