Commit Graph
33 Commits
Author SHA1 Message Date
MrBlakeandClaude Opus 5.5 a67b0d3e5c feat: scan Windows clients with the NetBox Windows Agent in listen mode
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 11:05:32 +01:00
MrBlakeandClaude Opus 5.5 b1cfdf7a5c feat: map missing printer models to device types and ignore printers or models
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 10:15:55 +01:00
MrBlakeandClaude Opus 5.5 235fb8e26a feat: printer import via SNMP v2c/v3 scan with page counter and supplies
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 09:39:50 +01:00
MrBlakeandClaude Opus 5.5 f134db0c16 fix: put access point IPs into the VRF of the matching tenant prefix instead of always global
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 09:05:45 +01:00
MrBlakeandClaude Opus 5.5 fc503bd7d3 feat: choose the far-end interface of a cable in the review dialog
The neighbor tab gets a "Nachbar-Schnittstelle" column with the cable targets
of the neighbor device (no wireless interfaces) and the automatic choice;
the selection is stored per switch as neighbor_interfaces.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 16:50:33 +01:00
MrBlakeandClaude Opus 5.5 144e5f9eb8 fix: ignore wireless interfaces when looking for the far end of a cable
NetBox does not allow cables on wireless interfaces; wlan1 made "LAN1" on a
LANCOM LW-600 (eth1, wlan0, wlan1) ambiguous and prevented the single-port rule.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 16:46:24 +01:00
MrBlakeandClaude Opus 5.5 0241509845 fix: LANCOM LLDP fields with empty values, indented lines after paging and prompt as port description; explain skipped cables
Every skipped cable is reported as a note with its reason (local port,
neighbor device or far-end interface not found, far end already cabled).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 16:38:23 +01:00
MrBlakeandClaude Opus 5.5 97ee72e610 fix: LANCOM LLDP neighbors on "Port N" were not linked to the switch port
Also rebuild LANCOM snapshots from their raw outputs on file import, so
older exports get the fix without reading the switch again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 16:28:21 +01:00
MrBlakeandClaude Opus 5.5 5427cc015e fix: answer the paging prompt of LANCOM LCOS SX 3.x switches
Long outputs stop with "..., q to quit" and the pager cannot be disabled;
it is now answered with Space and removed from the output.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 16:03:52 +01:00
MrBlakeandClaude Opus 5.5 51f3fc70cd feat: record the CLI session and show it as raw data, also for failed discoveries
The raw data view builds its tabs from the available outputs (incl. LANCOM)
and adds a "Sitzung" tab with the masked session up to an error.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 15:47:49 +01:00
MrBlakeandClaude Opus 5.5 411c5446fe fix: send carriage return as Enter to LANCOM LCOS SX 3.x switches
The CLI only echoes commands terminated with "\n". Auto-detection falls back
to "\r" when the first command is not completed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 15:34:34 +01:00
MrBlakeandClaude Opus 5.5 576f245b7d feat: LANCOM LCOS SX 3.x switches over SSH (e.g. GS-2326P+)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 14:48:43 +01:00
MrBlakeandClaude Opus 5.5 63ed535a37 fix: attach the original D-Link config.bin as configuration backup
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 12:50:19 +01:00
MrBlakeandClaude Opus 5.5 05695a8471 feat: one-off switch import from D-Link and Linksys configuration backups
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 12:35:51 +01:00
MrBlakeandClaude Opus 5.5 dfe985bb9e fix: assign only VLANs of the device's site; show notes prominently
- VLANs of another site stay in the label but are not assigned to ports
  (NetBox rejects them); one note per device and VLAN instead of an error
  per port
- Preview shows a notes badge and expands switches with notes; notes are
  also written to the log after the transfer

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 10:47:33 +01:00
MrBlakeandClaude Opus 5.5 f4c507de6c feat: optional update of existing cables; cable APs reporting their MAC as port
- Cables to neighbors that report their MAC address as port ID (e.g. access
  points) are created via the MAC or the device's single physical port
- Existing cables are compared with LLDP/CDP; differences are reported, and
  only with the optional "Bestehende Kabel anpassen" the cable is moved

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 10:29:55 +01:00
MrBlakeandClaude Opus 5.5 770edc4a03 feat: optional running-config backup as NetBox attachment
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 10:13:49 +01:00
MrBlakeandClaude Opus 5.5 63fd7b987a feat: LAG members get their LAG in the label and NetBox LAG field
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 10:06:10 +01:00
MrBlakeandClaude Opus 5.5 89fe37ea04 feat: fill in detected stacks in the optional NetBox Utilities plugin
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 09:27:09 +01:00
MrBlakeandClaude Opus 5.5 159a933964 feat: Sophos AP import without upfront tenant, tenant never preselected
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-02 15:23:28 +01:00
MrBlakeandClaude Opus 5.5 8d2bbafc8d feat: switch stacks per member device, optional AP sites with mandatory tenant
- Detect stacks (Aruba CX VSF, ArubaOS-Switch stacking/VSF, Comware IRF) from
  the configuration; new "Stack" tab assigns a NetBox device per member
  (suggested from virtual chassis positions, stored per switch); ports go to
  their member's device, LAGs and VLAN interfaces stay on the switch device
- Access points: site is optional with a default site for new APs; tenant is
  mandatory and can be chosen per Sophos site; new tenant column
- Empty states no longer get squeezed in small cards

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-02 13:08:30 +01:00
MrBlakeandClaude Opus 5.5 9ce25d820a feat: import Sophos access points from a Sophos Central CSV export
- New "Access Points" page: load the Sophos Central export, check missing
  sites and duplicate IPs, serial numbers and MAC addresses
- Find existing APs globally by serial number and MAC (chunked queries) and
  by name within the tenant group; list NetBox APs missing in the export
- Map Sophos sites to NetBox sites of the tenant group (suggested by name,
  stored per profile, per-AP choice for APs without site)
- Create or update devices with Sophos device type, role, site, serial,
  firmware, interface, MAC and primary IP; tenant from the site or the chosen
  tenant, devices of other tenants are never changed; preview before writing

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 16:50:11 +01:00
MrBlakeandClaude Opus 5.5 1c0a8168ed feat: read-only network scanner with automatic NetBox comparison
- New "Network scanner" page: scan IP ranges, networks and host names in
  parallel; hosts are found by ICMP (Windows API, no admin rights, no
  ping.exe), ARP and TCP ports, so hosts blocking ping show up as well
- Name from reverse DNS and NetBIOS, MAC address, open services from a
  configurable port list and response time; results stream in while scanning
- Every address is compared with NetBox automatically (one query per /24):
  NetBox object and DNS name per IP with match / name differs / not in
  NetBox / in NetBox but not reachable; nothing is written
- Double click and context menu open HTTP(S), Remote Desktop, shares or the
  IP address in NetBox

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 16:32:10 +01:00
MrBlakeandClaude Opus 5.5 e499d854a9 feat: tenant group VRFs for switch networks, remembered network decisions, in-app updates
- Networks tab offers the VRFs of the switch's tenant group and finds
  existing prefixes there; network decisions are stored per profile and
  shared by all switches (per-switch choices are migrated)
- Decided networks and VLANs sit in a collapsed, editable section
- Check the Gitea releases on start (or on demand in the settings); after
  confirmation the installer runs silently and restarts the application, the
  portable EXE swaps itself; a version can be skipped
- Installer restarts the application after a silent update

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 15:36:17 +01:00
MrBlakeandClaude Opus 5.5 3df4e6a9fc feat: ignore switch VLANs and remember VLAN decisions per profile
- New "ignore" choice: the VLAN is neither created nor assigned and is left
  out of interface labels and the VLAN column
- VLAN decisions are stored once per profile and shared by all switches;
  per-switch decisions from 4.5.0 are migrated on load
- Review dialog shows one row per VID; only open VLANs are listed, stored and
  unambiguous ones sit in a collapsed, editable section

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 14:33:14 +01:00
MrBlakeandClaude Opus 5.5 29d3724a7f feat: map switch VLANs across the tenant group, custom name and tenant for new VLANs
- Match switch VLANs to NetBox VLANs of the switch's tenant group by VID;
  own tenant, site and similar names decide between several candidates
- Review dialog: choose the NetBox VLAN per VID, skip it or create it with a
  custom name and a tenant of the tenant group
- Never create a VLAN twice when "create new" stays stored in the profile

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 14:18:09 +01:00
MrBlakeandClaude Opus 5.5 83787142d3 feat: review missing prefixes, VRFs and VLANs; enforce tenants
- Review dialog gains "Networks" and "VLANs" tabs: VRF per network (global,
  tenant VRF or new VRF), missing prefixes and VLANs are only created when
  ticked; existing tenant VLANs are assigned to ports (802.1Q mode,
  untagged/tagged)
- Read VLAN names from the configuration (Comware now reads the full
  current-configuration)
- Switch IP addresses follow the chosen VRF instead of always global
- Tenant required: switches without tenant are refused; IPs, prefixes, VRFs,
  VLANs and cables get the switch's tenant; client import requires a tenant
  and client IP addresses now get it too
- Fix clipped combo boxes in the review dialog tables

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 13:46:42 +01:00
MrBlakeandClaude Opus 5.5 39a29b9230 feat: VLAN labels, automatic port mapping and neighbour review for switches
- Read VLAN membership (untagged and tagged) from the running configuration
  on Aruba CX, ArubaOS-Switch and HPE Comware and write it to the NetBox
  interface label (e.g. "10", "1,20-22", "all")
- Keep only VLAN-related configuration lines in the raw data / offline export
- Map switch ports to NetBox interfaces with differing names automatically:
  equal name, equal port number (1/1/5 <-> 5), then natural order
- New "Review mapping" dialog before the preview: correct port mappings and
  assign each LLDP/CDP neighbour to a device of the switch's tenant group;
  choices are stored per switch in the profile
- Ignore the local Gitea token file

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 13:16:22 +01:00
MrBlakeandClaude Opus 5.5 d10190b7bc fix: query clients in-process via WSMan/ADSI COM instead of PowerShell
Endpoint protection (Sophos Application Lockdown) terminated the app when it spawned powershell.exe. WinRM and Active Directory are now accessed through Windows COM inside the process.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 13:41:52 +02:00
MrBlakeandClaude Opus 5.5 36019a6d56 feat: agentless Windows client inventory via WMI/CIM over WinRM
New "Windows-Clients" page: targets from Active Directory or host lists/ranges,
logon through the Windows credential prompt (or the current session), parallel
CIM queries via PowerShell, transfer to NetBox as devices with dry-run preview,
offline JSON export and an in-app setup guide (GPO, firewall, permissions)
with a connection test.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 12:52:01 +02:00
MrBlakeandClaude Opus 5.5 52f1e4b5f1 feat: offline mode with JSON export/import
Collect VMs and switch data without NetBox, export them to a
credential-free .nbsync.json file and import it later where NetBox is
reachable. Toggled by a global sidebar checkbox.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 09:16:01 +02:00
MrBlakeandClaude Opus 5.5 c3b5fb547e feat: map hypervisor clusters to NetBox clusters automatically
- Read the vCenter/ESXi compute resource and the Proxmox cluster name
  (node name when standalone) for every VM
- Match each hypervisor cluster to a NetBox cluster by name, normalized
  name or unique similarity; remember manual choices per profile and
  offer to create missing clusters (with cluster type)
- Import wizard: per-cluster mapping table instead of a single cluster,
  tenant prefilled from the mapped clusters, review shows the mapping
- Show the hypervisor cluster in the VM table

fix: graphic glitches
- Empty state text no longer clipped by the buttons
- Combo boxes open a plain drop-down list instead of the overlay popup
- Status bar badges keep their height and no longer get cut off

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-12 15:24:00 +02:00
MrBlakeandClaude Opus 5.5 4878275f2a feat: rebuild app with Qt UI, installer and safer switch sync
- Replace the Tkinter app with a PySide6 UI: sidebar navigation, central
  profile switcher, autosave, light/dark theme, background tasks with
  progress and cancel, toasts and a filterable activity log
- Split logic into netbox_sync.core (config, NetBox, VMware/Proxmox,
  VM import, switches) and netbox_sync.ui
- Replace the three-dialog import chain with a four-step import wizard;
  support the global VRF and match VMs per cluster
- Expose the previously unreachable VRF/prefix batch tool
- Switch sync: no silent LLDP config changes, TOFU host key checks,
  platform auto-detection, Comware name normalization, fixed AOS-S and
  Comware LLDP parsing, FQDN/management-IP cable matching, dry-run
  preview, interface types only set on create
- Add PyInstaller onedir spec, Inno Setup installer and build.ps1
- Add pytest suite with an in-memory NetBox fake
- Stop tracking the built exe

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-12 15:15:23 +02:00