A NetBox model represents a discrete object type such as a device or IP address. Each model is defined as a Python class and has its own SQL table. All NetBox data models can be categorized by type.
The Django content types framework can be used to reference models within the database. A ContentType instance references a model by its app_label and name: For example, the Site model is referred to as dcim.site. The content type combined with an object's primary key form a globally unique identifier for the object (e.g. dcim.site:123).
| Type | Change Logging | Webhooks | Custom Fields | Export Templates | Tags | Journaling | Nesting |
|---|---|---|---|---|---|---|---|
| Primary | :material-check: | :material-check: | :material-check: | :material-check: | :material-check: | :material-check: | |
| Organizational | :material-check: | :material-check: | :material-check: | :material-check: | |||
| Nested Group | :material-check: | :material-check: | :material-check: | :material-check: | :material-check: | ||
| Component | :material-check: | :material-check: | :material-check: | :material-check: | :material-check: | ||
| Component Template | :material-check: | :material-check: | :material-check: |