diff --git a/nautobot_ssot/integrations/librenms/migrations/00002_delete_librenmsinstance.py b/nautobot_ssot/integrations/librenms/migrations/00002_delete_librenmsinstance.py deleted file mode 100644 index a43ec10f..00000000 --- a/nautobot_ssot/integrations/librenms/migrations/00002_delete_librenmsinstance.py +++ /dev/null @@ -1,15 +0,0 @@ -# Generated by Django 3.2.23 on 2024-01-08 20:48 - -from django.db import migrations - - -class Migration(migrations.Migration): - dependencies = [ - ("nautobot_ssot_librenms", "0001_initial"), - ] - - operations = [ - migrations.DeleteModel( - name="LibreNMSInstance", - ), - ] diff --git a/nautobot_ssot/integrations/librenms/migrations/0001_initial.py b/nautobot_ssot/integrations/librenms/migrations/0001_initial.py deleted file mode 100644 index 2aae2c61..00000000 --- a/nautobot_ssot/integrations/librenms/migrations/0001_initial.py +++ /dev/null @@ -1,73 +0,0 @@ -# Generated by Django 3.2.23 on 2024-01-04 15:46 - -import django.core.serializers.json -from django.db import migrations, models -import django.db.models.deletion -import nautobot.core.models.fields -import nautobot.extras.models.mixins -import uuid - - -class Migration(migrations.Migration): - initial = True - - dependencies = [ - ("extras", "0102_set_null_objectchange_contenttype"), - ("tenancy", "0008_tagsfield"), - ] - - operations = [ - migrations.CreateModel( - name="LibreNMSInstance", - fields=[ - ( - "id", - models.UUIDField( - default=uuid.uuid4, editable=False, primary_key=True, serialize=False, unique=True - ), - ), - ("created", models.DateTimeField(auto_now_add=True, null=True)), - ("last_updated", models.DateTimeField(auto_now=True, null=True)), - ( - "_custom_field_data", - models.JSONField(blank=True, default=dict, encoder=django.core.serializers.json.DjangoJSONEncoder), - ), - ("name", models.CharField(max_length=100, unique=True)), - ("description", models.CharField(blank=True, max_length=200)), - ("host_url", models.CharField(blank=True, max_length=255)), - ("port", models.IntegerField(default=443)), - ("verify", models.BooleanField(default=True)), - ( - "auth_group", - models.ForeignKey( - blank=True, - default=None, - null=True, - on_delete=django.db.models.deletion.SET_NULL, - to="extras.secretsgroup", - ), - ), - ("tags", nautobot.core.models.fields.TagsField(through="extras.TaggedItem", to="extras.Tag")), - ( - "tenant", - models.ForeignKey( - blank=True, - default=None, - null=True, - on_delete=django.db.models.deletion.SET_NULL, - to="tenancy.tenant", - ), - ), - ], - options={ - "verbose_name": "LibreNMS Instance", - "verbose_name_plural": "LibreNMS Instances", - "ordering": ["name"], - }, - bases=( - models.Model, - nautobot.extras.models.mixins.DynamicGroupMixin, - nautobot.extras.models.mixins.NotesMixin, - ), - ), - ] diff --git a/nautobot_ssot/integrations/librenms/migrations/__init__.py b/nautobot_ssot/integrations/librenms/migrations/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/nautobot_ssot/integrations/librenms/templates/nautobot_ssot_librenms/librenmsinstance.html b/nautobot_ssot/integrations/librenms/templates/nautobot_ssot_librenms/librenmsinstance.html deleted file mode 100644 index 54b7a35a..00000000 --- a/nautobot_ssot/integrations/librenms/templates/nautobot_ssot_librenms/librenmsinstance.html +++ /dev/null @@ -1,123 +0,0 @@ - - -{% extends 'generic/object_detail.html' %} -{% load buttons %} -{% load static %} -{% load custom_links %} -{% load helpers %} -{% load plugins %} - -{% block title %}{{ object }}{% endblock %} - - - -{% block header %} -
- -Name | -- {{ object.name }} - | -
Description | -- {{ object.description|placeholder }} - | -
Host URL | -- {{ object.host_url|placeholder }} - | -
Port | -- {{ object.port|placeholder }} - | -
Verify SSL | -- {{ object.verify|placeholder }} - | -
Secrets Group | -- {{ object.auth_group|placeholder }} - | -