What problem does it solve?
It helps you add a new configuration parameter to NetBox without breaking runtime behavior, by guiding you to choose between static (restart-required) and dynamic (admin-editable) configuration patterns.
Core Features & Use Cases
- Choose the right parameter type: Decide whether your setting belongs in
settings.py (static) or netbox/config/parameters.py with UI editing (dynamic).
- Implement the parameter correctly: Define dynamic parameters via the
PARAMS tuple with an appropriate Django form field type, and access the value using get_config() or ConfigItem.
- Document for operators: Add a docs section under
docs/configuration/ and register the parameter in the dynamic parameter index, so it’s discoverable in the admin and documentation.
Quick Start
Use the add-config-param skill to add a dynamic parameter named MY_PARAM by defining it in netbox/netbox/config/parameters.py, documenting it under docs/configuration/, and accessing it in code via get_config().MY_PARAM.