Skip to content

v2.0a22#86

Merged
KarthikSKumar98 merged 1 commit into
v2(pre-release)from
v2.0a22
Jun 4, 2026
Merged

v2.0a22#86
KarthikSKumar98 merged 1 commit into
v2(pre-release)from
v2.0a22

Conversation

@KarthikSKumar98

@KarthikSKumar98 KarthikSKumar98 commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

This release adds AP event streaming support via a new network-monitoring service category, with dynamic protobuf dispatch for AP event types.

New Features

  • AP Events Streaming
    • Added ap-events to the streaming module under the new network-monitoring service path. This closes pycentral (pre) for central CNX doesn't yet suport ap-monitoring #83
    • Added pycentral/streaming/events/ap/ap_events_pb2.py — generated protobuf definitions for AP event messages (e.g. APInfo, ClusterInfo)
    • The Streaming client now dynamically resolves the AP event message class from the CloudEvent type_url, first via the protobuf symbol database and falling back to a direct attribute lookup on ap_events_pb2

Improvements

  • Streaming SUPPORTED_EVENTS restructured
    • Flat event dict replaced by a nested structure keyed by URL service path (network-services, network-monitoring), enabling correct WebSocket URL construction per event category
    • WebSocket URL is now built dynamically from the service group the requested event belongs to, fixing the URL for network-monitoring events

- Add pycentral/streaming/events/ap/ap_events_pb2.py with AP event protobuf definitions
- Restructure SUPPORTED_EVENTS into nested dict keyed by URL service path
  (network-services, network-monitoring) for correct WebSocket URL routing
- Add ap-events support under network-monitoring with dynamic protobuf dispatch
  via CloudEvent type_url (symbol DB lookup with ap_events_pb2 fallback)
- Update __version__ to 2.0a22
- Update RELEASE-NOTES.md and docs/index.md for 2.0a22
@KarthikSKumar98 KarthikSKumar98 marked this pull request as ready for review June 4, 2026 09:01
@KarthikSKumar98 KarthikSKumar98 merged commit 643a74f into v2(pre-release) Jun 4, 2026
@KarthikSKumar98 KarthikSKumar98 deleted the v2.0a22 branch June 4, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pycentral (pre) for central CNX doesn't yet suport ap-monitoring

1 participant