Module Type Profiles for interfaces
NetBox version
v.4.3.1
Feature type
Data model extension
Proposed functionality
My request is for an additional default module profile to be added for network interface cards, (not sure on the exact naming).
As part of the 4.3.0 module type profiles were added, however there doesn't seem to be a default defined profile that covers interface modules. Like linecard modules for routers or PCIE network interface cards for servers.
Use case
Should allow for most module types to be profiled under one of the default profiles, and allow for grouping all these types of modules by their module profile as can be done with the other module profiles. We are also looking to added support for these new module profiles for modules that have been modelled within the devicetype-library by adding this as a default profile we can then enforce that modules defined within that repository have their module profiles defined.
Database changes
No response
External dependencies
No response
@harryajc can you please expand upon this in your feature request writeup, it is not clear from this what exactly you are asking for.
The information you have provided does not constitute an actionable feature request. Per our contributing guide, a feature request must include a thorough description of the proposed functionality, It must also include a detailed use case justifying its implementation. If you would like to elaborate on your proposal, please modify your post above. If sufficient detail is not added, this issue will be closed.
Hi @arthanson
Hope that makes more sense.
Can you please specify exactly what you would want to see in this interface profile, maybe even drafting the model fields you would want to see. This is currently not enough information to proceed with.
Hi Arthanson,
Hope this works.
{
"name": "Expansion card",
"schema": {
"properties": {
"Connector type": {
"type": "string",
"description": "Connector type e.g. PCIe x4"
},
"bandwidth": {
"type": "integer",
"description": "Total Bandwidth for this module"
}
}
}
}
This seems like a reasonable request for an example module type profile. We do not expect to be adding more of these in the future, however.
This should be placed in the dcim/migrations/initial_data/module_type_profiles directory, next to the other initial module type profiles where it will be picked up by the 0206_load_module_type_profiles data migration if it has not already been run. If the migration has already been run, then users will need to import or enter this manually.