Models
nautobot_device_lifecycle_mgmt.models
¶
Django models for the Lifecycle Management app.
CVELCM
¶
Bases: PrimaryModel
CVELCM is a model representation of a cve vulnerability record.
Source code in nautobot_device_lifecycle_mgmt/models.py
Meta
¶
ContactLCM
¶
Bases: PrimaryModel
ContactLCM is a model representation of a contact used in Contracts.
Source code in nautobot_device_lifecycle_mgmt/models.py
Meta
¶
__str__()
¶
clean()
¶
Override clean to do custom validation.
Source code in nautobot_device_lifecycle_mgmt/models.py
ContractLCM
¶
Bases: PrimaryModel
ContractLCM model for app.
Source code in nautobot_device_lifecycle_mgmt/models.py
DeviceSoftwareValidationResult
¶
Bases: PrimaryModel
Device Software validation details model.
Source code in nautobot_device_lifecycle_mgmt/models.py
HardwareLCM
¶
Bases: PrimaryModel
HardwareLCM model for app.
Source code in nautobot_device_lifecycle_mgmt/models.py
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 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 |
|
expired
property
¶
Return True or False if chosen field is expired.
Meta
¶
Meta attributes for the HardwareLCM class.
Source code in nautobot_device_lifecycle_mgmt/models.py
__str__()
¶
String representation of HardwareLCMs.
Source code in nautobot_device_lifecycle_mgmt/models.py
clean()
¶
Override clean to do custom validation.
Source code in nautobot_device_lifecycle_mgmt/models.py
save(*args, **kwargs)
¶
Override save to assert a full clean.
InventoryItemSoftwareValidationResult
¶
Bases: PrimaryModel
InventoryItem Software validation details model.
Source code in nautobot_device_lifecycle_mgmt/models.py
Meta
¶
Meta attributes for InventoryItemSoftwareValidationResult.
Source code in nautobot_device_lifecycle_mgmt/models.py
__str__()
¶
String representation of InventoryItemSoftwareValidationResult.
Source code in nautobot_device_lifecycle_mgmt/models.py
ProviderLCM
¶
Bases: OrganizationalModel
ProviderLCM model for app.
Source code in nautobot_device_lifecycle_mgmt/models.py
SoftwareImageLCM
¶
Bases: PrimaryModel
SoftwareImageLCM model.
Source code in nautobot_device_lifecycle_mgmt/models.py
Meta
¶
Meta attributes for SoftwareImageLCM.
Source code in nautobot_device_lifecycle_mgmt/models.py
SoftwareImageLCMQuerySet
¶
Bases: RestrictedQuerySet
Queryset for SoftwareImageLCM
objects.
Source code in nautobot_device_lifecycle_mgmt/models.py
get_for_object(obj)
¶
Return all SoftwareImageLCM
assigned to the given object.
Source code in nautobot_device_lifecycle_mgmt/models.py
SoftwareLCM
¶
Bases: PrimaryModel
Software Life-Cycle Management model.
Source code in nautobot_device_lifecycle_mgmt/models.py
Meta
¶
Meta attributes for SoftwareLCM.
Source code in nautobot_device_lifecycle_mgmt/models.py
SoftwareLCMQuerySet
¶
Bases: RestrictedQuerySet
Queryset for SoftwareLCM
objects.
Source code in nautobot_device_lifecycle_mgmt/models.py
get_for_object(obj)
¶
Return all SoftwareLCM
assigned to the given object.
Source code in nautobot_device_lifecycle_mgmt/models.py
ValidatedSoftwareLCM
¶
Bases: PrimaryModel
ValidatedSoftwareLCM model.
Source code in nautobot_device_lifecycle_mgmt/models.py
valid
property
¶
Return True if software is currently valid, else return False.
Meta
¶
Meta attributes for ValidatedSoftwareLCM.
Source code in nautobot_device_lifecycle_mgmt/models.py
__str__()
¶
clean()
¶
Override clean to do custom validation.
Source code in nautobot_device_lifecycle_mgmt/models.py
save(*args, **kwargs)
¶
Override save to assert a full clean.
ValidatedSoftwareLCMQuerySet
¶
Bases: RestrictedQuerySet
Queryset for ValidatedSoftwareLCM
objects.
Source code in nautobot_device_lifecycle_mgmt/models.py
get_for_object(obj)
¶
Return all ValidatedSoftwareLCM
assigned to the given object.
Source code in nautobot_device_lifecycle_mgmt/models.py
VulnerabilityLCM
¶
Bases: PrimaryModel
VulnerabilityLCM is a model representation of vulnerability that affects a device.