feat(web): discovery rules management page - #43
Merged
Conversation
Add a /discovery page (new nav entry) to manage network discovery rules: a list with each rule's range, method, template, interval and last run, plus per-rule Scan now and Delete; and a create form (CIDR, ping/TCP + port, optional template, interval) that surfaces validation (e.g. the CIDR host cap). Tests: create-from-form, list render, scan-now provisions hosts (reachability stubbed), delete, and the huge-CIDR rejection. Full suite 217 passed; ruff + mypy(strict) green.
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.
Context
Phase 5 — the web UI for network discovery (engine + API was #41).
Changes
/discoverypage (new nav entry): list rules (range, method, template, interval,last run) with per-rule Scan now and Delete; a create form (CIDR, ping/TCP +
port, optional template, interval) surfacing validation (CIDR host cap).
Tests
Create-from-form, list render, scan-now provisions hosts (reachability stubbed),
delete, huge-CIDR rejection. Full suite 217 passed; ruff + mypy(strict) green.
Screenshot in the README.