Skip to content

History / grpc api

Revisions

  • docs(wiki): repoint every repo link at github.com/ze-software/ze Codeberg's 2026-07-23 LLM policy made hosting development there untenable, so the module path and origin moved to github.com/ze-software/ze (main 34cd33b87). Every clone URL, browse link, issue link and Go import path in the wiki still named a repository the project has left. Three forms needed three different targets, which is why this was scripted rather than sed'd: a browse link becomes /blob/main/ for a file and /tree/main/ for a directory, an import path just swaps its root, and the clone, issues and wiki links each have their own GitHub shape. The two prose labels that named Codeberg (the footer's "Source on Codeberg" and Home's "development on Codeberg") are corrected too, since the rewrite would otherwise leave them contradicting their own links. bin/gen-llms-txt.go carried the old base URL as its default, so every regeneration would have reintroduced 177 stale links into llms.txt. Fixed at the source rather than in the generated output. The Codeberg wiki remains a single-page redirect, so the remotes described in the untracked CLAUDE.md are unchanged and still accurate. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

    @thomas-mangin thomas-mangin committed Jul 25, 2026
  • Critical-review fixes: correct show uptime, rename syntax, and stale examples Self-review of the wiki-update pass caught several factual errors and fabricated sample outputs. Fixes: - show uptime is daemon start-time + duration, not per-peer uptime. Corrected in show-commands.md, peers.md verification section, and command-reference.md (moved from Peers group to Daemon group). - rename syntax is "rename <path> <old-key> to <new-key>" with a mandatory "to" keyword (JunOS style), not "rename <path> <new-key>" as previously documented in editor-workflow.md. - Removed the unverified claim that rename preserves live session state. rename is a config-tree operation; runtime reconcile behaviour is implementation-dependent and was not checked. - Added the insert ambiguity gotcha (values literally named first / last / before / after collide with position keywords). - Added the copy verb (deep-copy a list entry to a new key, same "to" syntax as rename) -- previously undocumented. - show interface brief / counters: dropped fabricated sample tables and replaced with a description of the fields and command forms. - Fixed stale peer syntax (remote { ip; as; }) inside code blocks on pages this pass touched: redistribution.md, editor-workflow.md, go-plugins.md, cli-tour.md. All now use the canonical connection { remote { ip } } + session { asn } form. - Replaced "leaf-pass" placeholder filter name in peers.md with <filter-name>. - gRPC Python example: simplified the import path to a generic form, noting that the exact package layout depends on protoc invocation. check-links.go reports all links OK. Broader stale peer syntax still exists on pages not touched this pass (cli.md, bgp-rs.md, blueprints, graceful-restart.md, rpki.md, etc.) -- out of scope for this cleanup but flagged for a future sweep. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    @thomas-mangin thomas-mangin committed Apr 11, 2026
  • Rewrite rest-api page and add grpc-api for the new API engine The REST surface is no longer the web UI with content negotiation. It is a dedicated API server on its own port (default 8081) exposing /api/v1/execute, /api/v1/commands, streaming over SSE, and typed config sessions. gRPC is the matching transport on port 50051 (package ze.api.v1, ZeService + ZeConfigService), sharing the same engine. Both transports support Bearer auth (per-user or single token), TLS 1.2+, and OpenAPI 3.1 / gRPC reflection for discovery. CORS is wired for browser clients. Old content-negotiation doc moved to a web-ui mention for later cleanup. Source commit: 7fcc8083 (main repo). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    @thomas-mangin thomas-mangin committed Apr 11, 2026