Make the toolkit usable BY HAND without the `larry tools <name>` prefix. - bin/ of thin wrappers (tbn/tbp/tbh/tbpr/where/paths/route_test + a full-name passthrough per operator tool). Installer symlinks them into LARRY_BIN_DIR so `tbn adt` runs directly. Each resolves lib/ via bin/_nc_common.sh (LARRY_LIB_DIR -> ../lib -> $LARRY_HOME/lib) and execs the matching tool. - -h/--help on every wrapper. - bin/nc-completion.bash: dynamic bash completion, 3 levels (command / SITE / THREAD) enumerated LIVE from the NetConfig tree under $HCIROOT via the same lib/nc-parse.sh the tools use; cached per (HCIROOT, newest-NetConfig-mtime). Installer appends a guarded source line to the user's bash rc. - fixtures/integrator: durable 3-site demo (epic->ancout->codamx) with cross- site fan-out + fan-in and a multi-route inbound. RESOLVES the v0.9.3 fixture conflict: cross-site destination blocks are XS_*-prefixed so they never collide with a local protocol name (a collision makes nc-paths _xsite_down_targets suppress the cross-site hop, lib/nc-paths.sh:378). - DEFERRED: fetch-token.sh broker wiring (broker contract still finalizing). VERSION+LARRY_VERSION -> 0.9.4; MANIFEST regenerated (--check clean); bash -n clean; verified live on .135 (short commands off PATH + all 3 completion levels). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
66 lines
1.4 KiB
Plaintext
66 lines
1.4 KiB
Plaintext
# NetConfig — fixture site `ancout` (mid-chain relay).
|
|
#
|
|
# Receives the epic ADT feed on IB_ADT_muxS, routes intra-site to a local
|
|
# delivery thread, and ALSO re-hops cross-site into codamx — so the walker
|
|
# exercises a >2-site chain. Cross-site destination block is `XS_anc_to_codamx`
|
|
# (XS_ prefix, no protocol shares it).
|
|
#
|
|
# Chain (downstream from IB_ADT_muxS):
|
|
# IB_ADT_muxS --> OB_ADT_deliver (intra, local delivery leaf)
|
|
# IB_ADT_muxS --> RLY_ADT_codamx ==> codamx/IB_ADT_cmx (cross via XS_anc_to_codamx)
|
|
|
|
process recv_anc {
|
|
}
|
|
process route_anc {
|
|
}
|
|
|
|
protocol IB_ADT_muxS {
|
|
{ PROCESSNAME recv_anc }
|
|
{ PROTOCOL {
|
|
{ TYPE tcpip }
|
|
{ ISSERVER 1 }
|
|
{ PORT 62043 }
|
|
} }
|
|
{ DATAXLATE {
|
|
{ ROUTE {
|
|
{ ROUTE_DETAILS {
|
|
{ DEST OB_ADT_deliver }
|
|
} }
|
|
{ ROUTE_DETAILS {
|
|
{ DEST RLY_ADT_codamx }
|
|
} }
|
|
} }
|
|
} }
|
|
}
|
|
|
|
protocol OB_ADT_deliver {
|
|
{ PROCESSNAME route_anc }
|
|
{ PROTOCOL {
|
|
{ TYPE tcpip }
|
|
{ ISSERVER 0 }
|
|
{ PORT 9100 }
|
|
} }
|
|
}
|
|
|
|
protocol RLY_ADT_codamx {
|
|
{ PROCESSNAME route_anc }
|
|
{ PROTOCOL {
|
|
{ TYPE tcpip }
|
|
{ ISSERVER 0 }
|
|
{ PORT 62044 }
|
|
} }
|
|
{ DATAXLATE {
|
|
{ ROUTE {
|
|
{ ROUTE_DETAILS {
|
|
{ DEST XS_anc_to_codamx }
|
|
} }
|
|
} }
|
|
} }
|
|
}
|
|
|
|
destination XS_anc_to_codamx {
|
|
{ SITE codamx }
|
|
{ THREAD IB_ADT_cmx }
|
|
{ PORT 62044 }
|
|
}
|