Skip to main content

A NetBox announcement plugin

Project description

Netbox Announcement Plugin

This the netbox announcement plugin. You can use netbox_announcement plugin in Github.com

Installing Netbox Announcement Plugin

The instructions below detail the process for installing and enabling a Netbox announcement plugin.

Install Package

Download and install the plugin package per its installation instructions. Plugins published via PyPI are typically installed using pip. Be sure to install the plugin within Netbox`s virtual environment.

please refer how to use netbox plugins

$ source /opt/netbox/venv/bin/activate

(venv)$ pip install netbox_announcement==[latest version]

Enable the Plugin

In configuration.py, add the plugin's name to the PLUGIINS list:

PLUGINS = [
    'netbox_announcement',
]

Configure Plugin

Open configuration.py with your preferred editor to begin configuring of Netbox announcement plugin. The following configuration are required only when you migrate the model of the netbox announcement plugin to the Netbox database.

DEVELOPER=True 

Run Database Migrations

The Netbox announcement plugin has 3 models related with Virtual Machine / Device announcement, and Site announcement. To introduce these new db models, run the provided schema migrations. Next, we can apply the migration of the Netbox_announcement model to the database with the migrate command

(venv) $ cd /opt/netbox/netbox/
(venv) $ python3 manage.py makemigrations netbox_announcement
(venv) $ python3 manage.py migrate netbox_announcement

Restart service

Then, restart the netbox and netbox-rq services to enable them

# systemctl restart netbox netbox-rq
# systemctl restart nginx

Reference

Please refer Netbox plugin development document

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

netbox-announcement-1.0.4.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

netbox_announcement-1.0.4-py3-none-any.whl (23.3 kB view details)

Uploaded Python 3

File details

Details for the file netbox-announcement-1.0.4.tar.gz.

File metadata

  • Download URL: netbox-announcement-1.0.4.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.4

File hashes

Hashes for netbox-announcement-1.0.4.tar.gz
Algorithm Hash digest
SHA256 f6af1e3a7c63de19e2a0c0686a87b55b8c39db2b5b1a695d0dbc41dec45c1c55
MD5 6a3f6b3cca5189827d21244b60d872ff
BLAKE2b-256 0221db6a7530a951655331fb27ca9e1a5529889e6a7a6c2b6ec119e27d169932

See more details on using hashes here.

File details

Details for the file netbox_announcement-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: netbox_announcement-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 23.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.4

File hashes

Hashes for netbox_announcement-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 24b79da1f18ae8edf35f52d016a8412c38ece2472b1e288f8a61e864527b54ee
MD5 6b3d1d81238bdd20826acfafca2decd4
BLAKE2b-256 a3d02949144439613b1a7cc9d959948146e3faa670eb07b24bcaa6e0ed67173b

See more details on using hashes here.

Supported by

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