Skip to content
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

Support for Erlang INET configuration #1474

Merged
merged 4 commits into from
Oct 18, 2023
Merged

Conversation

Zerpet
Copy link
Collaborator

@Zerpet Zerpet commented Oct 18, 2023

Note to reviewers: remember to look at the commits in this PR and consider if they can be squashed

Summary Of Changes

  • Support for configuring Erlang INET configuration
  • Support for configuring IP family policy in Service
  • Example to configure IPv6

Additional Context

Originally inspired by #1455. Main motivation is to ease the configuration of Erlang
to use IPv6

Local Testing

There are unit and integration tests. There are no system tests as IPv6 requires infrastructure
support for IPv6, which is not guaranteed.

Namespace and Namespaces fields are deprecated. The
recommendation is to use Options.Cache.Namespaces.

Signed-off-by: Aitor Perez Cedres <[email protected]>
Included as well cosmetic changes, and removed some redundant code.

Signed-off-by: Aitor Perez Cedres <[email protected]>
This is in the effort to support IPv6, and dual-stack
IPv4-IPv6

Signed-off-by: Aitor Perez Cedres <[email protected]>
Signed-off-by: Aitor Perez Cedres <[email protected]>
@Zerpet Zerpet self-assigned this Oct 18, 2023
@ablease ablease marked this pull request as ready for review October 18, 2023 15:16
@ablease
Copy link
Contributor

ablease commented Oct 18, 2023

Approved while pairing with Aitor, and tested on Kind. MERGE IT 👍

@Zerpet
Copy link
Collaborator Author

Zerpet commented Oct 18, 2023

The check that failed is a system test on the main branch of RabbitMQ server. This is fine because the main branch is going through a number of changes for 3.13 and some for 4.0, and it's expected to break some of our tests. The system tests pass in 3.9.9 (EOL'ed, but absolute minimum required by the Operator) and in rabbitmq:management, which is 3.12's latest patch.

@Zerpet Zerpet merged commit 9e9c42a into main Oct 18, 2023
@Zerpet Zerpet deleted the zerpet/erl_inetrc_configuration branch October 18, 2023 15:43
@Zerpet Zerpet added this to the v2.6.0 milestone Nov 20, 2023
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.

2 participants