A NetBox announcement plugin
Project description
Netbox Work Logs Plugin
This the netbox announcement plugin. You can use netbox_announcement plugin in Github.com
Installing Netbox Work Logs 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file netbox-announcement-1.0.tar.gz
.
File metadata
- Download URL: netbox-announcement-1.0.tar.gz
- Upload date:
- Size: 9.6 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaae2c75fd39662bbe6ac38664448f08530b766e0202451b6b06befa2e598e04 |
|
MD5 | b9fbfdf408cff8fc94dd23c7d2cf283d |
|
BLAKE2b-256 | af326acb9d71e42238a97af0d3843cbd700cef8e3a3e0991e9a3fa4431f3999a |
File details
Details for the file netbox_announcement-1.0-py3-none-any.whl
.
File metadata
- Download URL: netbox_announcement-1.0-py3-none-any.whl
- Upload date:
- Size: 12.0 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2a4e377640fc8a21ce08eb4436ee5ce987298fba6daa25b6940ed3c4fca78a5 |
|
MD5 | 7a768ac6865d712eb2c9197ee962c00f |
|
BLAKE2b-256 | 1320e3a57f29350be3d49b200a10d7e1efa213c4f29beb45302dad96a4825b0b |