You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor: FlowSpec NLRI to packed-bytes-first pattern
Convert IPrefix4, IPrefix6, and Flow classes to store wire format bytes
and unpack on demand:
- IPrefix4: __init__(packed) + make_prefix4() factory
- IPrefix6: __init__(packed, offset) + make_prefix6() factory
- Flow: __init__(packed, afi, safi, action) + make_flow() factory
- Lazy rule parsing via rules property
- _packed_stale flag for invalidation on add()
- _rd_override for RD set via setter
Update call sites in configuration/flow/ to use new factories.
Update tests to use factory methods.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments