fix: remove existing patchpanel backfill

This commit is contained in:
MrBlake committed 2026-08-06 16:03:58 +02:00
1 parent 8c6c48531e
commit 66d13292f2
11 files changed
+30 -179

No files matched your search

Whitespace-only changes.
Whitespace-only changes.
@@ -1,15 +0,0 @@
from django.core.management.base import BaseCommand
from netbox_utilities.patchpanel import repair_existing_patchpanels
class Command(BaseCommand):
help = "Repair front/rear mappings and cable paths for all devices with the Patchpanel role"
def handle(self, *args, **options):
device_count, mapping_count = repair_existing_patchpanels()
self.stdout.write(
self.style.SUCCESS(
f"Repaired {mapping_count} front/rear mappings on {device_count} Patchpanel devices."
)
)