test(routable): clarify return-path docs; drop dead test scaffolding
Document both forward and return legs of the 263xx transit chain in topology.py ROUTABLE_REFLECTORS comment block, making clear that natlde's routable entry toward natlit is the return-path hop and that the natlit→leaf final hop is carried by peer-interest (not a routable entry). Add inline note on natlde's entry. Drop ROUTABLE_NAMES from topology.py (dead — test files define their own sorted() locals, matching the REFLECTOR_NAMES/TWIN_NAMES convention). Remove duplicate sys.path.insert and unused COMPOSE_FILE/TESTS_DIR constants from test_routable.py. Add clarifying comment above the per-peer routable/blacklist injection in generate_configs.py. Generated configs are byte-identical; no topology routing changes.
This commit is contained in:
1 parent
2e0e501ca5
commit
46979c1f8b
3 files changed
+28
-11
No files matched your search
@@ -64,6 +64,8 @@ def generate_reflector_conf(name: str) -> str:
|
||||
f"SECRET={secret}",
|
||||
f"REMOTE_PREFIX={T.prefix_str(peer['prefix'])}",
|
||||
]
|
||||
# Optional per-peer routable/blacklist (used only by the ROUTABLE_REFLECTORS
|
||||
# topology; inert for the default mesh).
|
||||
routable = r.get("routable", {}).get(peer_name)
|
||||
if routable:
|
||||
lines.append(f"ROUTABLE_PREFIXES={','.join(routable)}")
|
||||
@@ -598,6 +600,8 @@ def generate_routable_reflector_conf(name: str) -> str:
|
||||
f"SECRET={secret}",
|
||||
f"REMOTE_PREFIX={T.prefix_str(peer['prefix'])}",
|
||||
]
|
||||
# Optional per-peer routable/blacklist (used only by the ROUTABLE_REFLECTORS
|
||||
# topology; inert for the default mesh).
|
||||
routable = r.get("routable", {}).get(peer_name)
|
||||
if routable:
|
||||
lines.append(f"ROUTABLE_PREFIXES={','.join(routable)}")
|
||||
|
||||
Reference in new issue
Block a user