Repository navigation
Feat/bnk topology canvas - #5
Merged
JLCode-tech merged 9 commits intoOct 26, 2026
Merged
Conversation
Add GET /api/k8s/clusters/{id}/f5bnk/canvas, a read-only view of BNK
resources as a typed relationship graph for the upcoming Topology Canvas.
- services/bnk/canvas_graph.py: pure builder ported from Gateway Atlas
rules. Exact group|version|kind|namespace|name identities; parent,
backend, ReferenceGrant, policy targetRefs/extensionRefs,
GatewaySettings -> Infra, EgressGateway, CNEInstance and SPK data-plane
relationships; listener attachment checks; findings with remediation.
- Policies match Gateways by namespace and name (the tree view matches by
name only, so same-named Gateways share policies there).
- Secrets appear only as reference placeholders; no Secret is read.
- Reuses fetch_all_bnk_data and its cache.
- Table-driven tests per rule and a golden graph for an anonymized
sample cluster; docs/atlas-canvas/seed-kind.sh seeds it into kind.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add "Topology Canvas" under F5 BNK -> Topology & Insights (/bnk?view=view-canvas), drawing the /f5bnk/canvas graph on reactflow v11. - bnk-canvas/: Families layout, relationship placement, edge styles, label placement and skyline packing ported from Gateway Atlas (Apache-2.0); grant and network relationships and EgressGateway rows added for BIG-IP Next. - Cards show kind, name, readiness and a first fact, with finding badges; missing references are dashed placeholders. Namespace and class frames, legend, minimap, zoom/fit/lock controls, light and dark themes. - Toolbar with counts, Secret-reference toggle and forced refresh; a findings strip that selects the affected resource. - Clicking a card opens the existing F5BNKDetailPanel; placeholders and Secrets are never opened. - Ported Vitest layout suites plus an MSW component test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Secrets and ClusterIssuers are never read by the canvas, so their placeholder cards said "not found" without evidence. Only broken references now say "not found"; unresolved ones say "not read". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Revert unrelated Prettier reformatting from the canvas commit; only the getBnkCanvas method and its type import remain. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
List existing Forge bugs and hygiene issues the Topology Canvas work surfaced, with evidence, impact and a suggested fix for each. No Forge code changes; the canvas exercise stays visualization only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ogy canvas Show the TMM trafficStats that /f5bnk/data already returns on Gateway, egress and firewall policy cards and on listener route edges. Selecting a card now highlights its whole traffic chain (switchable back to direct neighbours), and a canvas control saves the full graph as a standalone vector SVG in the current theme. The counters reuse the BNK data query the F5 BNK page already prefetches, so the canvas adds no cluster calls. Also theme the React Flow attribution and stop nesting the toolbar switches inside labels. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add a user guide for the Topology Canvas with screenshots from the anonymized kind lab, list it in the user guide and README, record the plan status, and add two findings about existing Forge behavior: the license status 502 without CWC, and BNK views that create a client pod and read Secret data on clusters with CWC. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… topology canvas - Draw InferencePool → Endpoint Picker Service (endpoint-picker) and F5EPP → InferencePool, with pool conditions aggregated over parents and facts for both kinds. - List F5BnkGateways read-only for the canvas, since Forge's registry does not include them, so a missing one is reported as a broken reference. - Add controllers=all|bnk to /f5bnk/canvas; "all" (default) draws Istio, NGINX and other Gateways beside BIG-IP Next, each in its own class band. - Add an "Other controllers" switch, anonymized fixture rows, table-driven tests and an updated golden. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
A clear and concise description of the changes in this Pull Request.
Fixes / Implements: #[Issue Number]
Architectural Decision Record (ADR)
docs/adr/ADR-<issue>-<title>.md(Required for non-trivial feature/architecture changes).Type of Change
Verification & Testing
Describe the tests you ran to verify your changes:
make quick-checkpasses cleanlymake pre-pushpasses cleanlyChecklist
make openapi-types).