Overview of NetBox Form Classes
mainNetBox provides specialized base form classes for plugin development to ensure consistency with the core UI and data models. Depending on your use case, you should choose one of the following:
NetBoxModelForm: Used for creating or editing individual objects. Supports tags and custom fields.NetBoxModelImportForm: Used for bulk importing objects from CSV, JSON, or YAML data.NetBoxModelBulkEditForm: Used for editing multiple objects simultaneously. Fields are generallyrequired=False.NetBoxModelFilterSetForm: Used to render filtering forms within list views.
Additionally, NetBox provides model-specific subclasses for these classes based on the model type (PrimaryModel, OrganizationalModel, or NestedGroupModel).