Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ exit

## Supported versions

The current version of the `netbox-plugin-mclag` plugin has been developed for Netbox 4.2. and is not supported on older versions.
This version of the `netbox-plugin-mclag` plugin has added compatibility for NetBox 4.3 and should have backwards compatibility with NetBox 4.2. It is not supported on older versions.

The plugin has been developed for Python 3.12.3, but I expect it to work with any Python version supported by Netbox.

Expand Down
2 changes: 1 addition & 1 deletion netbox_plugin_mclag/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class NetBoxMcLagConfig(PluginConfig):
name = "netbox_plugin_mclag"
verbose_name = "Multi-Chassis LAG"
description = "Manage Multi-Chassis Link Aggregation Groups in Netbox (MC-LAG / MLAG / vPC / etc)"
version = "0.2.0"
version = "0.2.2"
base_url = "mclag"


Expand Down
6 changes: 4 additions & 2 deletions netbox_plugin_mclag/template_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@


class McLagInterfaceExtensions(PluginTemplateExtension):
model = "dcim.interface"
model = "dcim.interface" # NB = 4.2
models = ("dcim.interface",) # NB >= 4.3

def buttons(self):
interface = self.context["object"]
Expand Down Expand Up @@ -33,7 +34,8 @@ def buttons(self):


class McLagDeviceExtensions(PluginTemplateExtension):
model = "dcim.device"
model = "dcim.device" # NB = 4.2
models = ("dcim.device",) # NB >= 4.3

def buttons(self):
device = self.context["object"]
Expand Down