Field Serviceable Units Models¶
nautobot_fsus.models
¶
Object models for Nautobot FSUS.
CPU
¶
Bases: FSUModel
Represents an individual CPU component in a device or storage location.
Source code in nautobot_fsus/models/fsus.py
Meta
¶
clean_fields(exclude=None)
¶
Validate the parent Device against the parent Mainboard.
Source code in nautobot_fsus/models/fsus.py
to_csv()
¶
Return a tuple of model values suitable for CSV export.
Source code in nautobot_fsus/models/fsus.py
CPUTemplate
¶
Bases: FSUTemplateModel
A template for a CPU to be created on a new device.
Source code in nautobot_fsus/models/fsu_templates.py
Meta
¶
CPUType
¶
Bases: FSUTypeModel
Represents a CPU component type.
Source code in nautobot_fsus/models/fsu_types.py
Meta
¶
to_csv()
¶
Return a tuple of values suitable for CSV export.
Source code in nautobot_fsus/models/fsu_types.py
Disk
¶
Bases: FSUModel
Represents an individual Disk component in a device or storage location.
Source code in nautobot_fsus/models/fsus.py
Meta
¶
clean_fields(exclude=None)
¶
Validate the parent Device against the parent HBA.
Source code in nautobot_fsus/models/fsus.py
to_csv()
¶
Return a tuple of model values suitable for CSV data.
Source code in nautobot_fsus/models/fsus.py
DiskTemplate
¶
Bases: FSUTemplateModel
A template for a Disk to be created on a new device.
Source code in nautobot_fsus/models/fsu_templates.py
Meta
¶
DiskType
¶
Bases: FSUTypeModel
Represents a Disk component type.
Source code in nautobot_fsus/models/fsu_types.py
Fan
¶
Bases: FSUModel
Represents an individual Fan component in a device or storage location.
Source code in nautobot_fsus/models/fsus.py
FanTemplate
¶
Bases: FSUTemplateModel
A template for a Fan to be created on a new device.
Source code in nautobot_fsus/models/fsu_templates.py
Meta
¶
FanType
¶
Bases: FSUTypeModel
Represents a Fan component type.
Source code in nautobot_fsus/models/fsu_types.py
GPU
¶
Bases: PCIFSUModel
Represents an individual GPU component in a device or storage location.
Source code in nautobot_fsus/models/fsus.py
218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 |
|
Meta
¶
clean_fields(exclude=None)
¶
Validate the parent Device against the parent GPU Baseboard.
Source code in nautobot_fsus/models/fsus.py
to_csv()
¶
Return a tuple of model values suitable for CSV export.
Source code in nautobot_fsus/models/fsus.py
GPUBaseboard
¶
Bases: FSUModel
Represents an individual GPU Baseboard component in a device or storage location.
Source code in nautobot_fsus/models/fsus.py
GPUBaseboardTemplate
¶
Bases: FSUTemplateModel
A template for a GPU Baseboard to be created on a new device.
Source code in nautobot_fsus/models/fsu_templates.py
GPUBaseboardType
¶
Bases: FSUTypeModel
Represents a GPU Baseboard type.
Source code in nautobot_fsus/models/fsu_types.py
GPUTemplate
¶
Bases: FSUTemplateModel
A template for a GPU to be created on a new device.
Source code in nautobot_fsus/models/fsu_templates.py
Meta
¶
GPUType
¶
Bases: FSUTypeModel
Represents a GPU component type.
Source code in nautobot_fsus/models/fsu_types.py
HBA
¶
Bases: PCIFSUModel
Represents an individual HBA component in a device or storage location.
Source code in nautobot_fsus/models/fsus.py
HBATemplate
¶
Bases: FSUTemplateModel
A template for a HBA to be created on a new device.
Source code in nautobot_fsus/models/fsu_templates.py
Meta
¶
HBAType
¶
Bases: FSUTypeModel
Represents an HBA component type.
Source code in nautobot_fsus/models/fsu_types.py
Mainboard
¶
Bases: FSUModel
Represents an individual Mainboard component in a device or storage location.
Source code in nautobot_fsus/models/fsus.py
MainboardTemplate
¶
Bases: FSUTemplateModel
A template for a Mainboard to be created on a new device.
Source code in nautobot_fsus/models/fsu_templates.py
Meta
¶
MainboardType
¶
Bases: FSUTypeModel
Represents a Mainboard component type.
Source code in nautobot_fsus/models/fsu_types.py
NIC
¶
Bases: PCIFSUModel
Represents an individual NIC component in a device or storage location.
Source code in nautobot_fsus/models/fsus.py
NICTemplate
¶
Bases: FSUTemplateModel
A template for a NIC to be created on a new device.
Source code in nautobot_fsus/models/fsu_templates.py
Meta
¶
NICType
¶
Bases: FSUTypeModel
Represents a NIC component type.
Source code in nautobot_fsus/models/fsu_types.py
OtherFSU
¶
Bases: FSUModel
Represents an individual generic FSU component in a device or storage location.
Source code in nautobot_fsus/models/fsus.py
OtherFSUTemplate
¶
Bases: FSUTemplateModel
A template for a generic FSU to be created on a new device.
Source code in nautobot_fsus/models/fsu_templates.py
Meta
¶
OtherFSUType
¶
Bases: FSUTypeModel
Represents a generic FSU component type.
Source code in nautobot_fsus/models/fsu_types.py
PSU
¶
Bases: FSUModel
Represents an individual PSU component in a device or storage location.
Source code in nautobot_fsus/models/fsus.py
Meta
¶
to_csv()
¶
Return a tuple of model values suitable for CSV export.
Source code in nautobot_fsus/models/fsus.py
PSUTemplate
¶
Bases: FSUTemplateModel
A template for a PSU to be created on a new device.
Source code in nautobot_fsus/models/fsu_templates.py
Meta
¶
PSUType
¶
Bases: FSUTypeModel
Represents a Power Supply Unit type.
Source code in nautobot_fsus/models/fsu_types.py
Meta
¶
to_csv()
¶
Return a tuple of values suitable for CSV export.
Source code in nautobot_fsus/models/fsu_types.py
RAMModule
¶
Bases: FSUModel
Represents an individual RAM module component in a device or storage location.
Source code in nautobot_fsus/models/fsus.py
Meta
¶
to_csv()
¶
Return a tuple of model values suitable for CSV export.
Source code in nautobot_fsus/models/fsus.py
RAMModuleTemplate
¶
Bases: FSUTemplateModel
A template for a RAM Module to be created on a new device.
Source code in nautobot_fsus/models/fsu_templates.py
RAMModuleType
¶
Bases: FSUTypeModel
Represents a memory component type.
Source code in nautobot_fsus/models/fsu_types.py
Meta
¶
to_csv()
¶
Return a tuple of values suitable for CSV export.
Source code in nautobot_fsus/models/fsu_types.py
fsu_templates
¶
Template versions of Field Serviceable Units, to be associated with DeviceTypes.
CPUTemplate
¶
Bases: FSUTemplateModel
A template for a CPU to be created on a new device.
Source code in nautobot_fsus/models/fsu_templates.py
Meta
¶
DiskTemplate
¶
Bases: FSUTemplateModel
A template for a Disk to be created on a new device.
Source code in nautobot_fsus/models/fsu_templates.py
Meta
¶
FanTemplate
¶
Bases: FSUTemplateModel
A template for a Fan to be created on a new device.
Source code in nautobot_fsus/models/fsu_templates.py
Meta
¶
GPUBaseboardTemplate
¶
Bases: FSUTemplateModel
A template for a GPU Baseboard to be created on a new device.
Source code in nautobot_fsus/models/fsu_templates.py
GPUTemplate
¶
Bases: FSUTemplateModel
A template for a GPU to be created on a new device.
Source code in nautobot_fsus/models/fsu_templates.py
Meta
¶
HBATemplate
¶
Bases: FSUTemplateModel
A template for a HBA to be created on a new device.
Source code in nautobot_fsus/models/fsu_templates.py
Meta
¶
MainboardTemplate
¶
Bases: FSUTemplateModel
A template for a Mainboard to be created on a new device.
Source code in nautobot_fsus/models/fsu_templates.py
Meta
¶
NICTemplate
¶
Bases: FSUTemplateModel
A template for a NIC to be created on a new device.
Source code in nautobot_fsus/models/fsu_templates.py
Meta
¶
OtherFSUTemplate
¶
Bases: FSUTemplateModel
A template for a generic FSU to be created on a new device.
Source code in nautobot_fsus/models/fsu_templates.py
Meta
¶
PSUTemplate
¶
Bases: FSUTemplateModel
A template for a PSU to be created on a new device.
Source code in nautobot_fsus/models/fsu_templates.py
Meta
¶
RAMModuleTemplate
¶
Bases: FSUTemplateModel
A template for a RAM Module to be created on a new device.
Source code in nautobot_fsus/models/fsu_templates.py
fsu_types
¶
Models for Field Serviceable Unit types.
An FSU type is an individual product, defined by manufacturer, model name, and part number.
CPUType
¶
Bases: FSUTypeModel
Represents a CPU component type.
Source code in nautobot_fsus/models/fsu_types.py
Meta
¶
to_csv()
¶
Return a tuple of values suitable for CSV export.
Source code in nautobot_fsus/models/fsu_types.py
DiskType
¶
Bases: FSUTypeModel
Represents a Disk component type.
Source code in nautobot_fsus/models/fsu_types.py
FanType
¶
Bases: FSUTypeModel
Represents a Fan component type.
Source code in nautobot_fsus/models/fsu_types.py
GPUBaseboardType
¶
Bases: FSUTypeModel
Represents a GPU Baseboard type.
Source code in nautobot_fsus/models/fsu_types.py
GPUType
¶
Bases: FSUTypeModel
Represents a GPU component type.
Source code in nautobot_fsus/models/fsu_types.py
HBAType
¶
Bases: FSUTypeModel
Represents an HBA component type.
Source code in nautobot_fsus/models/fsu_types.py
MainboardType
¶
Bases: FSUTypeModel
Represents a Mainboard component type.
Source code in nautobot_fsus/models/fsu_types.py
NICType
¶
Bases: FSUTypeModel
Represents a NIC component type.
Source code in nautobot_fsus/models/fsu_types.py
OtherFSUType
¶
Bases: FSUTypeModel
Represents a generic FSU component type.
Source code in nautobot_fsus/models/fsu_types.py
PSUType
¶
Bases: FSUTypeModel
Represents a Power Supply Unit type.
Source code in nautobot_fsus/models/fsu_types.py
Meta
¶
to_csv()
¶
Return a tuple of values suitable for CSV export.
Source code in nautobot_fsus/models/fsu_types.py
RAMModuleType
¶
Bases: FSUTypeModel
Represents a memory component type.
Source code in nautobot_fsus/models/fsu_types.py
Meta
¶
to_csv()
¶
Return a tuple of values suitable for CSV export.
Source code in nautobot_fsus/models/fsu_types.py
fsus
¶
Models for Field Serviceable Units (FSUs).
An FSU is a physical instance of its parent FSU type, and can be either installed in a Device, or available for use in a Location.
CPU
¶
Bases: FSUModel
Represents an individual CPU component in a device or storage location.
Source code in nautobot_fsus/models/fsus.py
Meta
¶
clean_fields(exclude=None)
¶
Validate the parent Device against the parent Mainboard.
Source code in nautobot_fsus/models/fsus.py
to_csv()
¶
Return a tuple of model values suitable for CSV export.
Source code in nautobot_fsus/models/fsus.py
Disk
¶
Bases: FSUModel
Represents an individual Disk component in a device or storage location.
Source code in nautobot_fsus/models/fsus.py
Meta
¶
clean_fields(exclude=None)
¶
Validate the parent Device against the parent HBA.
Source code in nautobot_fsus/models/fsus.py
to_csv()
¶
Return a tuple of model values suitable for CSV data.
Source code in nautobot_fsus/models/fsus.py
Fan
¶
Bases: FSUModel
Represents an individual Fan component in a device or storage location.
Source code in nautobot_fsus/models/fsus.py
GPU
¶
Bases: PCIFSUModel
Represents an individual GPU component in a device or storage location.
Source code in nautobot_fsus/models/fsus.py
218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 |
|
Meta
¶
clean_fields(exclude=None)
¶
Validate the parent Device against the parent GPU Baseboard.
Source code in nautobot_fsus/models/fsus.py
to_csv()
¶
Return a tuple of model values suitable for CSV export.
Source code in nautobot_fsus/models/fsus.py
GPUBaseboard
¶
Bases: FSUModel
Represents an individual GPU Baseboard component in a device or storage location.
Source code in nautobot_fsus/models/fsus.py
HBA
¶
Bases: PCIFSUModel
Represents an individual HBA component in a device or storage location.
Source code in nautobot_fsus/models/fsus.py
Mainboard
¶
Bases: FSUModel
Represents an individual Mainboard component in a device or storage location.
Source code in nautobot_fsus/models/fsus.py
NIC
¶
Bases: PCIFSUModel
Represents an individual NIC component in a device or storage location.
Source code in nautobot_fsus/models/fsus.py
OtherFSU
¶
Bases: FSUModel
Represents an individual generic FSU component in a device or storage location.
Source code in nautobot_fsus/models/fsus.py
PSU
¶
Bases: FSUModel
Represents an individual PSU component in a device or storage location.
Source code in nautobot_fsus/models/fsus.py
Meta
¶
to_csv()
¶
Return a tuple of model values suitable for CSV export.
Source code in nautobot_fsus/models/fsus.py
RAMModule
¶
Bases: FSUModel
Represents an individual RAM module component in a device or storage location.
Source code in nautobot_fsus/models/fsus.py
Meta
¶
to_csv()
¶
Return a tuple of model values suitable for CSV export.
Source code in nautobot_fsus/models/fsus.py
mixins
¶
Base classes for object models.
FSUModel
¶
Bases: PrimaryModel
, StatusModel
Abstract base class for Field Serviceable Units.
An FSU is a physical device component that is being tracked in inventory. All FSUs have an FSU type, relating them to their manufacturer, model name, and part number. FSUs are also related to either the Device where they are installed, or to a Location if they are in storage and not yet installed. In addition, this abstract class provides the common set of data fields all FSUs share - name, serial number, firmware version, etc.
Source code in nautobot_fsus/models/mixins.py
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 |
|
parent: Device | Location | None
property
¶
Return the parent Device or Location, as appropriate.
Meta
¶
__str__()
¶
clean()
¶
Perform model validation steps.
Source code in nautobot_fsus/models/mixins.py
get_absolute_url()
¶
save(*args, **kwargs)
¶
to_csv()
¶
Return a tuple of model values suitable for CSV export.
Source code in nautobot_fsus/models/mixins.py
to_objectchange(action, **kwargs)
¶
Return a new ObjectChange on updates.
ObjectChange will have related_object
set to either the parent device
or location
as appropriate.
Source code in nautobot_fsus/models/mixins.py
FSUTemplateModel
¶
Bases: BaseModel
, ChangeLoggedModel
, CustomFieldModel
, RelationshipModel
Abstract base model for FSU templates.
FSU templates are similar to Nautobot device component templates - they are associated with a DeviceType, and when a Device is created from that DeviceType, the FSUs are instantiated automatically.
Source code in nautobot_fsus/models/mixins.py
FSUTypeModel
¶
Bases: PrimaryModel
Abstract base class for FSU types.
An FSU type is a discrete component, with a manufacturer, model name, and part number. It is equivalent to a catalog entry for a product that can be purchased. Each FSU type has a unique part number for its manufacturer.
Source code in nautobot_fsus/models/mixins.py
PCIFSUModel
¶
Bases: FSUModel
Abstract base class for an FSU that occupies a PCI slot.
Source code in nautobot_fsus/models/mixins.py
Meta
¶
to_csv()
¶
Return a tuple of model values suitable for CSV export.