[PR #11465] [CLOSED] Unique ip prefix #13791

Closed
opened 2025-12-29 23:20:49 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/11465
Author: @Mister-IM
Created: 1/11/2023
Status: Closed

Base: masterHead: develop


📝 Commits (10+)

📊 Changes

25 files changed (+388 additions, -230 deletions)

View changed files

📝 CONTRIBUTING.md (+98 -171)
📝 README.md (+1 -1)
📝 contrib/gunicorn.py (+1 -1)
📝 docs/models/extras/savedfilter.md (+3 -3)
📝 docs/reference/markdown.md (+2 -2)
📝 docs/release-notes/index.md (+10 -0)
📝 docs/release-notes/version-3.4.md (+23 -0)
📝 netbox/dcim/choices.py (+6 -0)
📝 netbox/dcim/filtersets.py (+11 -1)
📝 netbox/dcim/models/cables.py (+12 -2)
📝 netbox/dcim/tables/template_code.py (+154 -28)
📝 netbox/dcim/tests/test_filtersets.py (+20 -2)
📝 netbox/dcim/views.py (+2 -2)
📝 netbox/extras/forms/reports.py (+2 -1)
📝 netbox/extras/forms/scripts.py (+3 -5)
📝 netbox/extras/management/commands/runscript.py (+1 -1)
📝 netbox/extras/models/models.py (+3 -2)
📝 netbox/netbox/configuration_example.py (+4 -0)
📝 netbox/netbox/context.py (+1 -1)
📝 netbox/netbox/settings.py (+12 -2)

...and 5 more files

📄 Description

Greetings, I need the ability to prevent the creation of duplicate prefixes or ip addresses.

Either at the time of creating a prefix or ip address, receive a warning that such a prefix or IP address already exists.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/11465 **Author:** [@Mister-IM](https://github.com/Mister-IM) **Created:** 1/11/2023 **Status:** ❌ Closed **Base:** `master` ← **Head:** `develop` --- ### 📝 Commits (10+) - [`92ec06c`](https://github.com/netbox-community/netbox/commit/92ec06c6948f0b6f3c6192f4a1be57a505930ce4) PRVB - [`39985eb`](https://github.com/netbox-community/netbox/commit/39985ebdd1deef33a2f134bef50d7d426b6ad57c) Fix exception when scheduling a job in the past - [`5d22260`](https://github.com/netbox-community/netbox/commit/5d22260589312dca48f168175c160258eaa09b25) #11150: Add a filter for device.primary_ip4 and primary_ip6 (#11382) - [`07df622`](https://github.com/netbox-community/netbox/commit/07df622b595efad174b7b88d755c8f10b7018041) NetBox should always be referred to as NetBox [DATALAD RUNCMD] - [`128ccb4`](https://github.com/netbox-community/netbox/commit/128ccb43304adebdefbb3cd21e9cc2fbd4adce25) feat: added setting redis certificate authority path - [`5af73e9`](https://github.com/netbox-community/netbox/commit/5af73e9bf7e2a9fcb4fb08a47a3d64bb1fa5311b) #11371 - Add various 100Mb Interface Types (#11377) - [`35273cc`](https://github.com/netbox-community/netbox/commit/35273cc87f9f35aaccadcce7cc3ea00696fbc11b) Add ExportTemplatesMixin to JournalEntry model (#11251) - [`69be24c`](https://github.com/netbox-community/netbox/commit/69be24cd5f09e2b03de4502e7d3105fd53897500) Changelog for #9996, #11150, #11245, #11371, #11403 - [`b88fcb6`](https://github.com/netbox-community/netbox/commit/b88fcb66258b9895fb7e3008e8a052939e09a9a2) Closes #11406: Correct example JSON - [`0669fda`](https://github.com/netbox-community/netbox/commit/0669fda1fd2794ee8a472727fdca1e33c4929431) Fixes #11384: Correct current time display on script & report forms ### 📊 Changes **25 files changed** (+388 additions, -230 deletions) <details> <summary>View changed files</summary> 📝 `CONTRIBUTING.md` (+98 -171) 📝 `README.md` (+1 -1) 📝 `contrib/gunicorn.py` (+1 -1) 📝 `docs/models/extras/savedfilter.md` (+3 -3) 📝 `docs/reference/markdown.md` (+2 -2) 📝 `docs/release-notes/index.md` (+10 -0) 📝 `docs/release-notes/version-3.4.md` (+23 -0) 📝 `netbox/dcim/choices.py` (+6 -0) 📝 `netbox/dcim/filtersets.py` (+11 -1) 📝 `netbox/dcim/models/cables.py` (+12 -2) 📝 `netbox/dcim/tables/template_code.py` (+154 -28) 📝 `netbox/dcim/tests/test_filtersets.py` (+20 -2) 📝 `netbox/dcim/views.py` (+2 -2) 📝 `netbox/extras/forms/reports.py` (+2 -1) 📝 `netbox/extras/forms/scripts.py` (+3 -5) 📝 `netbox/extras/management/commands/runscript.py` (+1 -1) 📝 `netbox/extras/models/models.py` (+3 -2) 📝 `netbox/netbox/configuration_example.py` (+4 -0) 📝 `netbox/netbox/context.py` (+1 -1) 📝 `netbox/netbox/settings.py` (+12 -2) _...and 5 more files_ </details> ### 📄 Description Greetings, I need the ability to prevent the creation of duplicate prefixes or ip addresses. Either at the time of creating a prefix or ip address, receive a warning that such a prefix or IP address already exists. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:20:49 +01:00
adam closed this issue 2025-12-29 23:20:49 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13791