Files
Netbox-Prefixes/netbox_site_prefix/__init__.py
T
2026-07-23 10:57:03 +02:00

22 lines
516 B
Python

from netbox.plugins import PluginConfig
class SitePrefixConfig(PluginConfig):
name = "netbox_site_prefix"
verbose_name = "NetBox Site Prefix"
author = "LKE"
description = "Shows the first word of the site name in device and rack tables."
version = "1.0.0"
min_version = "4.6.5"
max_version = "4.6.99"
def ready(self):
super().ready()
# Importing the module registers its columns with NetBox.
from . import tables # noqa: F401
config = SitePrefixConfig