{"modulePath":"github.com/bigstack-oss/lachesis","version":"v0.0.0-20261113135352-56473c934679","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/bigstack-oss/lachesis/cmd/agent","name":"main","synopsis":"Command agent runs the CubeCOS network-telemetry data-plane reader.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/cmd/loadtest","name":"main","synopsis":"Command loadtest exercises the CubeCOS network-telemetry agent under sustained TCP traffic and verifies the agent process stays inside its resource budget (RSS, CPU).","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/cmd/scenariotest","name":"main","synopsis":"Command scenariotest realizes a declared topology, drives traffic across it, and asserts the agent's /metrics deltas match.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/cmd/scenariotest/scenarios","name":"scenarios","synopsis":"Package scenarios is the canonical registry of scenariotest scenarios.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/agent","name":"agent","synopsis":"Package agent is the composition root: it wires state, scraper, metrics, runtime and logging onto an HTTP server — the glue between the BPF data plane and the Prometheus endpoint.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/boot","name":"boot","synopsis":"Package boot tracks the agent's startup phases as one monotonically advancing sequence.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/bpf","name":"bpf","synopsis":"Package bpf exposes the kernel↔userspace ABI for the telemetry agent.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/config","name":"config","synopsis":"Package config holds the agent's runtime configuration as nested sections — one Go file per section, each owning its type, defaults and Validate; this file aggregates them.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/debug","name":"debug","synopsis":"Package debug serves the agent's operator-facing /debug surface: an HTML index with sync health and anomaly counts, detail pages for attribution state, and the stdlib pprof handlers.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/gc","name":"gc","synopsis":"Package gc owns the agent's eviction work: the lingering-ghost sweep (this file) and pressure-relief eviction (pressure.go).","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/kafka","name":"kafka","synopsis":"Package kafka consumes oslo.messaging notifications and kicks a Neutron reconcile on each committed metadata change, so metadata refreshes within a pass instead of waiting for the periodic net.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/kernelwriter","name":"kernelwriter","synopsis":"Package kernelwriter pushes userspace metadata and trie entries into the kernel BPF maps.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/loadtest","name":"loadtest","synopsis":"Package loadtest implements the CubeCOS network-telemetry resource budget test: spawn the agent as a subprocess, drive sustained TCP traffic through a netns + veth, and verify the agent stays inside configured RSS and CPU thresholds while actually observing the load on its BPF data plane.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/logging","name":"logging","synopsis":"Package logging configures the agent's structured logger.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/metadata","name":"metadata","synopsis":"Package metadata is the userspace mirror of the kernel `mac_tenant_map`, mapping a VM MAC to a *TenantMeta carrying the attributes the kernel cannot store.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/metrics","name":"metrics","synopsis":"Package metrics implements the Prometheus custom Collector that exposes the billing families from state.GlobalState.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/netlink","name":"netlink","synopsis":"Package netlink discovers tap interfaces via RTM_NEWLINK / RTM_DELLINK and dynamically attaches the telemetry TC programs to each match, replacing the earlier static single-interface attach.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/neutron","name":"neutron","synopsis":"Package neutron is the OpenStack metadata path: Keystone auth, the Neutron API client, the trie builder, and the Neutron struct carrying one sync's outputs to the rest of the agent.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/osclient","name":"osclient","synopsis":"Package osclient is the shared OpenStack client bootstrap: the Credentials vocabulary, the admin-openrc parser (ParseOpenRC), and Keystone v3 authentication (Authenticate, AuthenticateProject).","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/perfbench","name":"perfbench","synopsis":"Package perfbench measures the per-packet runtime of the telemetry classifier via BPF_PROG_TEST_RUN.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/reconcile","name":"reconcile","synopsis":"Package reconcile owns the periodic Neutron reconcile: a 5-minute safety net that re-fetches the full snapshot and applies only the rows that changed, so metadata staleness stays bounded by one interval even through a Kafka outage.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/runtime","name":"runtime","synopsis":"Package runtime wires reload and debug controls onto the agent: the Manager holds the current config, re-reads the YAML on SIGHUP, applies the hot-reloadable fields, and serves /debug.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/scenariotest","name":"scenariotest","synopsis":"Package scenariotest is the core of the live-validation harness: the scenario DSL, the step seam, the run-state, the report, and the Cloud / MetricsSource / VMExec / Broker interfaces through which everything reaches a real cluster.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/scenariotest/agentctl","name":"agentctl","synopsis":"Package agentctl drives the telemetry agent on a compute host: the systemd lifecycle, the on-host config, the durable state a cold restart destroys, and the readiness gate proving the process cycled.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/scenariotest/agentmetrics","name":"agentmetrics","synopsis":"Package agentmetrics is the live scenariotest.MetricsSource: it reads a running agent's observability surfaces over HTTP — the Prometheus text exposition at /metrics and the JSON /debug queries on the same listener — and parses them into the harness's sample types.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/scenariotest/assert","name":"assert","synopsis":"Package assert evaluates a scenario's declared expectations against the agents' live /metrics as lower bounds on the delta from the drive-time baseline, polling until every expectation passes or the stabilize deadline fires.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/scenariotest/down","name":"down","synopsis":"Package down tears a realized scenario back down: every resource the run-state records, in dependency order, idempotently.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/scenariotest/drive","name":"drive","synopsis":"Package drive pushes a scenario's declared flows as real traffic between the realized VMs, over SSH, after gating on the agents having learned the participating MACs.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/scenariotest/fake","name":"fake","synopsis":"Package fake is the harness's shared test double: an in-memory scenariotest.Cloud that models the Neutron/Nova behaviour the phases actually depend on (floating-IP reachability, port binding, router-route ordering), plus the matching MetricsSource and VMExec.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/scenariotest/gate","name":"gate","synopsis":"Package gate holds the poll-until-predicate waits the harness uses to sequence a scenario against a cluster that changes asynchronously.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/scenariotest/kafkabroker","name":"kafkabroker","synopsis":"Package kafkabroker is the live [scenariotest.Broker]: topic admin and partition-pinned publishes against the cluster's Kafka via kafka-go.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/scenariotest/openstack","name":"openstack","synopsis":"Package openstack is the gophercloud-backed scenariotest.Cloud: every live OpenStack call the harness makes to realize, mutate and tear down a scenario's topology.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/scenariotest/preflight","name":"preflight","synopsis":"Package preflight verifies, without mutating anything, that a live cluster can run a scenario: every prerequisite resolves, any pinned hypervisor exists, and every configured agent is scraping and exposing the metric families the harness depends on.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/scenariotest/realize","name":"realize","synopsis":"Package realize stands a scenario's declared topology up on the live cluster and blocks until the agents have attached to the new taps.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/scenariotest/remote","name":"remote","synopsis":"Package remote runs commands on hosts the harness does not own — the scenario VMs it drives traffic through, and the agent hosts it restarts.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/scenariotest/run","name":"run","synopsis":"Package run composes the whole loop — preflight, up, the scenario's step script, down — into the single command CI and operators invoke.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/scenariotest/steps","name":"steps","synopsis":"Package steps is the step vocabulary a scripted scenario is written in: an ordered program the run executes between up and down, able to express the mid-run lifecycle events the classic drive-all/assert-all loop cannot — deleting a VM, waiting out the agent's ghost sweep, rebooting a MAC under another tenant, restarting an agent cold.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/scraper","name":"scraper","synopsis":"Package scraper drives BPF telemetry-map collection: one goroutine drains the kernel map on a tick and folds each reading into state.GlobalState.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/state","name":"state","synopsis":"Package state owns the agent's authoritative cumulative counters, keyed by bpf.FlowKey — the staging area between the scraper, which feeds raw kernel readings, and the metrics Collector, which emits cumulatives to Prometheus.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/tcattach","name":"tcattach","synopsis":"Package tcattach binds BPF programs to a netlink link via the kernel's TC clsact qdisc and a direct-action filter at the ingress or egress hook.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/testenv/bpfunit","name":"bpfunit","synopsis":"Package bpfunit drives BPF programs through BPF_PROG_TEST_RUN for unit testing and microbenchmarking.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/testenv/bpfunit/fixtures","name":"fixtures","synopsis":"Package fixtures contains BPF programs used only by the test infrastructure.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/testenv/netns","name":"netns","synopsis":"Package netns provides Linux network namespace lifecycle helpers for tests.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/testenv/scenario","name":"scenario","synopsis":"Package scenario is a declarative builder for the Neutron snapshots that exercise neutron.BuildTrie in tests, hiding the struct-literal boilerplate while producing the same neutron.Snapshot production consumes.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/testenv/traffic","name":"traffic","synopsis":"Package traffic generates network traffic for testenv-based tests.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/tunables","name":"tunables","synopsis":"Package tunables holds the agent's hot-reloadable operational knobs behind one atomic snapshot, swapped whole on each SIGHUP.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/unresolved","name":"unresolved","synopsis":"Package unresolved implements the UnresolvedBuffer: the late-binding holding area for flows whose VM-side MAC is not yet in the metadata map.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/wal","name":"wal","synopsis":"Package wal is the agent's write-ahead log: an atomic JSON snapshot of state.GlobalState, flushed every 60s and read back on boot to seed state before the scraper starts.","isRedistributable":true},{"path":"github.com/bigstack-oss/lachesis/internal/zombie","name":"zombie","synopsis":"Package zombie removes orphan TC telemetry filters left by a previous agent run that exited without unloading them.","isRedistributable":true}],"total":49}}
