netbox-plugin-dns 1.2.7b2__py3-none-any.whl → 1.3b1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of netbox-plugin-dns might be problematic. Click here for more details.
- netbox_dns/__init__.py +55 -29
- netbox_dns/api/field_serializers.py +25 -0
- netbox_dns/api/nested_serializers.py +19 -1
- netbox_dns/api/serializers_/dnssec_key_template.py +13 -0
- netbox_dns/api/serializers_/dnssec_policy.py +30 -0
- netbox_dns/api/serializers_/record.py +2 -0
- netbox_dns/api/serializers_/record_template.py +2 -0
- netbox_dns/api/serializers_/zone.py +10 -1
- netbox_dns/choices/dnssec_key_template.py +4 -4
- netbox_dns/choices/dnssec_policy.py +2 -2
- netbox_dns/choices/record.py +64 -19
- netbox_dns/choices/utilities.py +4 -26
- netbox_dns/choices/zone.py +96 -1
- netbox_dns/fields/choice_array.py +13 -0
- netbox_dns/fields/timeperiod.py +15 -13
- netbox_dns/filtersets/dnssec_policy.py +25 -1
- netbox_dns/filtersets/zone.py +7 -2
- netbox_dns/filtersets/zone_template.py +2 -2
- netbox_dns/forms/dnssec_key_template.py +2 -1
- netbox_dns/forms/dnssec_policy.py +32 -2
- netbox_dns/forms/nameserver.py +2 -0
- netbox_dns/forms/record_template.py +1 -0
- netbox_dns/forms/zone.py +78 -15
- netbox_dns/forms/zone_template.py +9 -0
- netbox_dns/graphql/enums.py +41 -0
- netbox_dns/graphql/filter_lookups.py +13 -0
- netbox_dns/graphql/filters/__init__.py +12 -0
- netbox_dns/graphql/filters/dnssec_key_template.py +63 -0
- netbox_dns/graphql/filters/dnssec_policy.py +123 -0
- netbox_dns/graphql/filters/nameserver.py +32 -0
- netbox_dns/graphql/filters/record.py +89 -0
- netbox_dns/graphql/filters/record_template.py +55 -0
- netbox_dns/graphql/filters/registrar.py +30 -0
- netbox_dns/graphql/filters/registration_contact.py +27 -0
- netbox_dns/graphql/filters/view.py +28 -0
- netbox_dns/graphql/filters/zone.py +146 -0
- netbox_dns/graphql/filters/zone_template.py +97 -0
- netbox_dns/locale/de/LC_MESSAGES/django.mo +0 -0
- netbox_dns/locale/fr/LC_MESSAGES/django.mo +0 -0
- netbox_dns/migrations/0018_zone_domain_status_zone_expiration_date.py +23 -0
- netbox_dns/models/dnssec_key_template.py +0 -5
- netbox_dns/models/dnssec_policy.py +5 -8
- netbox_dns/models/nameserver.py +0 -5
- netbox_dns/models/record.py +4 -6
- netbox_dns/models/record_template.py +0 -5
- netbox_dns/models/registrar.py +0 -5
- netbox_dns/models/registration_contact.py +0 -5
- netbox_dns/models/view.py +0 -5
- netbox_dns/models/zone.py +44 -7
- netbox_dns/models/zone_template.py +1 -6
- netbox_dns/tables/zone.py +6 -1
- netbox_dns/template_content.py +2 -1
- netbox_dns/templates/netbox_dns/zone/registration.html +19 -0
- netbox_dns/urls.py +7 -0
- netbox_dns/utilities/conversions.py +13 -0
- netbox_dns/validators/dns_value.py +3 -0
- netbox_dns/validators/dnssec.py +10 -8
- netbox_dns/views/dnssec_key_template.py +0 -9
- netbox_dns/views/dnssec_policy.py +3 -10
- netbox_dns/views/nameserver.py +0 -9
- netbox_dns/views/record.py +0 -9
- netbox_dns/views/record_template.py +0 -3
- netbox_dns/views/registrar.py +0 -3
- netbox_dns/views/registration_contact.py +0 -3
- netbox_dns/views/view.py +0 -9
- netbox_dns/views/zone.py +11 -11
- netbox_dns/views/zone_template.py +0 -4
- {netbox_plugin_dns-1.2.7b2.dist-info → netbox_plugin_dns-1.3b1.dist-info}/METADATA +5 -3
- {netbox_plugin_dns-1.2.7b2.dist-info → netbox_plugin_dns-1.3b1.dist-info}/RECORD +72 -58
- {netbox_plugin_dns-1.2.7b2.dist-info → netbox_plugin_dns-1.3b1.dist-info}/WHEEL +1 -1
- netbox_dns/graphql/filters.py +0 -88
- {netbox_plugin_dns-1.2.7b2.dist-info → netbox_plugin_dns-1.3b1.dist-info/licenses}/LICENSE +0 -0
- {netbox_plugin_dns-1.2.7b2.dist-info → netbox_plugin_dns-1.3b1.dist-info}/top_level.txt +0 -0
netbox_dns/graphql/filters.py
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import strawberry_django
|
|
2
|
-
|
|
3
|
-
from netbox.graphql.filter_mixins import autotype_decorator, BaseFilterMixin
|
|
4
|
-
|
|
5
|
-
from netbox_dns.models import (
|
|
6
|
-
NameServer,
|
|
7
|
-
View,
|
|
8
|
-
Zone,
|
|
9
|
-
Record,
|
|
10
|
-
DNSSECKeyTemplate,
|
|
11
|
-
DNSSECPolicy,
|
|
12
|
-
RegistrationContact,
|
|
13
|
-
Registrar,
|
|
14
|
-
ZoneTemplate,
|
|
15
|
-
RecordTemplate,
|
|
16
|
-
)
|
|
17
|
-
from netbox_dns.filtersets import (
|
|
18
|
-
NameServerFilterSet,
|
|
19
|
-
ViewFilterSet,
|
|
20
|
-
ZoneFilterSet,
|
|
21
|
-
RecordFilterSet,
|
|
22
|
-
DNSSECKeyTemplateFilterSet,
|
|
23
|
-
DNSSECPolicyFilterSet,
|
|
24
|
-
RegistrationContactFilterSet,
|
|
25
|
-
RegistrarFilterSet,
|
|
26
|
-
ZoneTemplateFilterSet,
|
|
27
|
-
RecordTemplateFilterSet,
|
|
28
|
-
)
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
@strawberry_django.filter(NameServer, lookups=True)
|
|
32
|
-
@autotype_decorator(NameServerFilterSet)
|
|
33
|
-
class NetBoxDNSNameServerFilter(BaseFilterMixin):
|
|
34
|
-
pass
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
@strawberry_django.filter(View, lookups=True)
|
|
38
|
-
@autotype_decorator(ViewFilterSet)
|
|
39
|
-
class NetBoxDNSViewFilter(BaseFilterMixin):
|
|
40
|
-
pass
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
@strawberry_django.filter(Zone, lookups=True)
|
|
44
|
-
@autotype_decorator(ZoneFilterSet)
|
|
45
|
-
class NetBoxDNSZoneFilter(BaseFilterMixin):
|
|
46
|
-
rfc2317_prefix: str | None
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
@strawberry_django.filter(Record, lookups=True)
|
|
50
|
-
@autotype_decorator(RecordFilterSet)
|
|
51
|
-
class NetBoxDNSRecordFilter(BaseFilterMixin):
|
|
52
|
-
ip_address: str | None
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
@strawberry_django.filter(DNSSECKeyTemplate, lookups=True)
|
|
56
|
-
@autotype_decorator(DNSSECKeyTemplateFilterSet)
|
|
57
|
-
class NetBoxDNSDNSSECKeyTemplateFilter(BaseFilterMixin):
|
|
58
|
-
ip_address: str | None
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
@strawberry_django.filter(DNSSECPolicy, lookups=True)
|
|
62
|
-
@autotype_decorator(DNSSECPolicyFilterSet)
|
|
63
|
-
class NetBoxDNSDNSSECPolicyFilter(BaseFilterMixin):
|
|
64
|
-
ip_address: str | None
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
@strawberry_django.filter(ZoneTemplate, lookups=True)
|
|
68
|
-
@autotype_decorator(ZoneTemplateFilterSet)
|
|
69
|
-
class NetBoxDNSZoneTemplateFilter(BaseFilterMixin):
|
|
70
|
-
pass
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
@strawberry_django.filter(RecordTemplate, lookups=True)
|
|
74
|
-
@autotype_decorator(RecordTemplateFilterSet)
|
|
75
|
-
class NetBoxDNSRecordTemplateFilter(BaseFilterMixin):
|
|
76
|
-
pass
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
@strawberry_django.filter(RegistrationContact, lookups=True)
|
|
80
|
-
@autotype_decorator(RegistrationContactFilterSet)
|
|
81
|
-
class NetBoxDNSRegistrationContactFilter(BaseFilterMixin):
|
|
82
|
-
pass
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
@strawberry_django.filter(Registrar, lookups=True)
|
|
86
|
-
@autotype_decorator(RegistrarFilterSet)
|
|
87
|
-
class NetBoxDNSRegistrarFilter(BaseFilterMixin):
|
|
88
|
-
pass
|
|
File without changes
|
|
File without changes
|