Commit Graph
9 Commits
Author SHA1 Message Date
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 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 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 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 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