docs(routable): fix README link section-name match; note restart semantics; tighten wildcard wording
This commit is contained in:
1 parent
013040d1fb
commit
66f88a2f00
2 files changed
+11
-4
No files matched your search
@@ -292,6 +292,10 @@ interest, regardless of `ROUTABLE_PREFIXES`.
|
|||||||
(longest-prefix-match: the more specific routable prefix wins). Point such a
|
(longest-prefix-match: the more specific routable prefix wins). Point such a
|
||||||
prefix at the reflector that actually owns those TGs.
|
prefix at the reflector that actually owns those TGs.
|
||||||
|
|
||||||
|
**Runtime note:** the mesh-wide prefix set used for transit is built at startup,
|
||||||
|
so changing `ROUTABLE_PREFIXES` takes full effect on reflector restart (as with
|
||||||
|
`REMOTE_PREFIX`).
|
||||||
|
|
||||||
Example — four-node chain where `leaf` (prefix `222100`) needs to reach TG
|
Example — four-node chain where `leaf` (prefix `222100`) needs to reach TG
|
||||||
`263xx` owned by `far` (prefix `263`), transiting through both `natlit`
|
`263xx` owned by `far` (prefix `263`), transiting through both `natlit`
|
||||||
(prefix `222`) and `natlde` (prefix `262`):
|
(prefix `222`) and `natlde` (prefix `262`):
|
||||||
@@ -311,8 +315,10 @@ SECRET=secret_natlit_natlde
|
|||||||
REMOTE_PREFIX=262
|
REMOTE_PREFIX=262
|
||||||
ROUTABLE_PREFIXES=263
|
ROUTABLE_PREFIXES=263
|
||||||
|
|
||||||
# On natlde — transit 263 back toward natlit (return path) and onward to far
|
# On natlde — transit 263 back toward natlit (return path).
|
||||||
[TRUNK_NATLDE_NATLIT]
|
# The section name MUST be identical on both ends of a link (see section 4),
|
||||||
|
# so natlde's trunk to natlit reuses the same [TRUNK_NATLIT_NATLDE] name.
|
||||||
|
[TRUNK_NATLIT_NATLDE]
|
||||||
HOST=natlit.example.com
|
HOST=natlit.example.com
|
||||||
SECRET=secret_natlit_natlde
|
SECRET=secret_natlit_natlde
|
||||||
REMOTE_PREFIX=222
|
REMOTE_PREFIX=222
|
||||||
|
|||||||
@@ -221,8 +221,9 @@ participate in longest-prefix-match just like native prefixes:
|
|||||||
lowest-precedence prefix — a real prefix always wins — and is **never** added to
|
lowest-precedence prefix — a real prefix always wins — and is **never** added to
|
||||||
`m_all_prefixes`. As a result:
|
`m_all_prefixes`. As a result:
|
||||||
|
|
||||||
- `isSharedTG` admits any TG via a `*`-configured link for local-client forwarding
|
- `isSharedTG` admits via a `*`-configured link any TG not claimed by a longer
|
||||||
and interest advertisement.
|
real prefix in `m_all_prefixes`, for local-client forwarding and interest
|
||||||
|
advertisement (a real prefix always wins over the zero-length wildcard).
|
||||||
- `hasPrefixRoute` is **not** set for `*`-matched TGs, so `shouldRelayInbound` does
|
- `hasPrefixRoute` is **not** set for `*`-matched TGs, so `shouldRelayInbound` does
|
||||||
not trigger the gateway arm. Wildcard-routed frames are delivered locally but
|
not trigger the gateway arm. Wildcard-routed frames are delivered locally but
|
||||||
never transited between trunks.
|
never transited between trunks.
|
||||||
|
|||||||
Reference in new issue
Block a user