Module Inventory Binder
Module Inventory Binder is a plugin for NetBox that facilitates the binding of modules to inventory items. This plugin simplifies the management of relationships between modules and their corresponding inventory items, ensuring better visibility and device management.
Features
- One-to-One Binding: Establish a unique relationship between a module and an inventory item.
- CRUD Operations: Create, read, update, and delete bindings between modules and inventory items.
- Automatic Inventory Item Creation: Automatically creates or links existing inventory items when new modules are added.
- Safe Deletion: Deletes associated inventory items when a module is deleted.
- Integration with NetBox UI: Seamlessly integrates into NetBox's main menu for easy access to binding functionalities.
Requirements
- NetBox version
3.0.0or higher. - Python version
3.10.12or higher.
Version 1.1.0
Fixed a an error that occured during pip installation - setup.py configuration had an error in it
Version 1.2.0
Fixed views.py which used old names for templates
Version 1.3.0
Fixed problem where deleting binding would end in an error
Version 1.4.0
Fixed some more problems in views.py
Installation with GIT
Step 1: Clone the Repository into plugins directory in your netbox instance
git clone https://github.com/vubeckubec/module_inventory_binder.git
Step 2: Add the plugin into PLUGINS in configuration.py
PLUGINS = [
'module_inventory_binder',
# Other plugins...
]
Step 3: Apply migrations(don't forget activating venv)
python manage.py migrate module_inventory_binder
Step 4: Run netbox(for example)
python manage.py runserver
Installion with PIP(don't forget activating venv)
This plugin is also available on PYPL so you can install it with PIP
pip install module_inventory_binder
after this just follow the same steps from Github installation
Troubleshooting tip
If you are encountering an error when creating a new bind with null values you need to manually delete custom field from the ModuleInventoryBinding table here is how to do it. This is an error in current version of the plugin i will try to fix it in the next version.
Step 1: Open postgres in command line
sudo -u postgres psql
Step 2: Switch to your DB
\c your_db_name
Step 3: Delete the custom field
ALTER TABLE module_inventory_binder_moduleinventorybinding
DROP COLUMN custom_field_data;
Metadata
Release files for module-inventory-binder 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| module-inventory-binder-1.4.0.tar.gz | 8.2 kB | Without provenance | Details for module-inventory-binder-1.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| module_inventory_binder-1.4.0-py3-none-any.whl | Python 3 | none | any | Details for module_inventory_binder-1.4.0-py3-none-any.whl |
Total release size: 18.2 kB
Release files / module-inventory-binder-1.4.0.tar.gz
| Download URL | module-inventory-binder-1.4.0.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9717a99560f3cdb38faed930db46b0bb8b22eab4867f1fa18e43e1d90d7376d1
|
|
BLAKE2b-256 checksum How to use checksums |
efb59176df4465d8597f020660fad3aa51e20fb5da064b37050944ee58d8e5de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Release files / module_inventory_binder-1.4.0-py3-none-any.whl
| Download URL | module_inventory_binder-1.4.0-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a2b680fd9bad7cef4c5979e70698df4a04dff4dfe4926ee165fb5903fac4b8a6
|
|
BLAKE2b-256 checksum How to use checksums |
b3f3fe25491c36b01e5607a223438408191024ce16b99a087fbb16d03fe9e602
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Security for module-inventory-binder 1.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.