Files
govpp-snmp-agentx/debian/changelog
T
pim b17396b1e5 Rework build system; cut release 1.3.1-1
Replace the dpkg-buildpackage / debhelper rig with the same pattern
used in vpp-maglev: a Makefile that cross-compiles CGO-free static
binaries for amd64 and arm64, plus a debian/build-deb.sh that stages
the .deb directly with dpkg-deb. The two arch packages drop into
build/ and run on any glibc/musl Linux of the matching arch.

VERSION is parsed once from debian/changelog and injected at link
time via -ldflags "-X 'main.Version=...' -X 'main.Commit=...' -X
'main.Date=...'", so 'govpp-snmp-agentx --version' is the source of
truth for which build is running. main.go's Version constant becomes
a var to make this work; the old sync-version make target is gone.

Removes the now-unused debian/{control,rules,postinst,prerm,*.debhelper}
files and adds build/ to .gitignore.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 18:42:58 +02:00

180 lines
7.8 KiB
Plaintext

govpp-snmp-agentx (1.3.1-1) bookworm; urgency=medium
* Fix startup race that left every ifSpeed/ifHighSpeed row stuck at
1Gbps until restart. The stats routine could rebuild the MIB before
the interface-event routine had pushed any details, locking the
static fields at their "unknown" default; the rebuild was only
re-triggered on interface-set changes, so the wrong values were
never corrected. The stats path now pushes the details it already
fetches into the MIB, and a dirty flag forces a rebuild on the
next poll whenever Speed/MAC/MTU/admin/oper actually change.
-- Pim van Pelt <pim@ipng.ch> Tue, 06 May 2026 12:00:00 +0000
govpp-snmp-agentx (1.3.0-1) bookworm; urgency=medium
* Fix ifSpeed for >2.5Gbps interfaces (10G/25G/100G): the row was
silently skipped, which let monitoring stacks fall back to a
hard-coded 1Gbps. Always emit ifSpeed and cap at uint32 max per
RFC 2863; ifHighSpeed continues to carry the real Mbps value.
* Switch the build system to cross-compiled, CGO-free amd64+arm64
.deb packages produced by debian/build-deb.sh; inject the version
at link time via -ldflags.
-- Pim van Pelt <pim@ipng.ch> Tue, 06 May 2026 00:00:00 +0000
govpp-snmp-agentx (1.2.3-1) bookworm; urgency=medium
* Fix VPP stats filtering to exclude deleted interfaces
* Add interface manager integration to stats manager
* Filter out stale interface statistics from deleted interfaces
* Improve stats reliability by cross-referencing with current interface list
-- Pim van Pelt <pim@ipng.ch> Sat, 23 Nov 2024 00:00:00 +0000
govpp-snmp-agentx (1.2.2-1) bookworm; urgency=medium
* Simplify ifmib integration by removing reflection usage
* Move to direct counter updates for improved performance
* Refactor interface tracking with simplified state management
* Remove dependency on reflection for handler manipulation
* Fix test suite to match refactored ifmib implementation
-- Pim van Pelt <pim@ipng.ch> Sat, 23 Nov 2024 00:00:00 +0000
govpp-snmp-agentx (1.2.1-1) bookworm; urgency=medium
* Fix OID visibility bug after go-agentx 0.3.0 upgrade
* Use reflection to clear handler contents instead of creating new handlers
* Simplify AgentX session creation and registration logic
* Add proper session cleanup method (Close())
* Improve error handling in AgentX interactions
* Code cleanup and maintainability improvements
-- Pim van Pelt <pim@ipng.ch> Fri, 22 Nov 2024 00:00:00 +0000
govpp-snmp-agentx (1.2.0-1) bookworm; urgency=medium
* Update go-agentx dependency from 0.2.1 to 0.3.0 to fix compilation issues
* Adapt to breaking changes in go-agentx Session API (now requires nameOID, name, handler)
* Update Client configuration to use dial options (WithTimeout, WithReconnectInterval)
* Remove access to unexported Session.Handler field (API change)
* NOTE: This version fixes compilation broken in 1.1.6-1 and 1.1.7-1
-- Pim van Pelt <pim@ipng.ch> Wed, 20 Nov 2024 00:00:00 +0000
govpp-snmp-agentx (1.1.7-1) bookworm; urgency=critical
* Refactor VPPClient constructor to use idiomatic Go patterns
* Remove redundant NewVPPClient() constructor function
* Update all code to use direct struct initialization (&VPPClient{})
* Improve code maintainability and follow Go best practices
* WARNING: This version is BROKEN due to go-agentx 0.2.1 incompatibility
-- Pim van Pelt <pim@ipng.ch> Fri, 15 Nov 2024 00:00:00 +0000
govpp-snmp-agentx (1.1.6-1) bookworm; urgency=critical
* Replace forked go-agentx dependency with upstream github.com/posteo/go-agentx
* Remove local src/go-agentx/ directory and use official upstream package
* Upgrade to go-agentx v0.2.1 from official GitHub repository
* Improve dependency management and reduce maintenance overhead
* WARNING: This version is BROKEN due to go-agentx 0.2.1 incompatibility
-- Pim van Pelt <pim@ipng.ch> Fri, 08 Nov 2024 00:00:00 +0000
govpp-snmp-agentx (1.1.5-1) bookworm; urgency=medium
* Implement automatic interface deletion handling in IF-MIB
* Simplify interface event processing by removing separate delete callbacks
* Remove unused functions and clean up codebase (RemoveInterface, rebuildMIB)
* Improve interface state synchronization between VPP and SNMP MIB
* Automatically detect and remove deleted interfaces during updates
-- Pim van Pelt <pim@ipng.ch> Wed, 02 Jul 2025 00:00:00 +0000
govpp-snmp-agentx (1.1.4-1) bookworm; urgency=medium
* Major VPP module refactoring with improved separation of concerns
* Replace legacy global functions with structured VPPClient, InterfaceManager, and StatsManager
* Fix stats polling timing bug - now properly respects vppstats.period setting
* Add comprehensive test suite with 64.6% code coverage
* Improve connection management and error handling
* Remove legacy compatibility functions for cleaner API
-- Pim van Pelt <pim@ipng.ch> Mon, 24 Jun 2025 01:00:00 +0000
govpp-snmp-agentx (1.1.3-1) bookworm; urgency=medium
* Use fallback packet counters when VPP unicast stats are unavailable
* Fix unicast packet reporting for interfaces without detailed stats collection
* Add VPP configuration comments for stats-collect feature requirements
* Improve packet counter accuracy across different VPP configurations
-- Pim van Pelt <pim@ipng.ch> Mon, 24 Jun 2025 00:00:00 +0000
govpp-snmp-agentx (1.1.2-1) bookworm; urgency=medium
* Add startup version logging to INFO log level
* Implement automatic version synchronization between debian/changelog and main.go
* Add make sync-version target for manual version syncing
* Ensure version consistency across package and application code
-- Pim van Pelt <pim@ipng.ch> Sun, 23 Jun 2025 00:20:00 +0000
govpp-snmp-agentx (1.1.1-1) bookworm; urgency=medium
* Add IF-MIB::ifHighSpeed field (OID 1.3.6.1.2.1.31.1.1.1.15)
* Populate ifHighSpeed with interface speed in Megabits per second
* Implement conditional ifSpeed population (skip for speeds > 2.5Gbps)
* Improve SNMP compliance for high-speed interface reporting
-- Pim van Pelt <pim@ipng.ch> Sun, 23 Jun 2025 00:10:00 +0000
govpp-snmp-agentx (1.1.0-1) bookworm; urgency=medium
* Add interface event monitoring with VPP API integration
* Populate IF-MIB with real interface details (MAC address, speed, status)
* Consolidate VPP-related modules into unified vpp package
* Implement real-time interface state updates via event-driven callbacks
* Retrieve and expose actual interface properties: MTU, admin/oper status
* Add comprehensive interface details caching and management
-- Pim van Pelt <pim@ipng.ch> Sun, 23 Jun 2025 00:00:00 +0000
govpp-snmp-agentx (1.0.3-1) bookworm; urgency=medium
* Remove unnecessary toolchain configuration
* Simplify and shorten Makefile
* Refactor documentation structure with detailed DETAILS.md
* Update and improve README documentation
-- Pim van Pelt <pim@ipng.ch> Thu, 19 Jun 2025 00:00:00 +0000
govpp-snmp-agentx (1.0.2-1) bookworm; urgency=medium
* Reorganize source code into src/ subdirectory for cleaner project structure
* Add environment file support (/etc/default/govpp-snmp-agentx)
* Move service configuration to environment variables
* Improve systemd service configurability
-- Pim van Pelt <pim@ipng.ch> Tue, 17 Jun 2025 00:55:00 +0000
govpp-snmp-agentx (1.0.1-1) bookworm; urgency=medium
* Add manual page for govpp-snmp-agentx(1)
* Make VPP config file optional - log warning and continue if missing
* Fix Debian package build reproducibility issues
* Improve build system with proper cleanup targets
-- Pim van Pelt <pim@ipng.ch> Tue, 17 Jun 2025 00:35:00 +0000
govpp-snmp-agentx (1.0.0-1) bookworm; urgency=medium
* Initial release
* SNMP AgentX daemon for VPP statistics
* Interface MIB support
* Systemd service integration
-- Pim van Pelt <pim@ipng.ch> Mon, 16 Jun 2025 00:00:00 +0000