Skip to main content

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

  1. Add “Django-NetBox-Confluence” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...,
        'django_netbox_confluence',
    ]
  2. Include the netbox-wiki URLconf in your project urls.py like this:

    path('netbox-wiki-api/', include('django_netbox_confluence.urls'))
  3. 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>”

  1. Run python manage.py migrate to create the Django-NetBox-Confluence models.

  2. 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>”}.

  3. 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

django-netbox-confluence-0.1.4.tar.gz (133.1 kB view details)

Uploaded Source

File details

Details for the file django-netbox-confluence-0.1.4.tar.gz.

File metadata

  • Download URL: django-netbox-confluence-0.1.4.tar.gz
  • Upload date:
  • Size: 133.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.6.9

File hashes

Hashes for django-netbox-confluence-0.1.4.tar.gz
Algorithm Hash digest
SHA256 117ec85037c2eb29fe86d0b208931520ab1c3743631bb381d0ecbd8628757f48
MD5 e7d623d8e386199ac526e8bbb0746ad4
BLAKE2b-256 6a68c21d875c7beb6c7687f1dad1acd9912092ff6461a22b65bec2cdebd4f78a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page