ipfabric_netbox 3.1.2__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 ipfabric_netbox might be problematic. Click here for more details.

Files changed (59) hide show
  1. ipfabric_netbox/__init__.py +42 -0
  2. ipfabric_netbox/api/__init__.py +2 -0
  3. ipfabric_netbox/api/nested_serializers.py +99 -0
  4. ipfabric_netbox/api/serializers.py +160 -0
  5. ipfabric_netbox/api/urls.py +21 -0
  6. ipfabric_netbox/api/views.py +111 -0
  7. ipfabric_netbox/choices.py +226 -0
  8. ipfabric_netbox/filtersets.py +125 -0
  9. ipfabric_netbox/forms.py +1063 -0
  10. ipfabric_netbox/jobs.py +95 -0
  11. ipfabric_netbox/migrations/0001_initial.py +342 -0
  12. ipfabric_netbox/migrations/0002_ipfabricsnapshot_status.py +17 -0
  13. ipfabric_netbox/migrations/0003_ipfabricsource_type_and_more.py +49 -0
  14. ipfabric_netbox/migrations/0004_ipfabricsync_auto_merge.py +17 -0
  15. ipfabric_netbox/migrations/0005_alter_ipfabricrelationshipfield_source_model_and_more.py +64 -0
  16. ipfabric_netbox/migrations/0006_alter_ipfabrictransformmap_target_model.py +48 -0
  17. ipfabric_netbox/migrations/__init__.py +0 -0
  18. ipfabric_netbox/models.py +874 -0
  19. ipfabric_netbox/navigation.py +62 -0
  20. ipfabric_netbox/signals.py +68 -0
  21. ipfabric_netbox/tables.py +208 -0
  22. ipfabric_netbox/template_content.py +13 -0
  23. ipfabric_netbox/templates/ipfabric_netbox/inc/diff.html +72 -0
  24. ipfabric_netbox/templates/ipfabric_netbox/inc/json.html +20 -0
  25. ipfabric_netbox/templates/ipfabric_netbox/inc/logs_pending.html +6 -0
  26. ipfabric_netbox/templates/ipfabric_netbox/inc/merge_form.html +22 -0
  27. ipfabric_netbox/templates/ipfabric_netbox/inc/site_topology_button.html +70 -0
  28. ipfabric_netbox/templates/ipfabric_netbox/inc/site_topology_modal.html +61 -0
  29. ipfabric_netbox/templates/ipfabric_netbox/inc/snapshotdata.html +60 -0
  30. ipfabric_netbox/templates/ipfabric_netbox/inc/sync_delete.html +19 -0
  31. ipfabric_netbox/templates/ipfabric_netbox/inc/transform_map_field_map.html +11 -0
  32. ipfabric_netbox/templates/ipfabric_netbox/inc/transform_map_relationship_map.html +11 -0
  33. ipfabric_netbox/templates/ipfabric_netbox/ipfabric_table.html +55 -0
  34. ipfabric_netbox/templates/ipfabric_netbox/ipfabricbranch.html +141 -0
  35. ipfabric_netbox/templates/ipfabric_netbox/ipfabricsnapshot.html +105 -0
  36. ipfabric_netbox/templates/ipfabric_netbox/ipfabricsource.html +111 -0
  37. ipfabric_netbox/templates/ipfabric_netbox/ipfabricsync.html +103 -0
  38. ipfabric_netbox/templates/ipfabric_netbox/ipfabrictransformmap.html +41 -0
  39. ipfabric_netbox/templates/ipfabric_netbox/ipfabrictransformmap_list.html +17 -0
  40. ipfabric_netbox/templates/ipfabric_netbox/ipfabrictransformmap_restore.html +59 -0
  41. ipfabric_netbox/templates/ipfabric_netbox/partials/branch_all.html +10 -0
  42. ipfabric_netbox/templates/ipfabric_netbox/partials/branch_progress.html +19 -0
  43. ipfabric_netbox/templates/ipfabric_netbox/partials/branch_status.html +1 -0
  44. ipfabric_netbox/templates/ipfabric_netbox/partials/job_logs.html +53 -0
  45. ipfabric_netbox/templates/ipfabric_netbox/partials/sync_last_branch.html +1 -0
  46. ipfabric_netbox/templates/ipfabric_netbox/sync_list.html +126 -0
  47. ipfabric_netbox/templates/static/ipfabric_netbox/css/rack.css +9 -0
  48. ipfabric_netbox/tests/__init__.py +0 -0
  49. ipfabric_netbox/tests/test_models.py +1340 -0
  50. ipfabric_netbox/urls.py +141 -0
  51. ipfabric_netbox/utilities/__init__.py +0 -0
  52. ipfabric_netbox/utilities/ipfutils.py +591 -0
  53. ipfabric_netbox/utilities/logging.py +93 -0
  54. ipfabric_netbox/utilities/nbutils.py +105 -0
  55. ipfabric_netbox/utilities/transform_map.py +35 -0
  56. ipfabric_netbox/views.py +845 -0
  57. ipfabric_netbox-3.1.2.dist-info/METADATA +88 -0
  58. ipfabric_netbox-3.1.2.dist-info/RECORD +59 -0
  59. ipfabric_netbox-3.1.2.dist-info/WHEEL +4 -0
@@ -0,0 +1,88 @@
1
+ Metadata-Version: 2.1
2
+ Name: ipfabric_netbox
3
+ Version: 3.1.2
4
+ Summary: NetBox plugin to sync IP Fabric data into NetBox
5
+ Home-page: https://gitlab.com/ip-fabric/integrations/ipfabric-netbox-sync
6
+ License: MIT
7
+ Keywords: netbox,ipfabric,plugin,sync
8
+ Author: Solution Architecture
9
+ Author-email: solution.architecture@ipfabric.io
10
+ Requires-Python: >=3.10,<4.0
11
+ Classifier: License :: OSI Approved :: MIT License
12
+ Classifier: Operating System :: OS Independent
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.10
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
+ Requires-Dist: ipfabric (>=6.6.4)
19
+ Requires-Dist: netutils
20
+ Project-URL: Bug Tracker, https://gitlab.com/ip-fabric/integrations/ipfabric-netbox-sync/-/issues
21
+ Project-URL: Repository, https://gitlab.com/ip-fabric/integrations/ipfabric-netbox-sync
22
+ Description-Content-Type: text/markdown
23
+
24
+ # IP Fabric Netbox Plugin
25
+
26
+ ## IP Fabric
27
+
28
+ IP Fabric is a vendor-neutral network assurance platform that automates the
29
+ holistic discovery, verification, visualization, and documentation of
30
+ large-scale enterprise networks, reducing the associated costs and required
31
+ resources whilst improving security and efficiency.
32
+
33
+ It supports your engineering and operations teams, underpinning migration and
34
+ transformation projects. IP Fabric will revolutionize how you approach network
35
+ visibility and assurance, security assurance, automation, multi-cloud
36
+ networking, and trouble resolution.
37
+
38
+ **Integrations or scripts should not be installed directly on the IP Fabric VM unless directly communicated from the
39
+ IP Fabric Support or Solution Architect teams. Any action on the Command-Line Interface (CLI) using the root, osadmin,
40
+ or autoboss account may cause irreversible, detrimental changes to the product and can render the system unusable.**
41
+
42
+ ## Overview
43
+
44
+ This plugin allows the integration and data synchronization between IP Fabric and NetBox.
45
+
46
+ The plugin uses IP Fabric collect network data utilizing the [IP Fabric Python SDK](https://gitlab.com/ip-fabric/integrations/python-ipfabric). This plugin relies on helpful features in NetBox like [Staged Changes](https://netboxlabs.com/docs/netbox/en/stable/plugins/development/staged-changes/) and [Background Tasks](https://netboxlabs.com/docs/netbox/en/stable/plugins/development/background-tasks/) to make the job of bringing in data to NetBox easier.
47
+
48
+ - Multiple IP Fabric Sources
49
+ - Transform Maps
50
+ - Scheduled Synchronization
51
+ - Diff Visualization
52
+
53
+ ## NetBox Compatibility
54
+
55
+ | Netbox Version | Plugin Version |
56
+ | -------------- | -------------- |
57
+ | 3.4 | <=1.0.11 |
58
+ | 3.5 | <=1.0.11 |
59
+ | 3.6 | <=1.0.11 |
60
+ | 3.7 | >=2.0.0 |
61
+ | 4.0 | >=3.0.0 |
62
+ | 4.0.1 | >=3.0.1 |
63
+ | 4.1.0 | >=3.1.0 |
64
+ | 4.1.5 | >=3.1.1 |
65
+
66
+ ## Screenshots
67
+
68
+ ![Source](docs/images/user_guide/source_sync.png)
69
+
70
+ ![Snapshots](docs/images/user_guide/snapshot_detail.png)
71
+
72
+ ![Transform Maps](docs/images/user_guide/tm_edit_hostname.png)
73
+
74
+ ![Ingesion](docs/images/user_guide/ingestion_detail.png)
75
+
76
+ ![Diff](docs/images/user_guide/branch_changes_update_diff.png)
77
+
78
+ ## Documentation
79
+
80
+ Full documentation for this plugin can be found at [IP Fabric Docs](https://docs.ipfabric.io/main/integrations/netbox/).
81
+
82
+ - User Guide
83
+ - Administrator Guide
84
+
85
+ ## Contributing
86
+
87
+ If you would like to contribute to this plugin, please see the [CONTRIBUTING.md](CONTRIBUTING.md) file.
88
+
@@ -0,0 +1,59 @@
1
+ ipfabric_netbox/__init__.py,sha256=m4Z0tjRjIxp2-rpnhOKtfKrGz-2a1oqLIYAlkdc8hk4,1492
2
+ ipfabric_netbox/api/__init__.py,sha256=DOkvDAI4BoNgdCiNxfseeExEHyOrK8weG-LvjPRyK8A,101
3
+ ipfabric_netbox/api/nested_serializers.py,sha256=JwIlFpOHeiMB7F-sC0gx1f6qdNevS8NsXTUEHlVZeRs,2719
4
+ ipfabric_netbox/api/serializers.py,sha256=bTR3AJ81Q8HZI3iWLPc1tndGqD0erAbAD9hKLI4DTYY,4341
5
+ ipfabric_netbox/api/urls.py,sha256=BSQ5nqYSx0r-wnbdKGDAb5XH7BBy_0ngV_Q7vDgjMIE,948
6
+ ipfabric_netbox/api/views.py,sha256=X02GwpDlq25_3KlxYTWyd4PnT1RCtfp7uN0zZ5Etjp8,4429
7
+ ipfabric_netbox/choices.py,sha256=GqcnLqsFR4gnhWEwkvQbPxXYNi5SwNoIQz-J15LTMc4,4848
8
+ ipfabric_netbox/filtersets.py,sha256=P_2VCL892pLplPnsxul27bgGgMpHaZtgn9Vg0UsWErE,3877
9
+ ipfabric_netbox/forms.py,sha256=Y-ISAtlQPjP5qYozAMZxsUCmGPmq8GhV5_ppf5Tu464,43096
10
+ ipfabric_netbox/jobs.py,sha256=jfWWNA42KMyzc-EGit6LJIe-SNob4-4IQRfadQF_GRE,2862
11
+ ipfabric_netbox/migrations/0001_initial.py,sha256=nka6_HJK4Q8BlmQblDntuNzVKLR484SsC6wGSbOQgI4,13813
12
+ ipfabric_netbox/migrations/0002_ipfabricsnapshot_status.py,sha256=xQpouHjOutyj6riN2B592njzSvz_icpkUbo5W7nWLYw,431
13
+ ipfabric_netbox/migrations/0003_ipfabricsource_type_and_more.py,sha256=XUM_ZecLlzElKYfBg9-cIB-cUy1YHpIzvJhvWP-dbIw,1579
14
+ ipfabric_netbox/migrations/0004_ipfabricsync_auto_merge.py,sha256=hlwHGKD7q3w1a1N04yIS39f6nsL_9TJCWEJlvwCdpPA,435
15
+ ipfabric_netbox/migrations/0005_alter_ipfabricrelationshipfield_source_model_and_more.py,sha256=egiUtdu1zHElbcIIN9sUzS93dSCltVXFv0DG9IUp1HY,2802
16
+ ipfabric_netbox/migrations/0006_alter_ipfabrictransformmap_target_model.py,sha256=6MmI-Uz9hmzj3nKqhUKdShjLnE8KNa4qthg0NVHjANc,2163
17
+ ipfabric_netbox/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
+ ipfabric_netbox/models.py,sha256=Io0JD9dqAS4mkkj93yJyn9pD1nMkhmJ5IVKkLpHjDxo,30562
19
+ ipfabric_netbox/navigation.py,sha256=2kZs341nAB7G76qnZT6mFxsYo68IPy-bmPMkSLA-Nk0,1735
20
+ ipfabric_netbox/signals.py,sha256=GM2D_8zHfe3MzyNoe6v4Tq5ibPrbqhfEKYPhxtyrYwc,2588
21
+ ipfabric_netbox/tables.py,sha256=w4YaFeYoAm4Pq5nKmD0MUbH7Mv-q86waQHyY-eL-hd8,6613
22
+ ipfabric_netbox/template_content.py,sha256=bP2nUf5MM-GUbtQxJ8QoYVNXhrDCrkb8wZnbeqa07EA,315
23
+ ipfabric_netbox/templates/ipfabric_netbox/inc/diff.html,sha256=xOiIrvRIBtqDD65u6xcLo2xdwDKNpAylDmzznaJRGCw,3281
24
+ ipfabric_netbox/templates/ipfabric_netbox/inc/json.html,sha256=qPHUdaHyKM9Y7FqBEnYwcNoyp5GMFaexJFXMRf4AqZQ,569
25
+ ipfabric_netbox/templates/ipfabric_netbox/inc/logs_pending.html,sha256=JbS6wIE_zb0iBKo78W9Al8caXZY7HnsjEFDhY0hirw0,295
26
+ ipfabric_netbox/templates/ipfabric_netbox/inc/merge_form.html,sha256=HxGRk7oTptDWtoMklJ5TolbljZrvAzhZa_Hbjs75P8w,720
27
+ ipfabric_netbox/templates/ipfabric_netbox/inc/site_topology_button.html,sha256=81hUyBGqxUZ1i4EwT2Omydbk-2aFkKnWCu4tu68ch_c,2674
28
+ ipfabric_netbox/templates/ipfabric_netbox/inc/site_topology_modal.html,sha256=zjG5qjth277dnVkzyg8qxs72wtKZ8yypXRTXqral4Wk,2124
29
+ ipfabric_netbox/templates/ipfabric_netbox/inc/snapshotdata.html,sha256=1ItOCPjjp9iH7MLNLIz6x-2NnSa0Wx4bXUYVk-Jn4Y0,2885
30
+ ipfabric_netbox/templates/ipfabric_netbox/inc/sync_delete.html,sha256=sNQ9VpsFdv1Ds1JbpyxN1OHE0eGDJj6aLE9eWdL-Muk,717
31
+ ipfabric_netbox/templates/ipfabric_netbox/inc/transform_map_field_map.html,sha256=mRU-rBweVFvaPFHbVYPw7vcYyXiVaXCOkeHm7xWdKPA,500
32
+ ipfabric_netbox/templates/ipfabric_netbox/inc/transform_map_relationship_map.html,sha256=qyuG_EXZMGUscA3sv_6WGSrf_bR7JTRlKyMYf6EYyo4,504
33
+ ipfabric_netbox/templates/ipfabric_netbox/ipfabric_table.html,sha256=d5qcBeKDgh57eSZ6J1oYc--qfGmHRC6PLhrffFBQiM8,1631
34
+ ipfabric_netbox/templates/ipfabric_netbox/ipfabricbranch.html,sha256=IY5JHOI5VfQyOprnZfOSedw4Ob_7UYLRYvSj5QXJKE0,4694
35
+ ipfabric_netbox/templates/ipfabric_netbox/ipfabricsnapshot.html,sha256=hj8ORs_4mM_xTjmw3McHN-da5seC8nbbkzobn0f1TSc,3482
36
+ ipfabric_netbox/templates/ipfabric_netbox/ipfabricsource.html,sha256=fD8yHBobQHCsfkfswlDn-ZngMh4vC_Z_fIsToPnGuhs,3845
37
+ ipfabric_netbox/templates/ipfabric_netbox/ipfabricsync.html,sha256=-rApAS3LEAizuacVZEwl7MjPjWNwERtCHAs3lWO9PJk,3725
38
+ ipfabric_netbox/templates/ipfabric_netbox/ipfabrictransformmap.html,sha256=2IVxbsthEWDHwSFxBxGnHtQjg93LnRGTepoavNoSD90,1100
39
+ ipfabric_netbox/templates/ipfabric_netbox/ipfabrictransformmap_list.html,sha256=p8zqn0-B6mawSUM3zQrus6dsKUM5SRBTO0X94pLboX8,452
40
+ ipfabric_netbox/templates/ipfabric_netbox/ipfabrictransformmap_restore.html,sha256=cuvOBKnlMudMI-CX77W3vTpwhtc4CBcc6j6Ye-IBBMQ,2562
41
+ ipfabric_netbox/templates/ipfabric_netbox/partials/branch_all.html,sha256=VQyfK3jJRmUAWEatuE7rs-D9M1XAZq_edMu5MXATM4Q,368
42
+ ipfabric_netbox/templates/ipfabric_netbox/partials/branch_progress.html,sha256=vwSZw2goj8kiPw4tftNr_IUm-Iz80Ty3wEmMgbq8ONs,590
43
+ ipfabric_netbox/templates/ipfabric_netbox/partials/branch_status.html,sha256=mKXre8_-y6OYyoL_WFYyHuyxJrR4D40M2OT-r83zKEM,81
44
+ ipfabric_netbox/templates/ipfabric_netbox/partials/job_logs.html,sha256=PMZxxrRVzn_JI8k5XCNV5BQnoFj9zYePN6afP6C_J2E,1622
45
+ ipfabric_netbox/templates/ipfabric_netbox/partials/sync_last_branch.html,sha256=0j7y_bo8Gmahnshrxc0Jxw9wTZYe785V5Hk4RzVikLY,167
46
+ ipfabric_netbox/templates/ipfabric_netbox/sync_list.html,sha256=3wfwPUIAfzzIP_pu3gL0L3wH65UX5XFLBW5BW-CZJDc,5587
47
+ ipfabric_netbox/templates/static/ipfabric_netbox/css/rack.css,sha256=z1H-RmmsqF2pGdhn5J64TMFiccy62xZUHHlCRd8fJrQ,118
48
+ ipfabric_netbox/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
49
+ ipfabric_netbox/tests/test_models.py,sha256=r1TTKuzQYaBbDjw0PzSKFe7V3IRFxiYRsqToEP52XNg,45898
50
+ ipfabric_netbox/urls.py,sha256=V98K_JxHaJAgDbo-DiMj-5FQIIposLMLJCPw3dtREWU,4430
51
+ ipfabric_netbox/utilities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
52
+ ipfabric_netbox/utilities/ipfutils.py,sha256=iupSEk5xNJOhK_-bJZNqZRc2damrcVSpM_i5zn7npJQ,21987
53
+ ipfabric_netbox/utilities/logging.py,sha256=2OpWlqZ6Va2LEVXmIjiCvdZ8Ncx6brCvm_PzhjbMoTU,3221
54
+ ipfabric_netbox/utilities/nbutils.py,sha256=W-aorJjeIBYB80MAHmd1gpmhaZKH7R8lwIuCCbWWjh8,3117
55
+ ipfabric_netbox/utilities/transform_map.py,sha256=I24MI0kmnPm6PeSn-Bmzf5hJQNpJRRTtPLC0R7_s62A,1256
56
+ ipfabric_netbox/views.py,sha256=yS8BqrVOOiODuH72JMF5lK1SVAkJ7sfSLvzVGIXy8Bk,28478
57
+ ipfabric_netbox-3.1.2.dist-info/METADATA,sha256=vsrIfygCVpXTTKkBFRNZcFOeHtw2Gw51_CI3se99xPw,3573
58
+ ipfabric_netbox-3.1.2.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
59
+ ipfabric_netbox-3.1.2.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: poetry-core 1.9.1
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any