Metadata-Version: 2.1
Name: netbox-vrf-context
Version: 0.1.0
Summary: VRF Context plugin for Netbox
License: BSD-2-Clause
Author: The Hut Group
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Requires-Dist: netbox-bgp (>=0.7.0,<0.8.0)
Requires-Dist: netbox-static-routes-plugin (>=0.2,<0.3)
Description-Content-Type: text/markdown

# Netbox VRF Context Plugin

This is a netbox plugin for model VRF Contexts. It has dependencies on:

Netbox BGP - https://pypi.org/project/netbox-bgp/
Static Routes - https://github.com/jbparrish17/netbox-static-routes

## Development

```
cp development/dev.env.example development/dev.env
# Set a password for POSTGRES_PASSWORD and REDIS_PASSWORD
# 
vi development/dev.env


virtualenv --python=python3.10 venv
. ./venv/usr/local/bin/activate
# pip install -r requirements.txt   (for liniting)
# or
# pip install poetry invoke
invoke build
invoke debug
```

## Deployment

The plugin is available as a Python package in pypi and can be installed with pip  

```
pip install netbox-vrf-context
```
Enable the plugin in `netbox/netbox/configuration.py` in the `PLUGINS` parameter (which is a list):
```
PLUGINS = [
    'netbox_bgp',
    'netbox_static_routes',
    'netbox-vrf-context'
]
```
Save the file and restart the Netbox service.

