The NetBox Windows Agent and the NetBox Synchronizer write the installed software as a report into the device comments. On every device save the report is parsed (agent bullet list and synchronizer table) and the device's netbox-slm installations are brought in line: missing products, versions and installations are created, installations that left the report are removed. Installations entered by hand are never touched. Deleting a device removes its automatic installations first, since netbox-slm protects devices with installations. The command netbox_utilities_sync_software transfers existing reports once. Co-Authored-By: Claude Opus 5.5 <[email protected]>
37 lines
862 B
TOML
37 lines
862 B
TOML
[build-system]
|
|
requires = ["hatchling>=1.27"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "netbox-utilities"
|
|
version = "0.29.0"
|
|
description = "Navigation, tenant utilities, connection VLANs, partial-width racks, disks, CPU & RAM, switch port export and bulk operations for NetBox 4.6/4.7"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"reportlab>=4.0,<5",
|
|
]
|
|
license = { text = "MIT" }
|
|
authors = [
|
|
{ name = "MrBlake" }
|
|
]
|
|
classifiers = [
|
|
"Framework :: Django",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: 3.13",
|
|
]
|
|
|
|
[project.urls]
|
|
Repository = "https://git.mrblake.cc/MrBlake/Netbox-Utilities"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["netbox_utilities"]
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
target-version = "py312"
|
|
|
|
[tool.ruff.lint]
|
|
ignore = ["RUF012"]
|