Skip to content

aya: add support for netkit attachments#1553

Open
rcanderson23 wants to merge 2 commits into
aya-rs:mainfrom
rcanderson23:netkit-attachments
Open

aya: add support for netkit attachments#1553
rcanderson23 wants to merge 2 commits into
aya-rs:mainfrom
rcanderson23:netkit-attachments

Conversation

@rcanderson23
Copy link
Copy Markdown

@rcanderson23 rcanderson23 commented Apr 27, 2026

Adds support for netkit primary and peer attachments. This refactors the
attachments from one that covers tc and tcx and hiding the attachment
type from the user to making the user explicitly choose which attachment
they are using.

Added/updated tests?

We strongly encourage you to add a test for your changes.

  • Yes
  • No, and this is why: please replace this line with details on why tests
    have not been included
  • I need help with writing tests

Checklist

  • Rust code has been formatted with cargo +nightly fmt.
  • All clippy lints have been fixed.
    You can find failing lints with cargo xtask clippy.
  • Unit tests are passing locally with cargo test.
  • The Integration tests are passing locally.
  • I have blessed any API changes with cargo xtask public-api --bless.

(Optional) What GIF best describes this PR or how it makes you feel?


This change is Reviewable

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 27, 2026

Deploy Preview for aya-rs-docs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 29d185f
🔍 Latest deploy log https://app.netlify.com/projects/aya-rs-docs/deploys/6a0bd79b7f059a0008b8ee52
😎 Deploy Preview https://deploy-preview-1553--aya-rs-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@rcanderson23 rcanderson23 force-pushed the netkit-attachments branch 3 times, most recently from 918dbeb to 4dda68b Compare April 27, 2026 20:28
@rcanderson23 rcanderson23 marked this pull request as ready for review April 27, 2026 20:46
@rcanderson23 rcanderson23 requested a review from a team as a code owner April 27, 2026 20:46
Adds support for netkit primary and peer attachments. This refactors the
attachments from one that covers tc and tcx and hiding the attachment
type from the user to making the user explicitly choose which attachment
they are using.

Closes: aya-rs#1540
Adds netkit and ifindex helpers for netkit related tests.
Adds query_netkit to match query_tcx used in integration tests.
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.

1 participant