Skip to content

Conversation

mfiedorowicz
Copy link
Member

This pull request updates the plugin utilities for the NetBox Diode plugin to support new features and improve data handling. The most significant changes are the addition of support for parent relationships in platforms, updates to supported fields, and improvements to data transformation logic.

Platform relationship and supported fields

  • Added support for a parent reference in the dcim.platform object, allowing platforms to have hierarchical relationships.
  • Updated the set of supported fields for dcim.platform to include comments and parent, enabling more comprehensive data ingestion and management.

Data transformation improvements

  • Changed the transformation functions for validation_maximum and validation_minimum fields to use transform_float_to_decimal for more accurate decimal handling, instead of converting to integers.

Documentation and metadata

  • Updated the compatibility matrix in README.md to include support for NetBox version >= 4.4.0 with plugin version 1.4.0.
  • Updated the generated code timestamp in plugin_utils.py for better traceability.

Signed-off-by: Michal Fiedorowicz <[email protected]>
@mfiedorowicz mfiedorowicz self-assigned this Oct 2, 2025
@mfiedorowicz mfiedorowicz changed the title feat: add support for NetBox v4.4 feat: support for NetBox v4.4 Oct 2, 2025
Copy link

github-actions bot commented Oct 2, 2025

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
3935 3558 90% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
netbox_diode_plugin/api/plugin_utils.py 83% 🟢
TOTAL 83% 🟢

updated for commit: 7b96b00 by action🐍

@mfiedorowicz mfiedorowicz merged commit e3a9d0e into develop Oct 3, 2025
7 checks passed
@mfiedorowicz mfiedorowicz deleted the feat-netbox-4-4-support branch October 3, 2025 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants