Adoption mode: a node in use is adopted before it is converged (hq ADR 0100–0103) #20

Merged
jschoubben merged 52 commits from feat/adoption-mode into main 2026-09-22 19:01:47 +00:00
Showing only changes of commit 232ed74940 - Show all commits
+4 -4
View File
@@ -477,12 +477,12 @@ func words(rule string) []string {
// operator's rule now carries the mesh's mark — so removing the opening later would delete the // operator's rule now carries the mesh's mark — so removing the opening later would delete the
// operator's rule. The same holds for an incoming rule and for one with a comment of its own. // operator's rule. The same holds for an incoming rule and for one with a comment of its own.
type ufwRule struct { type ufwRule struct {
route bool route bool
action, in, out string action, in, out string
// dir is which way the rule matches: "" (ufw's default, incoming and forwarded), "in" or // dir is which way the rule matches: "" (ufw's default, incoming and forwarded), "in" or
// "out". A rule on the outgoing path admits nothing that arrives. // "out". A rule on the outgoing path admits nothing that arrives.
dir string dir string
log string log string
from, fromPort, to string from, fromPort, to string
port, proto, app string port, proto, app string
comment string comment string