Directories
¶
| Path | Synopsis |
|---|---|
|
Package aaa defines the pluggable AAA (Authentication, Authorization, Accounting) backend layer.
|
Package aaa defines the pluggable AAA (Authentication, Authorization, Accounting) backend layer. |
|
all
Package all blank-imports every AAA backend so their init() functions fire and aaa.Default contains the backend factories.
|
Package all blank-imports every AAA backend so their init() functions fire and aaa.Default contains the backend factories. |
|
cmd
Package cmd registers engine-side RPC handlers for the AAA component's CLI surface.
|
Package cmd registers engine-side RPC handlers for the AAA component's CLI surface. |
|
Design: docs/features/ai-first.md -- AI reference assembly (single source of truth)
|
Design: docs/features/ai-first.md -- AI reference assembly (single source of truth) |
|
Package api provides the shared command-execution engine backing the REST and gRPC transports.
|
Package api provides the shared command-execution engine backing the REST and gRPC transports. |
|
grpc
Design: docs/architecture/api/architecture.md -- gRPC API transport
|
Design: docs/architecture/api/architecture.md -- gRPC API transport |
|
grpc/yang
Package yang embeds and registers the gRPC transport YANG configuration module.
|
Package yang embeds and registers the gRPC transport YANG configuration module. |
|
rest
Design: docs/architecture/api/architecture.md -- REST API transport Related: auth.go -- the per-request credential gate and the reload seam that replaces it
|
Design: docs/architecture/api/architecture.md -- REST API transport Related: auth.go -- the per-request credential gate and the reload seam that replaces it |
|
rest/yang
Package yang embeds and registers the REST transport YANG configuration module.
|
Package yang embeds and registers the REST transport YANG configuration module. |
|
yang
Package yang embeds and registers the API YANG configuration module.
|
Package yang embeds and registers the API YANG configuration module. |
|
Package authz provides profile-based command authorization.
|
Package authz provides profile-based command authorization. |
|
yang
Package yang embeds and registers the authorization YANG configuration module.
|
Package yang embeds and registers the authorization YANG configuration module. |
|
Design: rfc/short/rfc5880.md -- BFD plugin entry point Design: docs/research/bfd-implementation-guide.md -- ze plugin layout Detail: config.go -- parser for the YANG bfd container
|
Design: rfc/short/rfc5880.md -- BFD plugin entry point Design: docs/research/bfd-implementation-guide.md -- ze plugin layout Detail: config.go -- parser for the YANG bfd container |
|
api
Package api defines the BFD engine's client-facing service interface for requesting sessions and receiving state changes.
|
Package api defines the BFD engine's client-facing service interface for requesting sessions and receiving state changes. |
|
auth
Package auth implements BFD packet authentication signers and verifiers per RFC 5880.
|
Package auth implements BFD packet authentication signers and verifiers per RFC 5880. |
|
cmd
Design: docs/architecture/bfd.md -- BFD CLI handlers
|
Design: docs/architecture/bfd.md -- BFD CLI handlers |
|
engine
Design: rfc/short/rfc5880.md -- Echo Function (Section 6.4) Related: loop.go -- express-loop goroutine that drains the echo RX channel Related: ../packet/echo.go -- ZEEC envelope codec Related: ../session/timers.go -- EchoInterval / NextEchoTxDeadline / AdvanceEcho
|
Design: rfc/short/rfc5880.md -- Echo Function (Section 6.4) Related: loop.go -- express-loop goroutine that drains the echo RX channel Related: ../packet/echo.go -- ZEEC envelope codec Related: ../session/timers.go -- EchoInterval / NextEchoTxDeadline / AdvanceEcho |
|
packet
Design: rfc/short/rfc5880.md -- Authentication Section (Section 4.2-4.4) Related: control.go -- 24-byte mandatory section codec
|
Design: rfc/short/rfc5880.md -- Authentication Section (Section 4.2-4.4) Related: control.go -- 24-byte mandatory section codec |
|
session
Design: rfc/short/rfc5880.md -- Section 6.7 (authentication integration) Related: session.go -- Machine state and identity Related: fsm.go -- reception procedure that drives Verify
|
Design: rfc/short/rfc5880.md -- Section 6.7 (authentication integration) Related: session.go -- Machine state and identity Related: fsm.go -- reception procedure that drives Verify |
|
transport
Design: rfc/short/rfc5881.md -- single-hop UDP encapsulation Design: rfc/short/rfc5883.md -- multi-hop UDP encapsulation Related: udp.go -- IPv4 UDP transport wrapped by Dual Related: socket.go -- Transport interface contract
|
Design: rfc/short/rfc5881.md -- single-hop UDP encapsulation Design: rfc/short/rfc5883.md -- multi-hop UDP encapsulation Related: udp.go -- IPv4 UDP transport wrapped by Dual Related: socket.go -- Transport interface contract |
|
yang
Package yang embeds and registers the BFD YANG configuration and command modules.
|
Package yang embeds and registers the BFD YANG configuration and command modules. |
|
Package bgp provides shared types and event parsing for the BGP subsystem.
|
Package bgp provides shared types and event parsing for the BGP subsystem. |
|
attrpool
Package attrpool provides refcounted, deduplicating attribute pools for BGP path attributes.
|
Package attrpool provides refcounted, deduplicating attribute pools for BGP path attributes. |
|
blackholecfg
Package blackholecfg reads the per-peer `blackhole` container of a BGP config subtree.
|
Package blackholecfg reads the per-peer `blackhole` container of a BGP config subtree. |
|
cli
Design: docs/architecture/core-design.md — BGP CLI commands Detail: cmd_plugin.go — plugin CLI simulator subcommand
|
Design: docs/architecture/core-design.md — BGP CLI commands Detail: cmd_plugin.go — plugin CLI simulator subcommand |
|
cli/yang
Package yang embeds and registers the BGP tools CLI command YANG module.
|
Package yang embeds and registers the BGP tools CLI command YANG module. |
|
config
Package bgpconfig converts BGP configuration trees into peer definitions and route attributes.
|
Package bgpconfig converts BGP configuration trees into peer definitions and route attributes. |
|
configjson
Package configjson provides shared helpers for traversing BGP config JSON delivered to plugins at Stage 2 (configure callback).
|
Package configjson provides shared helpers for traversing BGP config JSON delivered to plugins at Stage 2 (configure callback). |
|
filter
Package filter implements BGP route filtering based on attribute matching rules.
|
Package filter implements BGP route filtering based on attribute matching rules. |
|
filterapi
Design: docs/architecture/bgp/fanout-dedup.md -- fingerprint the edit set, confirm by equality Overview: filterapi.go -- ModAccumulator, whose state this encodes Related: editset.go -- the rebuild plan the digest predicts the output of
|
Design: docs/architecture/bgp/fanout-dedup.md -- fingerprint the edit set, confirm by equality Overview: filterapi.go -- ModAccumulator, whose state this encodes Related: editset.go -- the rebuild plan the digest predicts the output of |
|
filtertext
Package filtertext reads one attribute out of the policy filter text format.
|
Package filtertext reads one attribute out of the policy filter text format. |
|
format
Package format provides JSON and text formatting of BGP messages directly from wire bytes.
|
Package format provides JSON and text formatting of BGP messages directly from wire bytes. |
|
fsm
Package fsm implements the BGP Finite State Machine per RFC 4271 Section 8, managing peer state transitions, timers, and session lifecycle events.
|
Package fsm implements the BGP Finite State Machine per RFC 4271 Section 8, managing peer state transitions, timers, and session lifecycle events. |
|
grmarker
Design: docs/architecture/core-design.md -- GR restart marker for Restarting Speaker detection
|
Design: docs/architecture/core-design.md -- GR restart marker for Restarting Speaker detection |
|
message
Design: docs/architecture/wire/messages.md — BGP message types Related: update_build.go — UPDATE builder infrastructure
|
Design: docs/architecture/wire/messages.md — BGP message types Related: update_build.go — UPDATE builder infrastructure |
|
plugins/adj_rib_in
Design: docs/architecture/plugin/rib-storage-design.md — Adj-RIB-In raw hex storage RFC: rfc/short/rfc4271.md -- Adj-RIBs-In stores unprocessed routing information Detail: rib_commands.go — command handlers (status, show, replay, validation) Detail: rib_validation.go — RPKI validation gate (pending routes, timeout, state constants)
|
Design: docs/architecture/plugin/rib-storage-design.md — Adj-RIB-In raw hex storage RFC: rfc/short/rfc4271.md -- Adj-RIBs-In stores unprocessed routing information Detail: rib_commands.go — command handlers (status, show, replay, validation) Detail: rib_validation.go — RPKI validation gate (pending routes, timeout, state constants) |
|
plugins/adj_rib_in/yang
Package yang embeds and registers the adj-rib-in API YANG module.
|
Package yang embeds and registers the adj-rib-in API YANG module. |
|
plugins/aigp
Design: (none -- predates documentation) RFC: rfc/short/rfc7311.md
|
Design: (none -- predates documentation) RFC: rfc/short/rfc7311.md |
|
plugins/bmp
Design: docs/architecture/core-design.md -- BGP plugin model
|
Design: docs/architecture/core-design.md -- BGP plugin model |
|
plugins/bmp/yang
Package yang embeds and registers the BMP command and configuration YANG modules.
|
Package yang embeds and registers the BMP command and configuration YANG modules. |
|
plugins/cmd/announce
Package announce implements the on-demand BGP route origination command handlers.
|
Package announce implements the on-demand BGP route origination command handlers. |
|
plugins/cmd/announce/yang
Package yang embeds and registers the BGP announce command and API YANG modules.
|
Package yang embeds and registers the BGP announce command and API YANG modules. |
|
plugins/cmd/cache
Package cache implements the BGP cache operation command handlers.
|
Package cache implements the BGP cache operation command handlers. |
|
plugins/cmd/cache/yang
Package yang embeds and registers the YANG schema modules for the cache command.
|
Package yang embeds and registers the YANG schema modules for the cache command. |
|
plugins/cmd/commit
Package commit implements the BGP commit command that manages named route commit transactions.
|
Package commit implements the BGP commit command that manages named route commit transactions. |
|
plugins/cmd/commit/yang
Package yang embeds and registers the YANG schema modules for the commit command.
|
Package yang embeds and registers the YANG schema modules for the commit command. |
|
plugins/cmd/monitor
Design: docs/architecture/api/commands.md — BGP monitor command handlers
|
Design: docs/architecture/api/commands.md — BGP monitor command handlers |
|
plugins/cmd/monitor/yang
Package yang embeds and registers the YANG schema modules for the monitor command.
|
Package yang embeds and registers the YANG schema modules for the monitor command. |
|
plugins/cmd/peer
Package peer provides BGP peer lifecycle and introspection command handlers for the plugin server.
|
Package peer provides BGP peer lifecycle and introspection command handlers for the plugin server. |
|
plugins/cmd/peer/yang
Package yang embeds and registers the YANG schema modules for the peer command.
|
Package yang embeds and registers the YANG schema modules for the peer command. |
|
plugins/cmd/policy
Package policy implements the show policy commands that inspect policy chains and dry-run policy evaluation.
|
Package policy implements the show policy commands that inspect policy chains and dry-run policy evaluation. |
|
plugins/cmd/policy/yang
Package yang embeds and registers the YANG schema module for the policy command.
|
Package yang embeds and registers the YANG schema module for the policy command. |
|
plugins/cmd/raw
Design: docs/architecture/api/commands.md — BGP raw message command handler
|
Design: docs/architecture/api/commands.md — BGP raw message command handler |
|
plugins/cmd/raw/yang
Package yang embeds and registers the YANG schema modules for the raw command.
|
Package yang embeds and registers the YANG schema modules for the raw command. |
|
plugins/cmd/rib
Design: docs/architecture/api/commands.md — RIB CLI proxy handlers
|
Design: docs/architecture/api/commands.md — RIB CLI proxy handlers |
|
plugins/cmd/rib/yang
Package yang embeds and registers the YANG schema modules for the rib command.
|
Package yang embeds and registers the YANG schema modules for the rib command. |
|
plugins/cmd/update
Design: docs/architecture/bgp/replay-cursor.md -- stateful cursor for replay batching Overview: update_text.go — handleUpdate dispatch, parsedAttrs, snapshot, parseCommonAttributeText Related: update_text_nlri.go — parseNLRISection (reused unchanged)
|
Design: docs/architecture/bgp/replay-cursor.md -- stateful cursor for replay batching Overview: update_text.go — handleUpdate dispatch, parsedAttrs, snapshot, parseCommonAttributeText Related: update_text_nlri.go — parseNLRISection (reused unchanged) |
|
plugins/cmd/update/yang
Package yang embeds and registers the YANG schema modules for the update command.
|
Package yang embeds and registers the YANG schema modules for the update command. |
|
plugins/filter_aspath
Design: docs/architecture/core-design.md -- AS-path filter config parsing Related: match.go -- AS-path regex matching algorithm Related: filter_aspath.go -- SDK entry point and handleFilterUpdate
|
Design: docs/architecture/core-design.md -- AS-path filter config parsing Related: match.go -- AS-path regex matching algorithm Related: filter_aspath.go -- SDK entry point and handleFilterUpdate |
|
plugins/filter_aspath/yang
Package yang embeds and registers the YANG schema module for the aspath filter.
|
Package yang embeds and registers the YANG schema module for the aspath filter. |
|
plugins/filter_aspath_length/yang
Package yang embeds and registers the YANG schema module for the aspath-length filter.
|
Package yang embeds and registers the YANG schema module for the aspath-length filter. |
|
plugins/filter_community
Package filter_community implements the bgp-filter-community plugin.
|
Package filter_community implements the bgp-filter-community plugin. |
|
plugins/filter_community/yang
Package yang embeds and registers the community-filter plugin's YANG configuration schema module.
|
Package yang embeds and registers the community-filter plugin's YANG configuration schema module. |
|
plugins/filter_community_match
Design: docs/architecture/core-design.md -- community match filter config parsing Related: match.go -- community matching algorithm Related: filter_community_match.go -- SDK entry point and handleFilterUpdate
|
Design: docs/architecture/core-design.md -- community match filter config parsing Related: match.go -- community matching algorithm Related: filter_community_match.go -- SDK entry point and handleFilterUpdate |
|
plugins/filter_community_match/yang
Package yang embeds and registers the YANG schema module for the community-match filter.
|
Package yang embeds and registers the YANG schema module for the community-match filter. |
|
plugins/filter_family
Design: docs/architecture/core-design.md -- address-family policy filter Related: config.go -- bgp/policy/family-filter config parsing + tear-down-in-export guard Related: match.go -- family extraction from the raw UPDATE body Related: handler.go -- per-update remove / tear-down decision RFC: rfc/short/rfc4760.md -- multiprotocol families (Section 6) RFC: rfc/short/rfc4271.md -- NOTIFICATION + session close (Section 6)
|
Design: docs/architecture/core-design.md -- address-family policy filter Related: config.go -- bgp/policy/family-filter config parsing + tear-down-in-export guard Related: match.go -- family extraction from the raw UPDATE body Related: handler.go -- per-update remove / tear-down decision RFC: rfc/short/rfc4760.md -- multiprotocol families (Section 6) RFC: rfc/short/rfc4271.md -- NOTIFICATION + session close (Section 6) |
|
plugins/filter_family/yang
Package yang embeds and registers the family-filter plugin's YANG configuration schema module.
|
Package yang embeds and registers the family-filter plugin's YANG configuration schema module. |
|
plugins/filter_irr/yang
Package yang embeds and registers the IRR-filter plugin's YANG configuration schema modules.
|
Package yang embeds and registers the IRR-filter plugin's YANG configuration schema modules. |
|
plugins/filter_modify
Design: docs/architecture/core-design.md -- route modify filter config parsing Related: modify.go -- delta building and attribute encoding Related: filter_modify.go -- SDK entry point and handleFilterUpdate
|
Design: docs/architecture/core-design.md -- route modify filter config parsing Related: modify.go -- delta building and attribute encoding Related: filter_modify.go -- SDK entry point and handleFilterUpdate |
|
plugins/filter_modify/yang
Package yang embeds and registers the modify-filter plugin's YANG configuration schema module.
|
Package yang embeds and registers the modify-filter plugin's YANG configuration schema module. |
|
plugins/filter_prefix
Design: docs/architecture/core-design.md -- prefix-list filter plugin Detail: match.go -- prefix matching algorithm and update evaluator Detail: config.go -- bgp/policy/prefix-list config parsing
|
Design: docs/architecture/core-design.md -- prefix-list filter plugin Detail: match.go -- prefix matching algorithm and update evaluator Detail: config.go -- bgp/policy/prefix-list config parsing |
|
plugins/filter_prefix/yang
Package yang embeds and registers the prefix-filter plugin's YANG configuration schema module.
|
Package yang embeds and registers the prefix-filter plugin's YANG configuration schema module. |
|
plugins/filter_remove_private_as/yang
Package yang embeds and registers the remove-private-AS filter plugin's YANG configuration schema module.
|
Package yang embeds and registers the remove-private-AS filter plugin's YANG configuration schema module. |
|
plugins/gr
Design: docs/architecture/core-design.md — graceful restart plugin RFC: rfc/short/rfc4724.md RFC: rfc/short/rfc9494.md Detail: gr_state.go — GR state machine (per-peer timers, stale family tracking) Detail: gr_llgr.go — LLGR capability decode, config extraction, CLI decode (RFC 9494)
|
Design: docs/architecture/core-design.md — graceful restart plugin RFC: rfc/short/rfc4724.md RFC: rfc/short/rfc9494.md Detail: gr_state.go — GR state machine (per-peer timers, stale family tracking) Detail: gr_llgr.go — LLGR capability decode, config extraction, CLI decode (RFC 9494) |
|
plugins/gr/yang
Package yang embeds and registers the graceful-restart plugin's YANG configuration schema module.
|
Package yang embeds and registers the graceful-restart plugin's YANG configuration schema module. |
|
plugins/healthcheck
Design: docs/architecture/bgp/healthcheck-plugin.md -- healthcheck config parsing Overview: healthcheck.go -- plugin lifecycle and probe management
|
Design: docs/architecture/bgp/healthcheck-plugin.md -- healthcheck config parsing Overview: healthcheck.go -- plugin lifecycle and probe management |
|
plugins/healthcheck/yang
Package yang embeds and registers the healthcheck plugin's YANG configuration schema module.
|
Package yang embeds and registers the healthcheck plugin's YANG configuration schema module. |
|
plugins/hostname
Design: docs/architecture/core-design.md — hostname capability plugin
|
Design: docs/architecture/core-design.md — hostname capability plugin |
|
plugins/hostname/yang
Package yang embeds and registers the hostname plugin's YANG configuration schema module.
|
Package yang embeds and registers the hostname plugin's YANG configuration schema module. |
|
plugins/llnh
Design: docs/architecture/core-design.md — link-local next-hop plugin RFC: rfc/short/rfc5549.md
|
Design: docs/architecture/core-design.md — link-local next-hop plugin RFC: rfc/short/rfc5549.md |
|
plugins/llnh/yang
Package yang embeds and registers the link-local-nexthop plugin's YANG configuration schema module.
|
Package yang embeds and registers the link-local-nexthop plugin's YANG configuration schema module. |
|
plugins/nlri/evpn
Design: docs/architecture/wire/nlri-evpn.md — EVPN NLRI plugin RFC: rfc/short/rfc7432.md
|
Design: docs/architecture/wire/nlri-evpn.md — EVPN NLRI plugin RFC: rfc/short/rfc7432.md |
|
plugins/nlri/flowspec
Design: docs/architecture/wire/nlri-flowspec.md — FlowSpec NLRI plugin RFC: rfc/short/rfc5575.md Detail: plugin_decode.go — wire-to-JSON decoding and formatting Detail: plugin_encode_text.go — text-to-wire encoding Detail: plugin_protocol.go — stdin/stdout protocol dispatch
|
Design: docs/architecture/wire/nlri-flowspec.md — FlowSpec NLRI plugin RFC: rfc/short/rfc5575.md Detail: plugin_decode.go — wire-to-JSON decoding and formatting Detail: plugin_encode_text.go — text-to-wire encoding Detail: plugin_protocol.go — stdin/stdout protocol dispatch |
|
plugins/nlri/labeled
Design: docs/architecture/wire/nlri.md — labeled unicast NLRI plugin RFC: rfc/short/rfc8277.md
|
Design: docs/architecture/wire/nlri.md — labeled unicast NLRI plugin RFC: rfc/short/rfc8277.md |
|
plugins/nlri/ls
Design: docs/architecture/wire/nlri-bgpls.md — BGP-LS attribute TLV framework RFC: rfc/short/rfc7752.md — BGP-LS attribute type 29 TLV format Overview: types.go — core types, TLV constants, and helper functions Detail: attr_node.go — node attribute TLV types Detail: attr_link.go — link attribute TLV types Detail: attr_prefix.go — prefix attribute TLV types Detail: attr_srv6.go — SRv6 attribute TLV types Detail: register_attr.go — attribute TLV registration
|
Design: docs/architecture/wire/nlri-bgpls.md — BGP-LS attribute TLV framework RFC: rfc/short/rfc7752.md — BGP-LS attribute type 29 TLV format Overview: types.go — core types, TLV constants, and helper functions Detail: attr_node.go — node attribute TLV types Detail: attr_link.go — link attribute TLV types Detail: attr_prefix.go — prefix attribute TLV types Detail: attr_srv6.go — SRv6 attribute TLV types Detail: register_attr.go — attribute TLV registration |
|
plugins/nlri/mup
Design: docs/architecture/wire/nlri.md — MUP NLRI prefix encoding helpers RFC: rfc/short/draft-ietf-bess-mup-safi.md — MUP SAFI encoding
|
Design: docs/architecture/wire/nlri.md — MUP NLRI prefix encoding helpers RFC: rfc/short/draft-ietf-bess-mup-safi.md — MUP SAFI encoding |
|
plugins/nlri/mvpn
Design: docs/architecture/wire/nlri.md — MVPN NLRI plugin
|
Design: docs/architecture/wire/nlri.md — MVPN NLRI plugin |
|
plugins/nlri/rtc
Design: docs/architecture/wire/nlri.md — route target constraint plugin RFC: rfc/short/rfc4684.md
|
Design: docs/architecture/wire/nlri.md — route target constraint plugin RFC: rfc/short/rfc4684.md |
|
plugins/nlri/srpolicy
Design: docs/architecture/wire/nlri.md -- SR-Policy NLRI plugin RFC: rfc/short/rfc9830.md -- SR-Policy NLRI wire format (SAFI 73)
|
Design: docs/architecture/wire/nlri.md -- SR-Policy NLRI plugin RFC: rfc/short/rfc9830.md -- SR-Policy NLRI wire format (SAFI 73) |
|
plugins/nlri/vpls
Design: docs/architecture/wire/nlri.md — VPLS NLRI plugin RFC: rfc/short/rfc4761.md
|
Design: docs/architecture/wire/nlri.md — VPLS NLRI plugin RFC: rfc/short/rfc4761.md |
|
plugins/nlri/vpn
Design: docs/architecture/wire/nlri.md — VPN NLRI plugin RFC: rfc/short/rfc4364.md
|
Design: docs/architecture/wire/nlri.md — VPN NLRI plugin RFC: rfc/short/rfc4364.md |
|
plugins/rib
Design: docs/architecture/plugin/rib-storage-design.md — best-path selection Overview: rib.go — RIB plugin core types and event handlers Related: rib_attr_format.go — attribute formatting (asPathLength, firstASInPath shared concern) Related: rib_commands.go — extractCandidate, gatherCandidates Related: rib_pipeline_best.go — best-path pipeline for show bgp rib best commands Related: rib_bestchange.go — best-path change tracking and Bus publishing
|
Design: docs/architecture/plugin/rib-storage-design.md — best-path selection Overview: rib.go — RIB plugin core types and event handlers Related: rib_attr_format.go — attribute formatting (asPathLength, firstASInPath shared concern) Related: rib_commands.go — extractCandidate, gatherCandidates Related: rib_pipeline_best.go — best-path pipeline for show bgp rib best commands Related: rib_bestchange.go — best-path change tracking and Bus publishing |
|
plugins/rib/pool
Package pool holds the per-attribute-type BGP path-attribute pools used for fine-grained RIB deduplication.
|
Package pool holds the per-attribute-type BGP path-attribute pools used for fine-grained RIB deduplication. |
|
plugins/rib/storage
Package storage implements the per-peer, per-family RIB storage with per-attribute-type deduplication.
|
Package storage implements the per-peer, per-family RIB storage with per-attribute-type deduplication. |
|
plugins/rib/yang
Package yang embeds and registers the BGP RIB YANG schema modules.
|
Package yang embeds and registers the BGP RIB YANG schema modules. |
|
plugins/role
Design: docs/architecture/core-design.md — BGP role plugin RFC: rfc/short/rfc9234.md Detail: otc.go — OTC attribute processing (ingress/egress) Detail: config.go — per-peer role config parsing (import/export)
|
Design: docs/architecture/core-design.md — BGP role plugin RFC: rfc/short/rfc9234.md Detail: otc.go — OTC attribute processing (ingress/egress) Detail: config.go — per-peer role config parsing (import/export) |
|
plugins/role/yang
Package yang embeds and registers the BGP role YANG schema module.
|
Package yang embeds and registers the BGP role YANG schema module. |
|
plugins/route_refresh
Design: docs/architecture/core-design.md — route refresh capability plugin RFC: rfc/short/rfc2918.md — route refresh capability RFC: rfc/short/rfc7313.md — enhanced route refresh
|
Design: docs/architecture/core-design.md — route refresh capability plugin RFC: rfc/short/rfc2918.md — route refresh capability RFC: rfc/short/rfc7313.md — enhanced route refresh |
|
plugins/route_refresh/handler
Design: docs/architecture/api/commands.md — BGP route refresh command handlers Overview: ../register.go — bgp-route-refresh SDK plugin registration
|
Design: docs/architecture/api/commands.md — BGP route refresh command handlers Overview: ../register.go — bgp-route-refresh SDK plugin registration |
|
plugins/route_refresh/yang
Package yang embeds and registers the BGP route-refresh YANG schema modules.
|
Package yang embeds and registers the BGP route-refresh YANG schema modules. |
|
plugins/rpki
Design: docs/architecture/plugin/rib-storage-design.md -- ASPA record cache Overview: rpki.go -- plugin using this cache for ASPA path verification Related: roa_cache.go -- ROA cache following the same pattern
|
Design: docs/architecture/plugin/rib-storage-design.md -- ASPA record cache Overview: rpki.go -- plugin using this cache for ASPA path verification Related: roa_cache.go -- ROA cache following the same pattern |
|
plugins/rpki/yang
Package yang embeds and registers the RPKI YANG schema module.
|
Package yang embeds and registers the RPKI YANG schema module. |
|
plugins/rpki_decorator
Package rpki_decorator provides the bgp-rpki-decorator plugin.
|
Package rpki_decorator provides the bgp-rpki-decorator plugin. |
|
plugins/rpki_decorator/yang
Package yang embeds and registers the RPKI decorator YANG schema module.
|
Package yang embeds and registers the RPKI decorator YANG schema module. |
|
plugins/rr/yang
Package yang embeds and registers the BGP route-reflector command YANG schema module.
|
Package yang embeds and registers the BGP route-reflector command YANG schema module. |
|
plugins/rs/yang
Package yang embeds and registers the BGP route-server configuration YANG schema module.
|
Package yang embeds and registers the BGP route-server configuration YANG schema module. |
|
plugins/softver
Design: docs/architecture/core-design.md — software-version capability plugin
|
Design: docs/architecture/core-design.md — software-version capability plugin |
|
plugins/softver/yang
Package yang embeds and registers the BGP software-version capability YANG schema module.
|
Package yang embeds and registers the BGP software-version capability YANG schema module. |
|
plugins/watchdog
Design: docs/architecture/rib-transition.md — watchdog plugin extraction Detail: server.go — command dispatch and state management Detail: config.go — config tree parser Detail: pool.go — route pool management
|
Design: docs/architecture/rib-transition.md — watchdog plugin extraction Detail: server.go — command dispatch and state management Detail: config.go — config tree parser Detail: pool.go — route pool management |
|
reactor
Package reactor implements the BGP reactor event loop, managing peer sessions, processing wire events, and dispatching messages to plugins.
|
Package reactor implements the BGP reactor event loop, managing peer sessions, processing wire events, and dispatching messages to plugins. |
|
reactor/filter
Design: docs/architecture/core-design.md — route loop detection ingress filter RFC: rfc/short/rfc4271.md RFC: rfc/short/rfc4456.md
|
Design: docs/architecture/core-design.md — route loop detection ingress filter RFC: rfc/short/rfc4271.md RFC: rfc/short/rfc4456.md |
|
reactor/filter/yang
Package yang embeds and registers the BGP loop-detection filter YANG schema module.
|
Package yang embeds and registers the BGP loop-detection filter YANG schema module. |
|
redistribute
Package redistribute bridges BGP RIB best-path changes into the generic redistribution subsystem and injects redistributed routes back as BGP updates.
|
Package redistribute bridges BGP RIB best-path changes into the generic redistribution subsystem and injects redistributed routes back as BGP updates. |
|
rib
Package rib implements the BGP Routing Information Base with per-attribute-type deduplication.
|
Package rib implements the BGP Routing Information Base with per-attribute-type deduplication. |
|
route
Package route parses text-format BGP route definitions into wire-ready attributes and NLRI.
|
Package route parses text-format BGP route definitions into wire-ready attributes and NLRI. |
|
server
Package server provides BGP-specific event delivery and dispatch for the plugin server.
|
Package server provides BGP-specific event delivery and dispatch for the plugin server. |
|
textparse
Package textparse provides a zero-allocation tokenizer and keyword resolution for BGP text commands.
|
Package textparse provides a zero-allocation tokenizer and keyword resolution for BGP text commands. |
|
transaction
Package transaction manages named BGP commits that queue route announcements and withdrawals until they are ended or rolled back.
|
Package transaction manages named BGP commits that queue route announcements and withdrawals until they are ended or rolled back. |
|
types
Package types defines shared BGP-specific types for routes, next-hops, and reactor interfaces.
|
Package types defines shared BGP-specific types for routes, next-hops, and reactor interfaces. |
|
wireu
Package wireu ("wire UPDATE") implements lazy-parsed BGP UPDATE messages with zero-copy iterators over wire bytes.
|
Package wireu ("wire UPDATE") implements lazy-parsed BGP UPDATE messages with zero-copy iterators over wire bytes. |
|
yang
Package schema embeds the YANG schemas for BGP configuration and API.
|
Package schema embeds the YANG schemas for BGP configuration and API. |
|
Package cli provides a unified interactive TUI for config editing, CLI, and SSH sessions.
|
Package cli provides a unified interactive TUI for config editing, CLI, and SSH sessions. |
|
client
Design: docs/architecture/core-design.md — interactive CLI Related: ../../../../cmd/ze/internal/cmdutil/cmdutil.go — shared command utilities (uses BuildCommandTree)
|
Design: docs/architecture/core-design.md — interactive CLI Related: ../../../../cmd/ze/internal/cmdutil/cmdutil.go — shared command utilities (uses BuildCommandTree) |
|
contract
Design: docs/architecture/core-design.md -- component boundaries (cli/contract)
|
Design: docs/architecture/core-design.md -- component boundaries (cli/contract) |
|
testing
Design: docs/architecture/config/yang-config-design.md — editor test infrastructure
|
Design: docs/architecture/config/yang-config-design.md — editor test infrastructure |
|
cmd
|
|
|
clear
Design: docs/architecture/api/commands.md -- clear verb (generic verb shell)
|
Design: docs/architecture/api/commands.md -- clear verb (generic verb shell) |
|
clear/yang
Package yang embeds and registers the CLI clear command YANG schema modules.
|
Package yang embeds and registers the CLI clear command YANG schema modules. |
|
delete
Design: docs/architecture/api/commands.md — delete verb command handlers
|
Design: docs/architecture/api/commands.md — delete verb command handlers |
|
delete/yang
Package yang embeds and registers the CLI delete command YANG schema modules.
|
Package yang embeds and registers the CLI delete command YANG schema modules. |
|
log
Design: docs/architecture/api/commands.md — BGP log level command handlers
|
Design: docs/architecture/api/commands.md — BGP log level command handlers |
|
log/yang
Package yang embeds and registers the BGP log command YANG schema modules.
|
Package yang embeds and registers the BGP log command YANG schema modules. |
|
meta
Design: docs/architecture/api/commands.md — BGP command discovery and plugin configuration
|
Design: docs/architecture/api/commands.md — BGP command discovery and plugin configuration |
|
meta/yang
Package yang embeds and registers the BGP meta command YANG schema modules.
|
Package yang embeds and registers the BGP meta command YANG schema modules. |
|
metrics
Design: docs/architecture/api/commands.md — BGP metrics command handlers
|
Design: docs/architecture/api/commands.md — BGP metrics command handlers |
|
metrics/yang
Package yang embeds and registers the BGP metrics command YANG schema modules.
|
Package yang embeds and registers the BGP metrics command YANG schema modules. |
|
monitor
Design: docs/architecture/api/commands.md — monitor verb root (unowned)
|
Design: docs/architecture/api/commands.md — monitor verb root (unowned) |
|
monitor/yang
Package yang embeds and registers the CLI monitor command YANG module.
|
Package yang embeds and registers the CLI monitor command YANG module. |
|
set
Design: docs/architecture/api/commands.md — set verb command handlers
|
Design: docs/architecture/api/commands.md — set verb command handlers |
|
set/yang
Package yang embeds and registers the CLI set command and API YANG modules.
|
Package yang embeds and registers the CLI set command and API YANG modules. |
|
show
Design: docs/architecture/api/commands.md -- show verb command handlers
|
Design: docs/architecture/api/commands.md -- show verb command handlers |
|
show/yang
Package yang embeds and registers the CLI show command and API YANG modules.
|
Package yang embeds and registers the CLI show command and API YANG modules. |
|
subscribe
Design: docs/architecture/api/commands.md — BGP event subscription handlers
|
Design: docs/architecture/api/commands.md — BGP event subscription handlers |
|
subscribe/yang
Package yang embeds and registers the CLI subscribe command and API YANG modules.
|
Package yang embeds and registers the CLI subscribe command and API YANG modules. |
|
update
Design: docs/architecture/api/commands.md — update verb command handlers
|
Design: docs/architecture/api/commands.md — update verb command handlers |
|
update/yang
Package yang embeds and registers the CLI update command and API YANG modules.
|
Package yang embeds and registers the CLI update command and API YANG modules. |
|
Package command provides shared types and logic for operational command execution.
|
Package command provides shared types and logic for operational command execution. |
|
grammar
Design: docs/architecture/cli/command-namespacing.md -- CLI command grammar
|
Design: docs/architecture/cli/command-namespacing.md -- CLI command grammar |
|
registry
Package registry holds the process-wide registries for ze's command-line surface: offline local handlers, top-level root commands, and owner-backed root command handlers.
|
Package registry holds the process-wide registries for ze's command-line surface: offline local handlers, top-level root commands, and owner-backed root command handlers. |
|
Design: docs/architecture/config/syntax.md — config parsing and loading
|
Design: docs/architecture/config/syntax.md — config parsing and loading |
|
archive
Package archive saves committed configuration to file and HTTP locations on commit, manual, and scheduled triggers.
|
Package archive saves committed configuration to file and HTTP locations on commit, manual, and scheduled triggers. |
|
archive/cmd
Package cmd handles the config archive trigger command that archives the running configuration.
|
Package cmd handles the config archive trigger command that archives the running configuration. |
|
archive/yang
Package yang embeds and registers the config archive API YANG module.
|
Package yang embeds and registers the config archive API YANG module. |
|
claims
Design: docs/architecture/config/yang-config-design.md — config claim model Related: schema.go -- builds the merged config-schema tree Audit walks Related: allowlist.json -- recorded exceptions, one reason and one owner each
|
Design: docs/architecture/config/yang-config-design.md — config claim model Related: schema.go -- builds the merged config-schema tree Audit walks Related: allowlist.json -- recorded exceptions, one reason and one owner each |
|
cli
Design: docs/architecture/config/syntax.md — stdin ("-") wiring for config editor commands Overview: main.go — dispatch and exit codes
|
Design: docs/architecture/config/syntax.md — stdin ("-") wiring for config editor commands Overview: main.go — dispatch and exit codes |
|
env
Design: docs/architecture/config/environment.md — environment variable handling
|
Design: docs/architecture/config/environment.md — environment variable handling |
|
infra
Package infra holds the always-on daemon-startup contract between the hub and whichever routing engine constructs a reactor.
|
Package infra holds the always-on daemon-startup contract between the hub and whichever routing engine constructs a reactor. |
|
migration
Package migration rewrites deprecated configuration syntax into its current equivalent.
|
Package migration rewrites deprecated configuration syntax into its current equivalent. |
|
redistribute
Package redistribute moves routes between routing protocols with origin-based loop prevention.
|
Package redistribute moves routes between routing protocols with origin-based loop prevention. |
|
redistribute/yang
Package yang embeds and registers the redistribute configuration YANG module.
|
Package yang embeds and registers the redistribute configuration YANG module. |
|
schema/cli
Design: docs/architecture/config/yang-config-design.md — schema CLI
|
Design: docs/architecture/config/yang-config-design.md — schema CLI |
|
secret
Design: docs/architecture/config/syntax.md — sensitive value encoding
|
Design: docs/architecture/config/syntax.md — sensitive value encoding |
|
storage
Design: docs/architecture/zefs-format.md -- config storage abstraction Detail: blob.go -- blob storage implementation wrapping zefs
|
Design: docs/architecture/zefs-format.md -- config storage abstraction Detail: blob.go -- blob storage implementation wrapping zefs |
|
storage/cli
Design: docs/architecture/zefs-format.md -- ZeFS blob store CLI
|
Design: docs/architecture/zefs-format.md -- ZeFS blob store CLI |
|
system
Package system manages system-wide configuration including identity, DNS, console, connection tracking, and self-update.
|
Package system manages system-wide configuration including identity, DNS, console, connection tracking, and self-update. |
|
system/yang
Package yang embeds and registers the system configuration YANG module.
|
Package yang embeds and registers the system configuration YANG module. |
|
transaction
Package transaction implements the stream-based config transaction protocol.
|
Package transaction implements the stream-based config transaction protocol. |
|
transaction/events
Package events defines event constants for config transactions.
|
Package events defines event constants for config transactions. |
|
yang
Design: docs/architecture/config/yang-config-design.md — YANG schema handling
|
Design: docs/architecture/config/yang-config-design.md — YANG schema handling |
|
yang/cli
Design: docs/architecture/config/yang-config-design.md -- YANG analysis tool Related: tree.go -- unified analysis tree builder Related: format.go -- output formatting for collisions and trees
|
Design: docs/architecture/config/yang-config-design.md -- YANG analysis tool Related: tree.go -- unified analysis tree builder Related: format.go -- output formatting for collisions and trees |
|
debug
|
|
|
yang
Package yang registers debug YANG modules and validates debug flag and scope names against them.
|
Package yang registers debug YANG modules and validates debug flag and scope names against them. |
|
cmd
Package cmd handles the show doctor command that runs system and plugin diagnostic checks.
|
Package cmd handles the show doctor command that runs system and plugin diagnostic checks. |
|
yang
Package yang embeds and registers the doctor command YANG module.
|
Package yang embeds and registers the doctor command YANG module. |
|
Package engine implements the top-level supervisor that composes Bus, ConfigProvider, and PluginManager.
|
Package engine implements the top-level supervisor that composes Bus, ConfigProvider, and PluginManager. |
|
Package firewall defines the abstract data model for ze-managed nftables firewall tables.
|
Package firewall defines the abstract data model for ze-managed nftables firewall tables. |
|
cli
Package firewall provides the ze firewall subcommand for viewing nftables firewall state (tables, chains, rules, counters).
|
Package firewall provides the ze firewall subcommand for viewing nftables firewall state (tables, chains, rules, counters). |
|
cmd
Package cmd provides formatting functions for firewall CLI output.
|
Package cmd provides formatting functions for firewall CLI output. |
|
plugins/irr
Design: docs/architecture/firewall/firewall-irr.md -- firewall IRR plugin entry point Related: doctor.go -- the ze doctor check over the same references verifyRefs guards
|
Design: docs/architecture/firewall/firewall-irr.md -- firewall IRR plugin entry point Related: doctor.go -- the ze doctor check over the same references verifyRefs guards |
|
plugins/irr/yang
Package yang embeds and registers the firewall IRR command and schema YANG modules.
|
Package yang embeds and registers the firewall IRR command and schema YANG modules. |
|
yang
Package yang embeds and registers the firewall component's YANG schema modules.
|
Package yang embeds and registers the firewall component's YANG schema modules. |
|
Package gnmi implements a gNMI server exposing Ze's YANG-modeled configuration over gRPC.
|
Package gnmi implements a gNMI server exposing Ze's YANG-modeled configuration over gRPC. |
|
yang
Package yang embeds and registers the gNMI component's YANG schema module.
|
Package yang embeds and registers the gNMI component's YANG schema module. |
|
Design: (none — new component for gokrazy management proxy)
|
Design: (none — new component for gokrazy management proxy) |
|
Design: docs/architecture/host/inventory.md -- hardware inventory detection
|
Design: docs/architecture/host/inventory.md -- hardware inventory detection |
|
hub
|
|
|
yang
Package yang embeds and registers the hub component's YANG schema module.
|
Package yang embeds and registers the hub component's YANG schema module. |
|
Package iface implements the interface monitoring and management plugin.
|
Package iface implements the interface monitoring and management plugin. |
|
cli
Design: docs/architecture/iface/management.md -- Interface CLI commands
|
Design: docs/architecture/iface/management.md -- Interface CLI commands |
|
cmd
Design: docs/features/interfaces.md — Interface RPC handlers for daemon dispatch Related: manage.go — command registration and server wiring for this package
|
Design: docs/features/interfaces.md — Interface RPC handlers for daemon dispatch Related: manage.go — command registration and server wiring for this package |
|
yang
Package yang embeds and registers the interface component's YANG schema modules.
|
Package yang embeds and registers the interface component's YANG schema modules. |
|
ike
|
|
|
cmd
Package cmd registers the IPsec VPN operational command handlers.
|
Package cmd registers the IPsec VPN operational command handlers. |
|
crypto
Package crypto implements the IKEv2 cryptographic primitives and proposal negotiation.
|
Package crypto implements the IKEv2 cryptographic primitives and proposal negotiation. |
|
dataplane
Package dataplane abstracts installation of IPsec security associations and policies across xfrm and VPP backends.
|
Package dataplane abstracts installation of IPsec security associations and policies across xfrm and VPP backends. |
|
eap
Package eap implements the EAP authentication framework and its MSCHAPv2 and TLS methods for IKEv2.
|
Package eap implements the EAP authentication framework and its MSCHAPv2 and TLS methods for IKEv2. |
|
engine
Design: docs/architecture/ike/ipsec-7-ikev2-engine.md -- AUTH payload computation Related: remote_id.go -- remote identity policy and certificate binding Detail: cert_payload.go -- CERT payload assembly, the received-chain bound, Hash and URL RFC: rfc/short/rfc7296.md -- Authentication of the IKE SA (Section 2.15) RFC: rfc/short/rfc7427.md -- Digital Signature AUTH method 14
|
Design: docs/architecture/ike/ipsec-7-ikev2-engine.md -- AUTH payload computation Related: remote_id.go -- remote identity policy and certificate binding Detail: cert_payload.go -- CERT payload assembly, the received-chain bound, Hash and URL RFC: rfc/short/rfc7296.md -- Authentication of the IKE SA (Section 2.15) RFC: rfc/short/rfc7427.md -- Digital Signature AUTH method 14 |
|
ipsec
Package ipsec defines the IPsec data model types and parses their configuration.
|
Package ipsec defines the IPsec data model types and parses their configuration. |
|
ipsec/yang
Package yang embeds and registers the IPsec configuration YANG schema module.
|
Package yang embeds and registers the IPsec configuration YANG schema module. |
|
transport
Package transport implements the IKE UDP transport with NAT detection and keepalive handling.
|
Package transport implements the IKE UDP transport with NAT detection and keepalive handling. |
|
wire
Design: docs/architecture/wire/buffer-writer.md -- payload chain parsing RFC: rfc/short/rfc7296.md -- encrypted payload contents (Section 3.14)
|
Design: docs/architecture/wire/buffer-writer.md -- payload chain parsing RFC: rfc/short/rfc7296.md -- encrypted payload contents (Section 3.14) |
|
yang
Package yang embeds and registers the IPsec operational command YANG schema module.
|
Package yang embeds and registers the IPsec operational command YANG schema module. |
|
Package l2tp implements L2TPv2 (RFC 2661) wire format parsing and serialization for ze's L2TP subsystem.
|
Package l2tp implements L2TPv2 (RFC 2661) wire format parsing and serialization for ze's L2TP subsystem. |
|
cli
Design: docs/architecture/core-design.md -- l2tp offline CLI
|
Design: docs/architecture/core-design.md -- l2tp offline CLI |
|
cmd
Design: docs/guide/l2tp.md -- L2TP CLI handlers
|
Design: docs/guide/l2tp.md -- L2TP CLI handlers |
|
cmd/yang
Package yang embeds and registers the L2TP operational command YANG schema module.
|
Package yang embeds and registers the L2TP operational command YANG schema module. |
|
events
Package events defines the typed EventBus handle for L2TP subscriber route-change events.
|
Package events defines the typed EventBus handle for L2TP subscriber route-change events. |
|
plugins/authlocal/yang
Package yang embeds and registers the L2TP local authentication YANG schema module.
|
Package yang embeds and registers the L2TP local authentication YANG schema module. |
|
plugins/authradius/yang
Package yang embeds and registers the L2TP RADIUS authentication YANG schema module.
|
Package yang embeds and registers the L2TP RADIUS authentication YANG schema module. |
|
plugins/pool/yang
Package yang embeds and registers the L2TP address pool YANG schema module.
|
Package yang embeds and registers the L2TP address pool YANG schema module. |
|
plugins/shaper/yang
Package yang embeds and registers the L2TP shaper configuration YANG module.
|
Package yang embeds and registers the L2TP shaper configuration YANG module. |
|
ppp
Package ppp implements the PPP control plane (LCP, authentication, IPCP, IPv6CP) over chan/unit file descriptors obtained from /dev/ppp.
|
Package ppp implements the PPP control plane (LCP, authentication, IPCP, IPv6CP) over chan/unit file descriptors obtained from /dev/ppp. |
|
pppoe
Package pppoe implements the PPPoE (RFC 2516) access concentrator for subscriber session management over Ethernet.
|
Package pppoe implements the PPPoE (RFC 2516) access concentrator for subscriber session management over Ethernet. |
|
pppoe/cmd
Design: docs/architecture/l2tp/bng-5-pppoe.md -- PPPoE CLI handlers
|
Design: docs/architecture/l2tp/bng-5-pppoe.md -- PPPoE CLI handlers |
|
pppoe/cmd/yang
Package yang embeds and registers the PPPoE command YANG module.
|
Package yang embeds and registers the PPPoE command YANG module. |
|
pppoe/yang
Package yang embeds and registers the PPPoE API and configuration YANG modules.
|
Package yang embeds and registers the PPPoE API and configuration YANG modules. |
|
pppoeclient
Package pppoeclient implements a PPPoE client dialer that performs RFC 2516 discovery and kernel session setup.
|
Package pppoeclient implements a PPPoE client dialer that performs RFC 2516 discovery and kernel session setup. |
|
subscriber
Package subscriber provides the shared subscriber session model, registry, and metrics for PPPoE and L2TP access.
|
Package subscriber provides the shared subscriber session model, registry, and metrics for PPPoE and L2TP access. |
|
subscriber/cmd
Package cmd registers the show subscriber CLI RPC handlers.
|
Package cmd registers the show subscriber CLI RPC handlers. |
|
subscriber/cmd/yang
Package yang embeds and registers the subscriber command YANG module.
|
Package yang embeds and registers the subscriber command YANG module. |
|
subscriber/events
Package events defines the subscriber session event namespace and payloads.
|
Package events defines the subscriber session event namespace and payloads. |
|
yang
Package yang embeds and registers the L2TP API and configuration YANG modules.
|
Package yang embeds and registers the L2TP API and configuration YANG modules. |
|
Package lg provides the looking glass HTTP server for Ze.
|
Package lg provides the looking glass HTTP server for Ze. |
|
yang
Package yang embeds and registers the looking-glass configuration YANG module.
|
Package yang embeds and registers the looking-glass configuration YANG module. |
|
Design: docs/architecture/fleet-config.md — managed client component
|
Design: docs/architecture/fleet-config.md — managed client component |
|
Package mcp implements the MCP (Model Context Protocol) server surface: JSON-RPC tool dispatch wrapping Ze's command dispatcher, served over the Streamable HTTP transport (streamable.go).
|
Package mcp implements the MCP (Model Context Protocol) server surface: JSON-RPC tool dispatch wrapping Ze's command dispatcher, served over the Streamable HTTP transport (streamable.go). |
|
yang
Package yang embeds and registers the MCP configuration YANG module.
|
Package yang embeds and registers the MCP configuration YANG module. |
|
Package mpls reads the kernel MPLS forwarding table and serves the show mpls forwarding command.
|
Package mpls reads the kernel MPLS forwarding table and serves the show mpls forwarding command. |
|
ping
|
|
|
cmd
Package cmd owns the entire ping feature surface as a dedicated feature module (see ai/rules/plugins.md "Dedicated feature modules").
|
Package cmd owns the entire ping feature surface as a dedicated feature module (see ai/rules/plugins.md "Dedicated feature modules"). |
|
Package pki parses, validates, and stores X.509 certificates with show commands and expiry health checks.
|
Package pki parses, validates, and stores X.509 certificates with show commands and expiry health checks. |
|
yang
Package yang embeds and registers the PKI API and configuration YANG modules.
|
Package yang embeds and registers the PKI API and configuration YANG modules. |
|
Package plugin provides the plugin infrastructure for ze, including registry management, process lifecycle, hub-based message routing, and event dispatch.
|
Package plugin provides the plugin infrastructure for ze, including registry management, process lifecycle, hub-based message routing, and event dispatch. |
|
all
Package all imports all internal plugins and schema packages, triggering their init() registration.
|
Package all imports all internal plugins and schema packages, triggering their init() registration. |
|
cli
Design: docs/architecture/cli/plugin-modes.md — plugin CLI framework
|
Design: docs/architecture/cli/plugin-modes.md — plugin CLI framework |
|
doctor
Package doctor registers a diagnostic check that verifies configured plugin binaries are present.
|
Package doctor registers a diagnostic check that verifies configured plugin binaries are present. |
|
ipc
Package ipc provides Unix socket pairs and typed RPC for engine-plugin communication.
|
Package ipc provides Unix socket pairs and typed RPC for engine-plugin communication. |
|
manager
Package plugin implements the PluginManager for plugin registration, lifecycle, and capabilities.
|
Package plugin implements the PluginManager for plugin registration, lifecycle, and capabilities. |
|
process
Package process manages plugin process lifecycle, respawn, and event delivery pipelines.
|
Package process manages plugin process lifecycle, respawn, and event delivery pipelines. |
|
registry
Package registry provides compile-time plugin registration and query for CLI dispatch, engine startup, and decode routing.
|
Package registry provides compile-time plugin registration and query for CLI dispatch, engine startup, and decode routing. |
|
server
Package server manages plugin process connections, the 5-stage startup protocol, and command dispatch.
|
Package server manages plugin process connections, the 5-stage startup protocol, and command dispatch. |
|
yang
Package schema embeds the YANG schema for plugin configuration.
|
Package schema embeds the YANG schema for plugin configuration. |
|
radiusAuthenticator bridges the RADIUS client to aaa.Authenticator for operator/admin login (SSH, web, MCP).
|
radiusAuthenticator bridges the RADIUS client to aaa.Authenticator for operator/admin login (SSH, web, MCP). |
|
yang
Package yang embeds the radius component's YANG configuration schema and registers it with the config module registry.
|
Package yang embeds the radius component's YANG configuration schema and registers it with the config module registry. |
|
Design: docs/architecture/resolve.md -- Resolution component container
|
Design: docs/architecture/resolve.md -- Resolution component container |
|
cache
Design: docs/architecture/resolve.md -- Shared TTL cache for resolution components
|
Design: docs/architecture/resolve.md -- Shared TTL cache for resolution components |
|
cli
Design: docs/architecture/resolve.md -- Team Cymru ASN resolution CLI
|
Design: docs/architecture/resolve.md -- Team Cymru ASN resolution CLI |
|
cmd
Design: docs/architecture/resolve.md -- resolve command handlers for dispatcher
|
Design: docs/architecture/resolve.md -- resolve command handlers for dispatcher |
|
cymru
Design: docs/architecture/resolve.md -- Team Cymru ASN name resolution Related: ../dns/resolver.go -- DNS resolver used for TXT queries
|
Design: docs/architecture/resolve.md -- Team Cymru ASN name resolution Related: ../dns/resolver.go -- DNS resolver used for TXT queries |
|
dns
Package dns provides a DNS resolver component for Ze.
|
Package dns provides a DNS resolver component for Ze. |
|
irr
Design: (none -- predates documentation)
|
Design: (none -- predates documentation) |
|
irr/store
Design: docs/architecture/resolve.md -- shared IRR prefix resolution + persistence
|
Design: docs/architecture/resolve.md -- shared IRR prefix resolution + persistence |
|
peeringdb
Design: docs/architecture/resolve.md -- PeeringDB client for prefix update
|
Design: docs/architecture/resolve.md -- PeeringDB client for prefix update |
|
yang
Package yang embeds and registers the resolver API YANG module.
|
Package yang embeds and registers the resolver API YANG module. |
|
Package ssh implements the SSH server that serves the interactive CLI over public-key-authenticated sessions.
|
Package ssh implements the SSH server that serves the interactive CLI over public-key-authenticated sessions. |
|
yang
Package yang embeds and registers the SSH configuration YANG module.
|
Package yang embeds and registers the SSH configuration YANG module. |
|
Package storage runs periodic SMART disk health checks and self-test scheduling for block devices.
|
Package storage runs periodic SMART disk health checks and self-test scheduling for block devices. |
|
yang
Package yang embeds the storage component's YANG configuration schema and registers it with the config module registry.
|
Package yang embeds the storage component's YANG configuration schema and registers it with the config module registry. |
|
Package support collects host and configuration diagnostics into a sanitized tech-support archive.
|
Package support collects host and configuration diagnostics into a sanitized tech-support archive. |
|
Design: docs/architecture/core-design.md -- sysctl plugin Detail: backend.go -- platform-specific read/write Detail: register.go -- plugin registration and EventBus wiring
|
Design: docs/architecture/core-design.md -- sysctl plugin Detail: backend.go -- platform-specific read/write Detail: register.go -- plugin registration and EventBus wiring |
|
cli
Design: docs/architecture/core-design.md -- sysctl offline CLI
|
Design: docs/architecture/core-design.md -- sysctl offline CLI |
|
events
Package events defines event constants for the sysctl plugin.
|
Package events defines event constants for the sysctl plugin. |
|
yang
Package yang embeds the sysctl component's YANG configuration schema and registers it with the config module registry.
|
Package yang embeds the sysctl component's YANG configuration schema and registers it with the config module registry. |
|
Design: docs/architecture/core-design.md -- System RIB plugin Related: nhresolver.go -- recursive next-hop resolution using Loc-RIB LPM Related: ecmp.go -- ECMP path collection from equal-cost protocol routes
|
Design: docs/architecture/core-design.md -- System RIB plugin Related: nhresolver.go -- recursive next-hop resolution using Loc-RIB LPM Related: ecmp.go -- ECMP path collection from equal-cost protocol routes |
|
events
Package events defines event constants and typed event handles for the system RIB plugin.
|
Package events defines event constants and typed event handles for the system RIB plugin. |
|
yang
Package yang embeds the sysrib component's YANG configuration schema and registers it with the config module registry.
|
Package yang embeds the sysrib component's YANG configuration schema and registers it with the config module registry. |
|
TacacsAccountant implements aaa.Accountant for TACACS+ accounting.
|
TacacsAccountant implements aaa.Accountant for TACACS+ accounting. |
|
cli
Design: docs/architecture/aaa-tacacs.md -- TACACS+ AAA operational CLI
|
Design: docs/architecture/aaa-tacacs.md -- TACACS+ AAA operational CLI |
|
yang
Package yang embeds the tacacs component's YANG configuration schema and registers it with the config module registry.
|
Package yang embeds the tacacs component's YANG configuration schema and registers it with the config module registry. |
|
telemetry
|
|
|
collector
Package collector reads Netdata-compatible OS metrics from procfs and sysfs and feeds them into the shared metrics registry.
|
Package collector reads Netdata-compatible OS metrics from procfs and sysfs and feeds them into the shared metrics registry. |
|
exporter/yang
Package yang embeds the telemetry exporter's YANG configuration schema and registers it with the config module registry.
|
Package yang embeds the telemetry exporter's YANG configuration schema and registers it with the config module registry. |
|
traceroute
|
|
|
cmd
Package cmd owns the entire traceroute feature surface as a dedicated feature module (see ai/rules/plugins.md "Dedicated feature modules").
|
Package cmd owns the entire traceroute feature surface as a dedicated feature module (see ai/rules/plugins.md "Dedicated feature modules"). |
|
Package traffic defines the data model for ze-managed tc (traffic control) qdiscs, classes, and filters.
|
Package traffic defines the data model for ze-managed tc (traffic control) qdiscs, classes, and filters. |
|
cli
Package tc provides the ze traffic control subcommand for viewing tc qdisc, class, and filter state on network interfaces.
|
Package tc provides the ze traffic control subcommand for viewing tc qdisc, class, and filter state on network interfaces. |
|
cmd
Package cmd provides formatting functions for traffic control CLI output.
|
Package cmd provides formatting functions for traffic control CLI output. |
|
yang
Package yang embeds the traffic component's YANG configuration schema and registers it with the config module registry.
|
Package yang embeds the traffic component's YANG configuration schema and registers it with the config module registry. |
|
Package trafficfeature derives neutral per-source traffic feature signals from the observation feed for detection plugins.
|
Package trafficfeature derives neutral per-source traffic feature signals from the observation feed for detection plugins. |
|
cmd
Package cmd registers the show traffic feature CLI handler that surfaces neutral per-source feature signals.
|
Package cmd registers the show traffic feature CLI handler that surfaces neutral per-source feature signals. |
|
cmd/yang
Package yang embeds the traffic-feature command's YANG schema and registers it with the config module registry.
|
Package yang embeds the traffic-feature command's YANG schema and registers it with the config module registry. |
|
Package trafficstat aggregates the observation feed into a lazy, consumer-refcounted snapshot of top talkers, ports, and protocols.
|
Package trafficstat aggregates the observation feed into a lazy, consumer-refcounted snapshot of top talkers, ports, and protocols. |
|
cmd
Package cmd registers the show and monitor traffic stat CLI handlers.
|
Package cmd registers the show and monitor traffic stat CLI handlers. |
|
cmd/yang
Package yang embeds the traffic-stat command's YANG schema and registers it with the config module registry.
|
Package yang embeds the traffic-stat command's YANG schema and registers it with the config module registry. |
|
yang
Package yang embeds the vpp component's YANG configuration schema and registers it with the config module registry.
|
Package yang embeds the vpp component's YANG configuration schema and registers it with the config module registry. |
|
Package web provides the ze web interface, including session-based authentication middleware and security headers for all HTTP responses.
|
Package web provides the ze web interface, including session-based authentication middleware and security headers for all HTTP responses. |
|
testing
Design: docs/architecture/testing/ci-format.md -- web browser test parser Related: runner.go -- .wb test execution and browser control Related: expect.go -- expectation checking
|
Design: docs/architecture/testing/ci-format.md -- web browser test parser Related: runner.go -- .wb test execution and browser control Related: expect.go -- expectation checking |
|
yang
Package yang embeds the web component's YANG configuration schema and registers it with the config module registry.
|
Package yang embeds the web component's YANG configuration schema and registers it with the config module registry. |
Click to show internal directories.
Click to hide internal directories.