New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use unique epaira interface names #232
Conversation
b4febc5
to
7f1e147
Compare
@pizzamig This is what this looks like
|
93157e0
to
a84192a
Compare
Dual stack example in action:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small comments only
@grembo Where are we with this? |
on vacation, but I can look into it soon |
No rush, when you are back! Enjoy your time off! |
ec3fd96
to
c49f7ce
Compare
@pizzamig Did some basic tests after the latest change to confirm it still works (having some basic automatic tests would be great). |
In |
I implemented some pot testing for the FreeBSD sccache-dist patch (PR still pending): https://github.com/mozilla/sccache/pull/1184/files I could adapt that to run these tests using github actions. |
This changes the code to rename the epaira side of interfaces to a unique value and stores it in the status file. This has multiple advantages: - Removing the wrong interface highly unlikely - No need to poke into the running (or potentially dying) pot when stopping Note that dual stack isn't covered yet (wasn't with the previous either).
This changed the code to track multiple epais per running pot. It also enable inet6 on the epair interface in the startup script. I don't use pot with IPv6 myself, so I didn't test beyond "interface is created, pot comes up, interfaces get destroyed". It tries to get an IPv6 address using rtsol, DHCP6 support might be nice in the future (or static IP handling by potnet).
However I managed to only to one part of the change.
068e2ad
to
f38254e
Compare
@pizzamig Successful CI run: https://github.com/grembo/pot/actions/runs/3308124096 |
This changes the code to rename the epaira side of interfaces to a unique value and stores it in the status file.
This has multiple advantages:
Note that dual stack isn't covered yet (wasn't with the previous either).