Add option to disable IPv6#2826
Conversation
|
Looks good except for comments. "Since the udp_beacon is only IPv6," |
|
Thanks @kasemir for reviewing. |
|
Thanks. It looks like you need to submit the review? Your comments are in "Pending". |
core/pva/src/main/java/org/epics/pva/client/ClientUDPHandler.java
Outdated
Show resolved
Hide resolved
core/pva/src/main/java/org/epics/pva/client/ClientUDPHandler.java
Outdated
Show resolved
Hide resolved
core/pva/src/main/java/org/epics/pva/client/ClientUDPHandler.java
Outdated
Show resolved
Hide resolved
core/pva/src/main/java/org/epics/pva/client/ClientUDPHandler.java
Outdated
Show resolved
Hide resolved
|
Ah, submit, thanks! |
bd54a17 to
00ff6a3
Compare
00ff6a3 to
61576f1
Compare
|
Hi, I just added some extra code to make this flag work during tests, so you can run the phoebus tests in a non ipv6 environment. I think this PR should be good to merge now, unless you have some more review comments. |
core/pva/src/main/java/org/epics/pva/server/ServerUDPHandler.java
Outdated
Show resolved
Hide resolved
|
Great, just waiting for the build test to pass... |

This PR addresses issue #2825. It adds in a new config option
EPICS_PVA_ENABLE_IPV6. The intention of this is to allow completely disabling any IPv6 functionality. Right now, the current behaviour is even if you do not configure any IPv6 addresses , channels with IPv6 are still created. This causes problems as even if you do not intend to use IPv6, as you still must have this functionality in your system to run the PVA client. This is problematic in our case, as we have a containerized setup which doesn't support IPv6, which we encountered when trying to run pvws.I don't have very much familiarity with the Phoebus codebase so I have some questions moving forward.
ClientUDPHandlerwith this config option. Is there anywhere else in the codebase I should also disable IPv6 relevant things?udp_beaconis only IPv6, currently this is just not created with this config option. Should I create it with IPv4, or is it not strictly necessary?pva/src/testfolder?