Skip to content

Add late-transformation-stage plugin hooks - #3769

Merged
ipspace merged 2 commits into
devfrom
plugin-quirk-hooks
Aug 13, 2026
Merged

Add late-transformation-stage plugin hooks#3769
ipspace merged 2 commits into
devfrom
plugin-quirk-hooks

Conversation

@ipspace

@ipspace ipspace commented Aug 13, 2026

Copy link
Copy Markdown
Owner

These hooks were added for device plugins (coming soon) and for plugins that need to look at final data structures before providers modify them (for example, check.config)

These hooks were added for device plugins (coming soon) and for plugins
that need to look at final data structures before providers modify them
(for example, check.config)

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds additional late-stage plugin hook points to the topology transformation pipeline, enabling plugins to inspect/adjust near-final topology data (including after device quirks and provider transforms).

Changes:

  • Invoke new plugin hooks around the device-quirks stage (pre_quirks, post_quirks).
  • Invoke a new plugin hook after provider post-transform processing (post_provider_transform).
  • Document the new transformation-stage plugin hooks in developer documentation.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
netsim/augment/main.py Adds late-stage plugin hook executions around quirks and provider post-transform.
docs/dev/plugins.md Documents the new plugin hook stages and their intended usage.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/dev/plugins.md Outdated
@ipspace
ipspace merged commit ab85760 into dev Aug 13, 2026
8 checks passed
@ipspace
ipspace deleted the plugin-quirk-hooks branch August 13, 2026 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants