ICTU / netbox_slm

Netbox Software Lifecycle Management Extension
Other
36 stars 7 forks source link

Expand the plugin to track all life cycle #11

Closed ryanmerolle closed 12 months ago

ryanmerolle commented 2 years ago

The plugin to compare this to would be Nautbot's Device Lifecycle Mgmt

It would be nice to eventually expand to hardware life cycle items. I am raising this feature request for debate. I think we should button up the software lifecycle before expanding to include hardware, but I wanted to get this idea out sooner rather than later. Something like this makes sense:

class HardwareLM:

    # Set model columns
    device_type = models.ForeignKey(
        to="dcim.DeviceType",
        on_delete=models.CASCADE,
        verbose_name="Device Type",
        blank=True,
        null=True,
    )
    module_type = models.ForeignKey(
        to="dcim.ModuleType",
        on_delete=models.CASCADE,
        verbose_name="Module Type",
        blank=True,
        null=True,
    )

    inventory_item = models.CharField(verbose_name="Inventory Item Part", max_length=255, blank=True, null=True)
    release_date = models.DateField(null=True, blank=True, verbose_name="Release Date")
    end_of_sale = models.DateField(null=True, blank=True, verbose_name="End of Sale")
    end_of_support = models.DateField(null=True, blank=True, verbose_name="End of Support")
    end_of_sw_releases = models.DateField(null=True, blank=True, verbose_name="End of Software Releases")
    end_of_security_patches = models.DateField(null=True, blank=True, verbose_name="End of Security Patches")
    documentation_url = models.URLField(blank=True, verbose_name="Documentation URL")
    comments = models.TextField(null=True, blank=True, verbose_name="Comments")
MartVisser commented 12 months ago

I'm going to close this issue due to inactivity. If this is still relevant, please do not hesitate to reopen this issue or submit a PR.