Commit 9c06846
committed
feat: change the way excluded addresses are specified
The previous PR change has never been released, so it's still fine to
change the structure.
Instead of relying on filter expression which is somewhat confusing, and
it doesn't allow proper exclusion of subnets (it matches on the address
part of the subnet only).
With this change, we can do the following:
1. The machine advertises address "10.0.0.0/8".
2. By default the whole "/8" block will be advertised.
3. We can make exclusion subnet "10.0.128.0/9", which will reduce
advertised addresses to "10.0.0.0/9".
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>1 parent f71a14a commit 9c06846
File tree
3 files changed
+64
-46
lines changed- api/v1alpha1/client
- pb
3 files changed
+64
-46
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments