DanSheps / netbox-routing

A Netbox Routing plugin
Apache License 2.0
50 stars 6 forks source link

Install plugin on Netbox v3.6.9 #42

Closed naffabob closed 1 month ago

naffabob commented 1 month ago

Plugin version

v0.1.2

NetBox version

v3.6.9

Python version

3.10

Steps to Reproduce

  1. Install plugin v0.1.2 in venv [Python 3.10.12]
  2. Add the plugin to netbox/configuration.py
    PLUGINS = [
    'netbox_routing',
    ]
  3. Run python netbox/manage.py showmigrations.

Expected Behavior

View the list of migrations for netbox_routing and migrate them.

I am trying to use v0.1.0 - the migrations work fine, but I want to use the BGP models implemented in the v0.1.2 version of the plugin.

Observed Behavior

Received an exception:

  File "/opt/netbox-3.6.9/venv/lib/python3.10/site-packages/netbox_routing/__init__.py", line 1, in <module>
    from netbox.plugins import PluginConfig
ModuleNotFoundError: No module named 'netbox.plugins'
DanSheps commented 1 month ago

BGP was not added (and is still not added).

naffabob commented 1 month ago

@DanSheps You mean v0.1.x doesn't implement BGP? As i see, models for BGP already added in v0.1.2 https://github.com/DanSheps/netbox-routing/blob/v0.1.2/netbox_routing/models/bgp.py

But in v0.2.x should we wait for the plugin to implement BGP?

DanSheps commented 1 month ago

But in v0.2.x should we wait for the plugin to implement BGP?

Right now, this isn't a priority.