v0.7.1-beta: BGP Visibility Details - #50
Merged
DeepZone merged 1 commit intoMay 20, 2026
Merged
Conversation
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.
Motivation
Description
BgpVisibilityServicethat queries RIPEstat (routing-statusandbgp-state), extracts visible origins, visibility flags, peer counts, more/less-specific hints and maps results toOK/WARNING/CRITICAL/UNKNOWNwith human-friendly summaries and recommendations (backend/app/services/bgp_visibility_service.py).POST /api/check/bgp-visibilitywith payloadprefix, optionalexpected_origin_asand optionalchange_case_id, enforcing operator/admin roles, reusing existing check/report persistence and attaching checks/reports to Change Cases (404 on unknown case) (backend/app/api/routes_checks.py,backend/app/schemas.py).bgp_visibility_checkedwhen a visibility check runs and continue to emit existingcheck_attached_to_change_caseandreport_attached_to_change_caseevents when applicable.runBgpVisibilityCheckAPI helper, a new BGP Visibility UI page with prefix + optional expected-origin inputs, status badge, summary, origins, expected-origin-seen flag, multiple origins indicator, recommendations and expandable structured details, role-aware execution (admin/operator allowed, viewer can view but not run) (frontend/src/api.ts,frontend/src/components/BgpVisibilityForm.tsx,frontend/src/components/Layout.tsx,frontend/src/App.tsx).change_case_idand reloads case reports after success (frontend/src/components/ChangeCasesView.tsx).v0.7.1-betaand added release notes/README/ROADMAP entries describing the feature and read-only / external-data caveats (RELEASE_NOTES.md,README.md,ROADMAP.md, backend/frontend version bumps).Testing
cd backend && pytest -qwith all tests passing (96 passed, with warnings about deprecations only).cd frontend && npm run buildand produced a successful production build (vite buildcompleted).Codex Task