netbox-plugin-dns 1.1.7__py3-none-any.whl → 1.2.0__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.

Files changed (38) hide show
  1. netbox_dns/__init__.py +9 -4
  2. netbox_dns/filtersets/zone.py +0 -14
  3. netbox_dns/migrations/0012_natural_ordering.py +88 -0
  4. netbox_dns/models/nameserver.py +1 -0
  5. netbox_dns/models/record.py +2 -0
  6. netbox_dns/models/record_template.py +2 -0
  7. netbox_dns/models/registrar.py +1 -0
  8. netbox_dns/models/registration_contact.py +2 -0
  9. netbox_dns/models/view.py +1 -0
  10. netbox_dns/models/zone.py +1 -0
  11. netbox_dns/models/zone_template.py +1 -0
  12. netbox_dns/navigation.py +9 -9
  13. netbox_dns/signals/ipam_dnssync.py +1 -19
  14. netbox_dns/template_content.py +4 -4
  15. netbox_dns/templates/netbox_dns/record.html +1 -1
  16. netbox_dns/urls.py +72 -0
  17. netbox_dns/views/nameserver.py +8 -0
  18. netbox_dns/views/record.py +9 -0
  19. netbox_dns/views/record_template.py +9 -0
  20. netbox_dns/views/registrar.py +12 -4
  21. netbox_dns/views/registration_contact.py +12 -4
  22. netbox_dns/views/view.py +13 -4
  23. netbox_dns/views/zone.py +8 -0
  24. netbox_dns/views/zone_template.py +9 -0
  25. {netbox_plugin_dns-1.1.7.dist-info → netbox_plugin_dns-1.2.0.dist-info}/METADATA +1 -1
  26. {netbox_plugin_dns-1.1.7.dist-info → netbox_plugin_dns-1.2.0.dist-info}/RECORD +29 -36
  27. netbox_dns/urls/__init__.py +0 -21
  28. netbox_dns/urls/nameserver.py +0 -45
  29. netbox_dns/urls/record.py +0 -29
  30. netbox_dns/urls/record_template.py +0 -56
  31. netbox_dns/urls/registrar.py +0 -39
  32. netbox_dns/urls/registration_contact.py +0 -60
  33. netbox_dns/urls/view.py +0 -31
  34. netbox_dns/urls/zone.py +0 -25
  35. netbox_dns/urls/zone_template.py +0 -47
  36. {netbox_plugin_dns-1.1.7.dist-info → netbox_plugin_dns-1.2.0.dist-info}/LICENSE +0 -0
  37. {netbox_plugin_dns-1.1.7.dist-info → netbox_plugin_dns-1.2.0.dist-info}/WHEEL +0 -0
  38. {netbox_plugin_dns-1.1.7.dist-info → netbox_plugin_dns-1.2.0.dist-info}/top_level.txt +0 -0
@@ -26,10 +26,7 @@ __all__ = (
26
26
  )
27
27
 
28
28
 
29
- class RegistrarView(generic.ObjectView):
30
- queryset = Registrar.objects.all()
31
-
32
-
29
+ @register_model_view(Registrar, "list", path="", detail=False)
33
30
  class RegistrarListView(generic.ObjectListView):
34
31
  queryset = Registrar.objects.all()
35
32
  table = RegistrarTable
@@ -37,17 +34,26 @@ class RegistrarListView(generic.ObjectListView):
37
34
  filterset_form = RegistrarFilterForm
38
35
 
39
36
 
37
+ @register_model_view(Registrar)
38
+ class RegistrarView(generic.ObjectView):
39
+ queryset = Registrar.objects.all()
40
+
41
+
42
+ @register_model_view(Registrar, "add", detail=False)
43
+ @register_model_view(Registrar, "edit")
40
44
  class RegistrarEditView(generic.ObjectEditView):
41
45
  queryset = Registrar.objects.all()
42
46
  form = RegistrarForm
43
47
  default_return_url = "plugins:netbox_dns:registrar_list"
44
48
 
45
49
 
50
+ @register_model_view(Registrar, "delete")
46
51
  class RegistrarDeleteView(generic.ObjectDeleteView):
47
52
  queryset = Registrar.objects.all()
48
53
  default_return_url = "plugins:netbox_dns:registrar_list"
49
54
 
50
55
 
56
+ @register_model_view(Registrar, "bulk_import", detail=False)
51
57
  class RegistrarBulkImportView(generic.BulkImportView):
52
58
  queryset = Registrar.objects.all()
53
59
  model_form = RegistrarImportForm
@@ -55,6 +61,7 @@ class RegistrarBulkImportView(generic.BulkImportView):
55
61
  default_return_url = "plugins:netbox_dns:registrar_list"
56
62
 
57
63
 
64
+ @register_model_view(Registrar, "bulk_edit", path="edit", detail=False)
58
65
  class RegistrarBulkEditView(generic.BulkEditView):
59
66
  queryset = Registrar.objects.all()
60
67
  filterset = RegistrarFilterSet
@@ -62,6 +69,7 @@ class RegistrarBulkEditView(generic.BulkEditView):
62
69
  form = RegistrarBulkEditForm
63
70
 
64
71
 
72
+ @register_model_view(Registrar, "bulk_delete", path="delete", detail=False)
65
73
  class RegistrarBulkDeleteView(generic.BulkDeleteView):
66
74
  queryset = Registrar.objects.all()
67
75
  table = RegistrarTable
@@ -27,10 +27,7 @@ __all__ = (
27
27
  )
28
28
 
29
29
 
30
- class RegistrationContactView(generic.ObjectView):
31
- queryset = RegistrationContact.objects.all()
32
-
33
-
30
+ @register_model_view(RegistrationContact, "list", path="", detail=False)
34
31
  class RegistrationContactListView(generic.ObjectListView):
35
32
  queryset = RegistrationContact.objects.all()
36
33
  table = RegistrationContactTable
@@ -38,17 +35,26 @@ class RegistrationContactListView(generic.ObjectListView):
38
35
  filterset_form = RegistrationContactFilterForm
39
36
 
40
37
 
38
+ @register_model_view(RegistrationContact)
39
+ class RegistrationContactView(generic.ObjectView):
40
+ queryset = RegistrationContact.objects.all()
41
+
42
+
43
+ @register_model_view(RegistrationContact, "add", detail=False)
44
+ @register_model_view(RegistrationContact, "edit")
41
45
  class RegistrationContactEditView(generic.ObjectEditView):
42
46
  queryset = RegistrationContact.objects.all()
43
47
  form = RegistrationContactForm
44
48
  default_return_url = "plugins:netbox_dns:registrationcontact_list"
45
49
 
46
50
 
51
+ @register_model_view(RegistrationContact, "delete")
47
52
  class RegistrationContactDeleteView(generic.ObjectDeleteView):
48
53
  queryset = RegistrationContact.objects.all()
49
54
  default_return_url = "plugins:netbox_dns:registrationcontact_list"
50
55
 
51
56
 
57
+ @register_model_view(RegistrationContact, "bulk_import", detail=False)
52
58
  class RegistrationContactBulkImportView(generic.BulkImportView):
53
59
  queryset = RegistrationContact.objects.all()
54
60
  model_form = RegistrationContactImportForm
@@ -56,6 +62,7 @@ class RegistrationContactBulkImportView(generic.BulkImportView):
56
62
  default_return_url = "plugins:netbox_dns:registrationcontact_list"
57
63
 
58
64
 
65
+ @register_model_view(RegistrationContact, "bulk_edit", path="edit", detail=False)
59
66
  class RegistrationContactBulkEditView(generic.BulkEditView):
60
67
  queryset = RegistrationContact.objects.all()
61
68
  filterset = RegistrationContactFilterSet
@@ -63,6 +70,7 @@ class RegistrationContactBulkEditView(generic.BulkEditView):
63
70
  form = RegistrationContactBulkEditForm
64
71
 
65
72
 
73
+ @register_model_view(RegistrationContact, "bulk_delete", path="delete", detail=False)
66
74
  class RegistrationContactBulkDeleteView(generic.BulkDeleteView):
67
75
  queryset = RegistrationContact.objects.all()
68
76
  table = RegistrationContactTable
netbox_dns/views/view.py CHANGED
@@ -30,10 +30,7 @@ __all__ = (
30
30
  )
31
31
 
32
32
 
33
- class ViewView(generic.ObjectView):
34
- queryset = View.objects.prefetch_related("zones")
35
-
36
-
33
+ @register_model_view(View, "list", path="", detail=False)
37
34
  class ViewListView(generic.ObjectListView):
38
35
  queryset = View.objects.all()
39
36
  table = ViewTable
@@ -41,17 +38,26 @@ class ViewListView(generic.ObjectListView):
41
38
  filterset_form = ViewFilterForm
42
39
 
43
40
 
41
+ @register_model_view(View)
42
+ class ViewView(generic.ObjectView):
43
+ queryset = View.objects.prefetch_related("zones")
44
+
45
+
46
+ @register_model_view(View, "add", detail=False)
47
+ @register_model_view(View, "edit")
44
48
  class ViewEditView(generic.ObjectEditView):
45
49
  queryset = View.objects.all()
46
50
  form = ViewForm
47
51
  default_return_url = "plugins:netbox_dns:view_list"
48
52
 
49
53
 
54
+ @register_model_view(View, "delete")
50
55
  class ViewDeleteView(generic.ObjectDeleteView):
51
56
  queryset = View.objects.all()
52
57
  default_return_url = "plugins:netbox_dns:view_list"
53
58
 
54
59
 
60
+ @register_model_view(View, "bulk_import", detail=False)
55
61
  class ViewBulkImportView(generic.BulkImportView):
56
62
  queryset = View.objects.all()
57
63
  model_form = ViewImportForm
@@ -59,6 +65,7 @@ class ViewBulkImportView(generic.BulkImportView):
59
65
  default_return_url = "plugins:netbox_dns:view_list"
60
66
 
61
67
 
68
+ @register_model_view(View, "bulk_edit", path="edit", detail=False)
62
69
  class ViewBulkEditView(generic.BulkEditView):
63
70
  queryset = View.objects.all()
64
71
  filterset = ViewFilterSet
@@ -66,11 +73,13 @@ class ViewBulkEditView(generic.BulkEditView):
66
73
  form = ViewBulkEditForm
67
74
 
68
75
 
76
+ @register_model_view(View, "bulk_delete", path="delete", detail=False)
69
77
  class ViewBulkDeleteView(generic.BulkDeleteView):
70
78
  queryset = View.objects.all()
71
79
  table = ViewTable
72
80
 
73
81
 
82
+ @register_model_view(Prefix, "views", path="assign-views")
74
83
  class ViewPrefixEditView(generic.ObjectEditView):
75
84
  queryset = Prefix.objects.all()
76
85
  form = ViewPrefixEditForm
netbox_dns/views/zone.py CHANGED
@@ -33,6 +33,7 @@ __all__ = (
33
33
  )
34
34
 
35
35
 
36
+ @register_model_view(Zone, "list", path="", detail=False)
36
37
  class ZoneListView(generic.ObjectListView):
37
38
  queryset = Zone.objects.prefetch_related("view", "tags")
38
39
  filterset = ZoneFilterSet
@@ -40,6 +41,7 @@ class ZoneListView(generic.ObjectListView):
40
41
  table = ZoneTable
41
42
 
42
43
 
44
+ @register_model_view(Zone)
43
45
  class ZoneView(generic.ObjectView):
44
46
  queryset = Zone.objects.prefetch_related(
45
47
  "view",
@@ -65,17 +67,21 @@ class ZoneView(generic.ObjectView):
65
67
  return context
66
68
 
67
69
 
70
+ @register_model_view(Zone, "add", detail=False)
71
+ @register_model_view(Zone, "edit")
68
72
  class ZoneEditView(generic.ObjectEditView):
69
73
  queryset = Zone.objects.prefetch_related("view", "tags", "nameservers", "soa_mname")
70
74
  form = ZoneForm
71
75
  default_return_url = "plugins:netbox_dns:zone_list"
72
76
 
73
77
 
78
+ @register_model_view(Zone, "delete")
74
79
  class ZoneDeleteView(generic.ObjectDeleteView):
75
80
  queryset = Zone.objects.all()
76
81
  default_return_url = "plugins:netbox_dns:zone_list"
77
82
 
78
83
 
84
+ @register_model_view(Zone, "bulk_import", detail=False)
79
85
  class ZoneBulkImportView(generic.BulkImportView):
80
86
  queryset = Zone.objects.prefetch_related("view", "tags", "nameservers", "soa_mname")
81
87
  model_form = ZoneImportForm
@@ -83,6 +89,7 @@ class ZoneBulkImportView(generic.BulkImportView):
83
89
  default_return_url = "plugins:netbox_dns:zone_list"
84
90
 
85
91
 
92
+ @register_model_view(Zone, "bulk_edit", path="edit", detail=False)
86
93
  class ZoneBulkEditView(generic.BulkEditView):
87
94
  queryset = Zone.objects.prefetch_related("view", "tags", "nameservers", "soa_mname")
88
95
  filterset = ZoneFilterSet
@@ -91,6 +98,7 @@ class ZoneBulkEditView(generic.BulkEditView):
91
98
  default_return_url = "plugins:netbox_dns:zone_list"
92
99
 
93
100
 
101
+ @register_model_view(Zone, "bulk_delete", path="delete", detail=False)
94
102
  class ZoneBulkDeleteView(generic.BulkDeleteView):
95
103
  queryset = Zone.objects.all()
96
104
  table = ZoneTable
@@ -1,4 +1,5 @@
1
1
  from netbox.views import generic
2
+ from utilities.views import register_model_view
2
3
 
3
4
  from netbox_dns.models import ZoneTemplate
4
5
  from netbox_dns.filtersets import ZoneTemplateFilterSet
@@ -22,6 +23,7 @@ __all__ = (
22
23
  )
23
24
 
24
25
 
26
+ @register_model_view(ZoneTemplate, "list", path="", detail=False)
25
27
  class ZoneTemplateListView(generic.ObjectListView):
26
28
  queryset = ZoneTemplate.objects.all()
27
29
  filterset = ZoneTemplateFilterSet
@@ -29,6 +31,7 @@ class ZoneTemplateListView(generic.ObjectListView):
29
31
  table = ZoneTemplateTable
30
32
 
31
33
 
34
+ @register_model_view(ZoneTemplate)
32
35
  class ZoneTemplateView(generic.ObjectView):
33
36
  queryset = ZoneTemplate.objects.all()
34
37
 
@@ -43,17 +46,21 @@ class ZoneTemplateView(generic.ObjectView):
43
46
  return {}
44
47
 
45
48
 
49
+ @register_model_view(ZoneTemplate, "add", detail=False)
50
+ @register_model_view(ZoneTemplate, "edit")
46
51
  class ZoneTemplateEditView(generic.ObjectEditView):
47
52
  queryset = ZoneTemplate.objects.all()
48
53
  form = ZoneTemplateForm
49
54
  default_return_url = "plugins:netbox_dns:zonetemplate_list"
50
55
 
51
56
 
57
+ @register_model_view(ZoneTemplate, "delete")
52
58
  class ZoneTemplateDeleteView(generic.ObjectDeleteView):
53
59
  queryset = ZoneTemplate.objects.all()
54
60
  default_return_url = "plugins:netbox_dns:zonetemplate_list"
55
61
 
56
62
 
63
+ @register_model_view(ZoneTemplate, "bulk_import", detail=False)
57
64
  class ZoneTemplateBulkImportView(generic.BulkImportView):
58
65
  queryset = ZoneTemplate.objects.all()
59
66
  model_form = ZoneTemplateImportForm
@@ -61,6 +68,7 @@ class ZoneTemplateBulkImportView(generic.BulkImportView):
61
68
  default_return_url = "plugins:netbox_dns:zonetemplate_list"
62
69
 
63
70
 
71
+ @register_model_view(ZoneTemplate, "bulk_edit", path="edit", detail=False)
64
72
  class ZoneTemplateBulkEditView(generic.BulkEditView):
65
73
  queryset = ZoneTemplate.objects.all()
66
74
  filterset = ZoneTemplateFilterSet
@@ -69,6 +77,7 @@ class ZoneTemplateBulkEditView(generic.BulkEditView):
69
77
  default_return_url = "plugins:netbox_dns:zonetemplate_list"
70
78
 
71
79
 
80
+ @register_model_view(ZoneTemplate, "bulk_delete", path="delete", detail=False)
72
81
  class ZoneTemplateBulkDeleteView(generic.BulkDeleteView):
73
82
  queryset = ZoneTemplate.objects.all()
74
83
  table = ZoneTemplateTable
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: netbox-plugin-dns
3
- Version: 1.1.7
3
+ Version: 1.2.0
4
4
  Summary: NetBox DNS is a NetBox plugin for managing DNS data.
5
5
  Author-email: Peter Eckel <pete@netbox-dns.org>
6
6
  Project-URL: Homepage, https://github.com/peteeckel/netbox-plugin-dns
@@ -1,7 +1,8 @@
1
- netbox_dns/__init__.py,sha256=BRsZeRU5RkgBJz6NdRvDkTybuBbydv9jjZ2JgcVYg7o,2868
1
+ netbox_dns/__init__.py,sha256=6u14dsk7Fdgtlz-sJloVuIST-5eIiex44ttFir1ZJoU,2982
2
2
  netbox_dns/apps.py,sha256=JCW5eS-AQBUubDJve1DjP-IRFKTFGQh1NLGWzJpC5MI,151
3
- netbox_dns/navigation.py,sha256=T0-D3KKZLrKT9IuSp5Kh_j7yy-JuWT2b15nwEEJxoTg,6186
4
- netbox_dns/template_content.py,sha256=6iwVdApTF5kgz7snWp3nL7i8WcheTrJCeOU-G9XCuzI,4227
3
+ netbox_dns/navigation.py,sha256=36clAzlWftW94_VZ3EHu8_btzzA_dah50CLTfoov-O4,6226
4
+ netbox_dns/template_content.py,sha256=T06L7-m4eGrLMeGsCvPpQLAGfn3S2FL7z0Cd1hhbisY,4225
5
+ netbox_dns/urls.py,sha256=OJ4RIfbFP1fSUo5llMv0IwOl7eJl6PEOA0TAAWVd4wI,1932
5
6
  netbox_dns/api/nested_serializers.py,sha256=RfwT96Kd-E25oTPxnYVMZX04ZGCSww15c1TmPG8zZk4,3251
6
7
  netbox_dns/api/serializers.py,sha256=bLbAjyIsj75S9wnQAGL-wYOkTlFS1Y7OsBObAPzNJxc,383
7
8
  netbox_dns/api/urls.py,sha256=WXYJJvqJ25BvwyrmTY-0F6cJMrgEEdEcisGeMVWEeiY,826
@@ -31,7 +32,7 @@ netbox_dns/filtersets/record_template.py,sha256=wir5s2QWfDnw0M1wWnzJs9im5ok4l5cT
31
32
  netbox_dns/filtersets/registrar.py,sha256=Wh_l-IXRHnJhW7Pyokp3czQZISDKzXnWeSQKp512Drc,977
32
33
  netbox_dns/filtersets/registration_contact.py,sha256=903sOcHPRCI0dVzqn1i0pn5VPr_4YpHPh5QE2-akR-Y,1139
33
34
  netbox_dns/filtersets/view.py,sha256=IlQz3k2J_N6eSbT9op0KOu3sKLrn-HTsJCcrIqoYgyY,1047
34
- netbox_dns/filtersets/zone.py,sha256=KjF8oUOIaDkW98pw-OuGNofA4muA922wcDOx3pm6kTc,6818
35
+ netbox_dns/filtersets/zone.py,sha256=zl39SOiYIZxAi3G1wx0s9UEIgh8hG9Bdb46qIXLwMr8,6334
35
36
  netbox_dns/filtersets/zone_template.py,sha256=Sm40P33IhN0sOqtjz4JzoBbEK-dTLpfQqYGcM_Xb7KM,3870
36
37
  netbox_dns/forms/__init__.py,sha256=axENVF9vX9BtDKCNxrapRjye1NnygUg9BS0BBj6a0io,209
37
38
  netbox_dns/forms/nameserver.py,sha256=GJe3ece4yIGwMtLZ6wQihBrJu1dk_ZSiwX-vSU0fRa0,3397
@@ -65,6 +66,7 @@ netbox_dns/migrations/0008_view_prefixes.py,sha256=LInzrOXTflGd2WUmyXZtjEegg7S_K
65
66
  netbox_dns/migrations/0009_rename_contact_registrationcontact.py,sha256=-8IknnaIZxoBaf5uSQj8rVe0SRvYsuhcJ0_jzRh4EUk,1314
66
67
  netbox_dns/migrations/0010_view_ip_address_filter.py,sha256=uARQADJB7u1vpx0TBlOfGTkqMCF4xZclMhITESHm-ok,420
67
68
  netbox_dns/migrations/0011_rename_related_fields.py,sha256=j9lI-QBmTSzOrAxDl02SdgHZtv9nRfJ3cZX_wjj5urM,1881
69
+ netbox_dns/migrations/0012_natural_ordering.py,sha256=h5XVSmRwisUqz5OJzkBW41dwHIBlu08zqG2-1mxiiw4,2725
68
70
  netbox_dns/migrations/0020_netbox_3_4.py,sha256=UMcHdn8ZAuQjUaM_3rEGpktYrM0TuvhccD7Jt7WQnPs,1271
69
71
  netbox_dns/migrations/0021_record_ip_address.py,sha256=EqdhWXmq7aiK4X79xTRUZng3zFncCl-8JoO65HqlJKw,3244
70
72
  netbox_dns/migrations/0022_search.py,sha256=KW1ffEZ4-0dppGQ_KD1EN7iw8eQJOnDco-xfJFRZqKQ,172
@@ -79,16 +81,16 @@ netbox_dns/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
79
81
  netbox_dns/mixins/__init__.py,sha256=LxTEfpod_RHCyMtnzDljv0_dwqp2z3Q6tqbXW8LTGD8,35
80
82
  netbox_dns/mixins/object_modification.py,sha256=AR64fU5f7g-scNAj9b54eSoS9dpjyOpqrxXVXPcOhY8,1807
81
83
  netbox_dns/models/__init__.py,sha256=5Ns9RaemTe5L0L3c6a38RxembWhV-sX9cqfjl05aPQw,313
82
- netbox_dns/models/nameserver.py,sha256=px8B1YZM2Wmpok7UyMrbdSExP3STpFSq1oK6LdoLL2E,3352
83
- netbox_dns/models/record.py,sha256=cOIQJ0j3fEx6If7H8w5d2_PRKZ6RPKeBBmNEDFx38Yw,27934
84
- netbox_dns/models/record_template.py,sha256=pWgKu5rwGds2fU-aWyl99EfUqntmutgZpCZoRuxxPEU,5030
85
- netbox_dns/models/registrar.py,sha256=90-QYpCYOiaylQJAFsTjH-v_g6Gnik2tgXP-O57ByPI,1853
86
- netbox_dns/models/registration_contact.py,sha256=g9MIhse4g-JXQBGWFGyzWvFPe0gYf1WHqdA5TFuiicg,3699
87
- netbox_dns/models/view.py,sha256=5fAEzArYeUaU4uDougtJbwLwhPWb1Vm0xc3b9K4MsT0,4701
88
- netbox_dns/models/zone.py,sha256=9-FAIzmpcj0iaBICT7JLKmPVCNMqQGSWS1khoorVsgE,32212
89
- netbox_dns/models/zone_template.py,sha256=tppEGZOuzedRgGQ700gezEVg2aTLnaCi_RVBSVO_tGQ,3908
84
+ netbox_dns/models/nameserver.py,sha256=RmUubF05_K1GMOM7e_geoxXIrS8Xbs1al_xsfwmfd0Q,3389
85
+ netbox_dns/models/record.py,sha256=21jhppbRlVlHd4HJNUtitF4uES09PyvtXqCppbD9SfI,28008
86
+ netbox_dns/models/record_template.py,sha256=PC4369q_LIJkImp1_jhiTTwy083MXIGpGADnbDHMbqI,5104
87
+ netbox_dns/models/registrar.py,sha256=bjgYgeUtWGg_seDRN1-VV4Pe450ZK85lbALo4J_Zuic,1890
88
+ netbox_dns/models/registration_contact.py,sha256=AkpNy9KbFV9YrISdepqZA1ZfckZSA9u_vfPUAf5Z4H8,3773
89
+ netbox_dns/models/view.py,sha256=SbBsP-WYrJXBJG65PMmXE61uo0VvdLXPOuG1VxWziEs,4738
90
+ netbox_dns/models/zone.py,sha256=iPjiZRpuxeFXqYDINBcjWYQTyJHjRk5UCs9Ap69HZG8,32249
91
+ netbox_dns/models/zone_template.py,sha256=kH16CdFk7OpjSiKfJb3bsBi--Shp2V1Fd7jVRJtbl_4,3945
90
92
  netbox_dns/signals/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
91
- netbox_dns/signals/ipam_dnssync.py,sha256=5lwf9O7cLmPqt2DyV6T8HGJgtxYVORIJ8dAw5nBLpzc,8272
93
+ netbox_dns/signals/ipam_dnssync.py,sha256=1zhlf4cMcJLlFosX7YzyqVYdFFHV4MFwTz5KCdL8xQc,7730
92
94
  netbox_dns/tables/__init__.py,sha256=axENVF9vX9BtDKCNxrapRjye1NnygUg9BS0BBj6a0io,209
93
95
  netbox_dns/tables/ipam_dnssync.py,sha256=7IK95XlA2ter6gsHqXjXPd6WubpOxrV-O5-UT6R1CKU,330
94
96
  netbox_dns/tables/nameserver.py,sha256=Ue1ZTygkgifWbQxvnpIG4PIC2qIWfVZaX_g8OIrRd6Q,739
@@ -100,7 +102,7 @@ netbox_dns/tables/view.py,sha256=gsuWQWAk3RstNIKzBDOHNHR2D3ykX6WigYLMj0VhQFs,114
100
102
  netbox_dns/tables/zone.py,sha256=_WihxcaUoQ2pgNyufXau8-yDqgIUMU6HAmbK5jxfIFM,1965
101
103
  netbox_dns/tables/zone_template.py,sha256=l9MC03E0UE_cZoh7YI4DsiccvaUxZZZwf-AAZ7OhgC4,1504
102
104
  netbox_dns/templates/netbox_dns/nameserver.html,sha256=cQM8p3aHgnmxY2L1951_kDULg2DPl3kpncPQBu6NGAk,1639
103
- netbox_dns/templates/netbox_dns/record.html,sha256=GpXVwP_wl67PsA4GPNZbuFKTkNxr86BsOwKJ_GgwL78,6572
105
+ netbox_dns/templates/netbox_dns/record.html,sha256=y2QhJ4fL8Hjd2dKTtENktQ9ru0ZdS_l-7T9_IqJQSy4,6572
104
106
  netbox_dns/templates/netbox_dns/recordtemplate.html,sha256=jQB42mBNlSt-Tq_uQFIyylEPQYqWP9BVD_W5As-M2Qc,3708
105
107
  netbox_dns/templates/netbox_dns/registrar.html,sha256=4kJuj3biiDxQrIMQEQUEmF4iGRE4psr6Fh0CBP1evz8,2308
106
108
  netbox_dns/templates/netbox_dns/registrationcontact.html,sha256=sljVp_MrPSJRc2vJCPFXq9MiWOw4wjbr1kI_YStBntw,3094
@@ -120,15 +122,6 @@ netbox_dns/templates/netbox_dns/zone/managed_record.html,sha256=LOchMAJyfMZIICE6
120
122
  netbox_dns/templates/netbox_dns/zone/record.html,sha256=Y_gg9EUIqjSYxmIZKufAK8jyg9A54J-BoewNxUBoO1Y,2238
121
123
  netbox_dns/templates/netbox_dns/zone/registration.html,sha256=PqniHrO-LnXstIKyjn3fJk69ysjfrrt3U4kZAJqidXI,1265
122
124
  netbox_dns/templates/netbox_dns/zone/rfc2317_child_zone.html,sha256=rWlmb3zRQbLYQ_1dsa0twwu6y1dRj2tfFVEERH07p-s,517
123
- netbox_dns/urls/__init__.py,sha256=AhZrz9E8JkZU_uRYYa3hFueAocsT-UYfOMZOfvosvR4,647
124
- netbox_dns/urls/nameserver.py,sha256=-arhTF-q_h6IqcZ-CHD4GbBNCxltwRP-RoLY34KWITA,1294
125
- netbox_dns/urls/record.py,sha256=5HnwrsQKbB3jcCfUSwrArItTYsKBTQaa8WiRt7SBniI,1136
126
- netbox_dns/urls/record_template.py,sha256=kRAaienuN89WrOZGEcH1eZtiVlNsxsbZ1sjxWGxLKa0,1514
127
- netbox_dns/urls/registrar.py,sha256=qhf_Qh4CYKmKYNoFIkuJxVtq1V0PMDYmqXq7olB0zfg,1211
128
- netbox_dns/urls/registration_contact.py,sha256=hS9xzBN1jsHkGJzTYEpoCFZdXSbQx0yJpelB5SK4xq8,1718
129
- netbox_dns/urls/view.py,sha256=pz-0iP_vGFUvrzIeOjq5Ebkmnaci8c4_5b2L0gYZvUE,1088
130
- netbox_dns/urls/zone.py,sha256=EzZ_U5v9NfWB5TVAc0i35EI-SVyXl6KrI844sMT0x5Q,937
131
- netbox_dns/urls/zone_template.py,sha256=nGrIaincQxCabUsLJL9JODoeTToMRSPllm7kuiPzeII,1378
132
125
  netbox_dns/utilities/__init__.py,sha256=cSGf-nGaRWx9b-Xrh3dLMJYoWNsZ6FF-qdmV4F1uOgg,74
133
126
  netbox_dns/utilities/conversions.py,sha256=NS37SoMqXc13wNWRkKnLfyQbVi6QKD33fu5ovTKRo74,1979
134
127
  netbox_dns/utilities/dns.py,sha256=QKST49UkCw7n2GyrN3wU5ap6Cw98t1SZxFYJlyG2x70,315
@@ -138,16 +131,16 @@ netbox_dns/validators/dns_name.py,sha256=D2SVUHkDAdENspDTzvW4qeWdKC_2KcueqNioqgo
138
131
  netbox_dns/validators/dns_value.py,sha256=9zCbSLfSYEebn9brcA3Q0vVK2qnvZwlv0HxDoge6Yfs,4586
139
132
  netbox_dns/validators/rfc2317.py,sha256=uKkwxpakiFFKdYA0qy8WSlEnbFwJD4MDw6gGV4F6skg,706
140
133
  netbox_dns/views/__init__.py,sha256=axENVF9vX9BtDKCNxrapRjye1NnygUg9BS0BBj6a0io,209
141
- netbox_dns/views/nameserver.py,sha256=Nuvj_s5ij3SQs82FINEU5-80xExfEol7BZco3MAcyW8,3449
142
- netbox_dns/views/record.py,sha256=j4HkvhJctfDgMpYA7yagI8QMsxXATSzYpOED_gkkcvc,5974
143
- netbox_dns/views/record_template.py,sha256=ZFvO-_GW_rHBaNFpC9HWn9RCZUkRn2s30v3mGmShFao,2567
144
- netbox_dns/views/registrar.py,sha256=T9uoR8zlua-qTvQm754M6f2F4xo3LIBkRhhNqs-exDE,2334
145
- netbox_dns/views/registration_contact.py,sha256=nxWAPNgu6JiKZjSPPV44AL9esLdbOFN37xV7CupBvJI,3032
146
- netbox_dns/views/view.py,sha256=5GB_HAXAJwqKm8KGl5XnogqhcLD-7UHoBlSP6KbBJwg,2933
147
- netbox_dns/views/zone.py,sha256=wU87Ixd5VJfLlmyd9_yMlqjBKWy9MS8hU-inuo4-2Rg,6734
148
- netbox_dns/views/zone_template.py,sha256=SWU-HcbaJ4xo0QFmh24SLomgfM8YTjizIqP-Rlpti74,2156
149
- netbox_plugin_dns-1.1.7.dist-info/LICENSE,sha256=I3tDu11bZfhFm3EkV4zOD5TmWgLjnUNLEFwrdjniZYs,1112
150
- netbox_plugin_dns-1.1.7.dist-info/METADATA,sha256=QY979zxeO_RQ6n0XgR138CRJSJc9msL5Ui5-UdoEyWc,7223
151
- netbox_plugin_dns-1.1.7.dist-info/WHEEL,sha256=A3WOREP4zgxI0fKrHUG8DC8013e3dK3n7a6HDbcEIwE,91
152
- netbox_plugin_dns-1.1.7.dist-info/top_level.txt,sha256=sA1Rwl1mRKvMC6XHe2ylZ1GF-Q1NGd08XedK9Y4xZc4,11
153
- netbox_plugin_dns-1.1.7.dist-info/RECORD,,
134
+ netbox_dns/views/nameserver.py,sha256=2PaOHtcjaZm0FQMYTmiys-uqQsCBP_RKamW2Jj3rJOY,3896
135
+ netbox_dns/views/record.py,sha256=TJsebzLhp3Dnu6SmioJiSN-zRFVSh1RptqgGL5SRUTU,6464
136
+ netbox_dns/views/record_template.py,sha256=ZX0tOkFnUsv7h8ImBxDt9aIaRtNjXoUxXopMc73W5-I,3094
137
+ netbox_dns/views/registrar.py,sha256=vIdflAmaqvUykvJfBV2Y8nhsvUZrU43nENUBM6WzM2g,2773
138
+ netbox_dns/views/registration_contact.py,sha256=u__0w4Nm1_5lnAeFXfTY-cD86facWxIolEfC-SrxXyk,3551
139
+ netbox_dns/views/view.py,sha256=a6-wdMyTWoZekiR2VnM3VNSOjX-8L3Qjqqi973UobAA,3391
140
+ netbox_dns/views/zone.py,sha256=H7UPN4T_sn_3ijvXi7t8iteJFs6qqEtVzhvchKOOzCM,7133
141
+ netbox_dns/views/zone_template.py,sha256=vNXG96D6uZJo4KRdsgsTL3d9JzRtiDJg4_h4_3gjAfk,2667
142
+ netbox_plugin_dns-1.2.0.dist-info/LICENSE,sha256=I3tDu11bZfhFm3EkV4zOD5TmWgLjnUNLEFwrdjniZYs,1112
143
+ netbox_plugin_dns-1.2.0.dist-info/METADATA,sha256=5fWilWPt2sNDbGW2MLj3x3Zg-CRLCazKyXJDjVK-bD0,7223
144
+ netbox_plugin_dns-1.2.0.dist-info/WHEEL,sha256=A3WOREP4zgxI0fKrHUG8DC8013e3dK3n7a6HDbcEIwE,91
145
+ netbox_plugin_dns-1.2.0.dist-info/top_level.txt,sha256=sA1Rwl1mRKvMC6XHe2ylZ1GF-Q1NGd08XedK9Y4xZc4,11
146
+ netbox_plugin_dns-1.2.0.dist-info/RECORD,,
@@ -1,21 +0,0 @@
1
- from .registration_contact import registrationcontact_urlpatterns
2
- from .nameserver import nameserver_urlpatterns
3
- from .record import record_urlpatterns
4
- from .record_template import recordtemplate_urlpatterns
5
- from .registrar import registrar_urlpatterns
6
- from .view import view_urlpatterns
7
- from .zone import zone_urlpatterns
8
- from .zone_template import zonetemplate_urlpatterns
9
-
10
- app_name = "netbox_dns"
11
-
12
- urlpatterns = (
13
- registrationcontact_urlpatterns
14
- + nameserver_urlpatterns
15
- + record_urlpatterns
16
- + recordtemplate_urlpatterns
17
- + registrar_urlpatterns
18
- + view_urlpatterns
19
- + zone_urlpatterns
20
- + zonetemplate_urlpatterns
21
- )
@@ -1,45 +0,0 @@
1
- from django.urls import include, path
2
-
3
- from utilities.urls import get_model_urls
4
-
5
- from netbox_dns.views import (
6
- NameServerView,
7
- NameServerListView,
8
- NameServerEditView,
9
- NameServerDeleteView,
10
- NameServerBulkImportView,
11
- NameServerBulkEditView,
12
- NameServerBulkDeleteView,
13
- )
14
-
15
- nameserver_urlpatterns = [
16
- path("nameservers/<int:pk>/", NameServerView.as_view(), name="nameserver"),
17
- path("nameservers/", NameServerListView.as_view(), name="nameserver_list"),
18
- path("nameservers/add/", NameServerEditView.as_view(), name="nameserver_add"),
19
- path(
20
- "nameservers/<int:pk>/edit",
21
- NameServerEditView.as_view(),
22
- name="nameserver_edit",
23
- ),
24
- path(
25
- "nameservers/<int:pk>/delete",
26
- NameServerDeleteView.as_view(),
27
- name="nameserver_delete",
28
- ),
29
- path(
30
- "nameservers/import/",
31
- NameServerBulkImportView.as_view(),
32
- name="nameserver_import",
33
- ),
34
- path(
35
- "nameservers/edit/",
36
- NameServerBulkEditView.as_view(),
37
- name="nameserver_bulk_edit",
38
- ),
39
- path(
40
- "nameservers/delete/",
41
- NameServerBulkDeleteView.as_view(),
42
- name="nameserver_bulk_delete",
43
- ),
44
- path("nameservers/<int:pk>/", include(get_model_urls("netbox_dns", "nameserver"))),
45
- ]
netbox_dns/urls/record.py DELETED
@@ -1,29 +0,0 @@
1
- from django.urls import include, path
2
-
3
- from utilities.urls import get_model_urls
4
-
5
- from netbox_dns.views import (
6
- RecordView,
7
- RecordListView,
8
- RecordEditView,
9
- RecordDeleteView,
10
- RecordBulkImportView,
11
- RecordBulkEditView,
12
- RecordBulkDeleteView,
13
- ManagedRecordListView,
14
- )
15
-
16
- record_urlpatterns = [
17
- path("records/<int:pk>/", RecordView.as_view(), name="record"),
18
- path("records/", RecordListView.as_view(), name="record_list"),
19
- path("records/add/", RecordEditView.as_view(), name="record_add"),
20
- path("records/<int:pk>/edit/", RecordEditView.as_view(), name="record_edit"),
21
- path("records/<int:pk>/delete/", RecordDeleteView.as_view(), name="record_delete"),
22
- path("records/import/", RecordBulkImportView.as_view(), name="record_import"),
23
- path("records/edit/", RecordBulkEditView.as_view(), name="record_bulk_edit"),
24
- path("records/delete/", RecordBulkDeleteView.as_view(), name="record_bulk_delete"),
25
- path("records/<int:pk>/", include(get_model_urls("netbox_dns", "record"))),
26
- path(
27
- "managedrecords/", ManagedRecordListView.as_view(), name="managed_record_list"
28
- ),
29
- ]
@@ -1,56 +0,0 @@
1
- from django.urls import include, path
2
-
3
- from utilities.urls import get_model_urls
4
-
5
- from netbox_dns.views import (
6
- RecordTemplateView,
7
- RecordTemplateListView,
8
- RecordTemplateEditView,
9
- RecordTemplateDeleteView,
10
- RecordTemplateBulkImportView,
11
- RecordTemplateBulkEditView,
12
- RecordTemplateBulkDeleteView,
13
- )
14
-
15
- recordtemplate_urlpatterns = [
16
- path(
17
- "recordtemplates/<int:pk>/", RecordTemplateView.as_view(), name="recordtemplate"
18
- ),
19
- path(
20
- "recordtemplates/", RecordTemplateListView.as_view(), name="recordtemplate_list"
21
- ),
22
- path(
23
- "recordtemplates/add/",
24
- RecordTemplateEditView.as_view(),
25
- name="recordtemplate_add",
26
- ),
27
- path(
28
- "recordtemplates/<int:pk>/edit/",
29
- RecordTemplateEditView.as_view(),
30
- name="recordtemplate_edit",
31
- ),
32
- path(
33
- "recordtemplates/<int:pk>/delete/",
34
- RecordTemplateDeleteView.as_view(),
35
- name="recordtemplate_delete",
36
- ),
37
- path(
38
- "recordtemplates/import/",
39
- RecordTemplateBulkImportView.as_view(),
40
- name="recordtemplate_import",
41
- ),
42
- path(
43
- "recordtemplates/edit/",
44
- RecordTemplateBulkEditView.as_view(),
45
- name="recordtemplate_bulk_edit",
46
- ),
47
- path(
48
- "recordtemplates/delete/",
49
- RecordTemplateBulkDeleteView.as_view(),
50
- name="recordtemplate_bulk_delete",
51
- ),
52
- path(
53
- "recordtemplates/<int:pk>/",
54
- include(get_model_urls("netbox_dns", "recordtemplate")),
55
- ),
56
- ]
@@ -1,39 +0,0 @@
1
- from django.urls import include, path
2
-
3
- from utilities.urls import get_model_urls
4
-
5
- from netbox_dns.views import (
6
- RegistrarView,
7
- RegistrarListView,
8
- RegistrarEditView,
9
- RegistrarDeleteView,
10
- RegistrarBulkImportView,
11
- RegistrarBulkEditView,
12
- RegistrarBulkDeleteView,
13
- )
14
-
15
- registrar_urlpatterns = [
16
- path("registrars/<int:pk>/", RegistrarView.as_view(), name="registrar"),
17
- path("registrars/", RegistrarListView.as_view(), name="registrar_list"),
18
- path("registrars/add/", RegistrarEditView.as_view(), name="registrar_add"),
19
- path(
20
- "registrars/<int:pk>/edit/", RegistrarEditView.as_view(), name="registrar_edit"
21
- ),
22
- path(
23
- "registrars/delete/",
24
- RegistrarBulkDeleteView.as_view(),
25
- name="registrar_bulk_delete",
26
- ),
27
- path(
28
- "registrars/import/", RegistrarBulkImportView.as_view(), name="registrar_import"
29
- ),
30
- path(
31
- "registrars/edit/", RegistrarBulkEditView.as_view(), name="registrar_bulk_edit"
32
- ),
33
- path(
34
- "registrars/<int:pk>/delete/",
35
- RegistrarDeleteView.as_view(),
36
- name="registrar_delete",
37
- ),
38
- path("registrars/<int:pk>/", include(get_model_urls("netbox_dns", "registrar"))),
39
- ]
@@ -1,60 +0,0 @@
1
- from django.urls import include, path
2
-
3
- from utilities.urls import get_model_urls
4
-
5
- from netbox_dns.views import (
6
- RegistrationContactView,
7
- RegistrationContactListView,
8
- RegistrationContactEditView,
9
- RegistrationContactDeleteView,
10
- RegistrationContactBulkImportView,
11
- RegistrationContactBulkEditView,
12
- RegistrationContactBulkDeleteView,
13
- )
14
-
15
- registrationcontact_urlpatterns = [
16
- path(
17
- "registrationcontacts/<int:pk>/",
18
- RegistrationContactView.as_view(),
19
- name="registrationcontact",
20
- ),
21
- path(
22
- "registrationcontacts/",
23
- RegistrationContactListView.as_view(),
24
- name="registrationcontact_list",
25
- ),
26
- path(
27
- "registrationcontacts/add/",
28
- RegistrationContactEditView.as_view(),
29
- name="registrationcontact_add",
30
- ),
31
- path(
32
- "registrationcontacts/<int:pk>/edit/",
33
- RegistrationContactEditView.as_view(),
34
- name="registrationcontact_edit",
35
- ),
36
- path(
37
- "registrationcontacts/<int:pk>/delete/",
38
- RegistrationContactDeleteView.as_view(),
39
- name="registrationcontact_delete",
40
- ),
41
- path(
42
- "registrationcontacts/import/",
43
- RegistrationContactBulkImportView.as_view(),
44
- name="registrationcontact_import",
45
- ),
46
- path(
47
- "registrationcontacts/edit/",
48
- RegistrationContactBulkEditView.as_view(),
49
- name="registrationcontact_bulk_edit",
50
- ),
51
- path(
52
- "registrationcontacts/delete/",
53
- RegistrationContactBulkDeleteView.as_view(),
54
- name="registrationcontact_bulk_delete",
55
- ),
56
- path(
57
- "registrationcontacts/<int:pk>/",
58
- include(get_model_urls("netbox_dns", "registrationcontact")),
59
- ),
60
- ]