Skip to content

Conversation

@vihu
Copy link
Contributor

@vihu vihu commented Feb 3, 2026

Summary

Fix #2743

  • Add more E2E testing for various RFC11 scenarios
  • The test should exercise the following workflows:
  ┌───────────────────────────┬───────────────────┬───────────────────────┐
  │           Flow            │     Resource      │         Pool          │
  ├───────────────────────────┼───────────────────┼───────────────────────┤
  │ User Connect              │ tunnel_net        │ UserTunnelBlock       │
  ├───────────────────────────┼───────────────────┼───────────────────────┤
  │                           │ tunnel_id         │ TunnelIds[device]     │
  ├───────────────────────────┼───────────────────┼───────────────────────┤
  │                           │ dz_ip (optional)  │ DzPrefixBlock[device] │
  ├───────────────────────────┼───────────────────┼───────────────────────┤
  │ User Disconnect           │ ↑ all deallocated │                       │
  ├───────────────────────────┼───────────────────┼───────────────────────┤
  │ Multicast Subscribe       │ dz_ip (optional)  │ DzPrefixBlock[device] │
  ├───────────────────────────┼───────────────────┼───────────────────────┤
  │ Link Create               │ link_tunnel_net   │ DeviceTunnelBlock     │
  ├───────────────────────────┼───────────────────┼───────────────────────┤
  │                           │ link_tunnel_id    │ LinkIds               │
  ├───────────────────────────┼───────────────────┼───────────────────────┤
  │ Link Delete               │ ↑ all deallocated │                       │
  ├───────────────────────────┼───────────────────┼───────────────────────┤
  │ Loopback Interface Create │ ip_net            │ DeviceTunnelBlock     │
  ├───────────────────────────┼───────────────────┼───────────────────────┤
  │                           │ node_segment_idx  │ SegmentRoutingIds     │
  ├───────────────────────────┼───────────────────┼───────────────────────┤
  │ Loopback Interface Delete │ ↑ all deallocated │                       │
  ├───────────────────────────┼───────────────────┼───────────────────────┤
  │ Multicast Group Create    │ multicast_ip      │ MulticastGroupBlock   │
  ├───────────────────────────┼───────────────────┼───────────────────────┤
  │ Multicast Group Delete    │ ↑ deallocated     │                       │
  └───────────────────────────┴───────────────────┴───────────────────────┘

TODO

  • More tests

@vihu vihu marked this pull request as ready for review February 3, 2026 17:48
@vihu vihu changed the title [WIP] [DNM] e2e: RFC11 E2E tests e2e: RFC11 E2E tests Feb 3, 2026
@vihu vihu requested a review from elitegreg February 3, 2026 17:49
@vihu vihu changed the title e2e: RFC11 E2E tests e2e: Expand RFC11 end-to-end testing Feb 3, 2026
vihu added 5 commits February 3, 2026 21:58
- add sdk support for ResourceExtension deserialization
- add allocation verifier for snapshot-based testing
- add TestE2E_MulticastGroup_AllocationLifecycle
- add TestE2E_MultipleLinks_AllocationLifecycle
- add TestE2E_Link_OnchainAllocation
- add TestE2E_User_AllocationLifecycle for user connect/disconnect
- add TestE2E_Multicast_ReactivationPreservesAllocations (bug #2798
regression)
- add TestE2E_LoopbackInterface_AllocationLifecycle
- add SegmentRoutingIds tracking to allocation verifier
@vihu vihu enabled auto-merge (squash) February 3, 2026 17:59
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.

e2e tests: add resource account validation

2 participants