WIP: add rpc_public_addr_subnet config option #817

Draft
flokli wants to merge 1 commits from flokli/garage:rpc_public_addr_subnet into main
Contributor

In case rpc_public_addr is not set, but autodiscovery is used, this
allows filtering the list of automatically discovered IPs to a specific
subnet.

For example, if nodes should pick their IP inside a specific subnet,
but you don't want to explicitly write the IP down (as it's dynamic, or
you want to share configs across nodes), you can use this option.

Fixes #811.

In case `rpc_public_addr` is not set, but autodiscovery is used, this allows filtering the list of automatically discovered IPs to a specific subnet. For example, if nodes should pick *their* IP inside a specific subnet, but you don't want to explicitly write the IP down (as it's dynamic, or you want to share configs across nodes), you can use this option. Fixes https://git.deuxfleurs.fr/Deuxfleurs/garage/issues/811.
flokli added 1 commit 2024-04-23 09:18:19 +00:00
ci/woodpecker/pr/debug Pipeline failed Details
79729da4af
add rpc_public_addr_subnet config option
In case `rpc_public_addr` is not set, but autodiscovery is used, this
allows filtering the list of automatically discovered IPs to a specific
subnet.

For example, if nodes should pick *their* IP inside a specific subnet,
but you don't want to explicitly write the IP down (as it's dynamic, or
you want to share configs across nodes), you can use this option.
flokli changed title from add rpc_public_addr_subnet config option to WIP: add rpc_public_addr_subnet config option 2024-04-23 09:18:25 +00:00
flokli reviewed 2024-04-23 09:24:56 +00:00
Cargo.toml Outdated
@ -55,6 +55,7 @@ hexdump = "0.1"
hmac = "0.12"
idna = "0.5"
itertools = "0.12"
ipnet = "2.9.0"
Author
Contributor

This was already in the list of dependencies (through reqwest), but we now explicitly depend on it, too.

This was already in the list of dependencies (through `reqwest`), but we now explicitly depend on it, too.
flokli force-pushed rpc_public_addr_subnet from 79729da4af to 3dc836afcb 2024-04-23 09:38:18 +00:00 Compare
All checks were successful
ci/woodpecker/pr/debug Pipeline was successful
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
Sign in to join this conversation.
No description provided.