1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00
Commit Graph

125 Commits

Author SHA1 Message Date
ecd0c56554 Closes #9608: Move from drf-yasg to spectacular
Co-authored-by: arthanson <worldnomad@gmail.com>
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-03-30 14:32:59 -04:00
7994073687 Closes #8550: Implement ASN ranges (#11835)
* Move ASN to a separate module

* Move ASNField from dcim to ipam

* Introduce ASNRange model

* Add relationship from ASN to ASNRange

* Add an available-asns API endpoint

* Add RIR assignment for ASNRange

* Add standard tests

* Move child ASNs to a tabbed view

* Remove FK on ASN to ASNRange

* Add tests for provisioning available ASNs

* Add docs for ASNRange
2023-02-27 16:36:05 -05:00
8001694a4c 10282 fix race condition in API IP creation 2022-11-01 17:09:55 -04:00
de17a651e6 Closes #10043: Add support for 'limit' query parameter to available VLANs API endpoint 2022-08-30 15:16:34 -04:00
0004b834fb Commit fixes Jeremy suggested
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-07-06 08:17:50 -05:00
3be9f6c4f3 #8157 - Final work on L2VPN model 2022-06-29 16:01:20 -05:00
03f1584d3a L2VPN Clean Tree 2022-06-27 23:24:50 -05:00
bddc35bbc7 Closes #8496: Enable assigning multiple ASNs to a provider 2022-03-30 17:17:36 -04:00
bbdeae0ed9 Move CustomFieldModelViewSet functionality into NetBoxModelViewSet 2022-03-09 11:44:55 -05:00
efd5a73a18 Refactor API views 2022-03-09 11:27:42 -05:00
97e7ef9a3f Introduce ServiceTemplate 2022-01-12 16:42:28 -05:00
e0cfd5e49b Closes #2658: Avalable VLANs API endpoint for VLAN groups 2021-12-23 10:14:28 -05:00
7c14c0812b Fixes #7519: Return a 409 status for unfulfillable available prefix/IP requests 2021-12-10 15:11:45 -05:00
91fe158c26 Restore endpoint schema documentation 2021-12-10 13:23:49 -05:00
661b3c4bfb Fix queryset restrictions 2021-12-10 12:52:48 -05:00
35eabc0353 Move available IPs endpoints to separate views 2021-12-10 12:37:55 -05:00
ef5bbdb1e2 Move available prefixes endpoint to its own view 2021-12-10 11:40:57 -05:00
5f59f458f4 Fixes #7880: Include assigned IP addresses in FHRP group object representation 2021-11-19 11:34:59 -05:00
db2d71ed9e Merge branch 'feature' into 6732-asn-model 2021-11-03 08:37:11 -05:00
131e433880 Rename FHRPGroupAssignment object to interface 2021-11-02 15:10:02 -04:00
264652f2c3 REST API optimizations 2021-11-02 14:08:36 -04:00
bb4f3e1789 Initial work on #6235 2021-11-01 16:56:30 -04:00
3991115ae5 #6732 - Fix imports and other small items 2021-10-29 14:54:55 -05:00
033db83068 Merge branch 'feature' of https://github.com/netbox-community/netbox into 6732-asn-model 2021-10-28 11:55:20 -05:00
a01068949c Initial work on #6732 2021-10-24 23:42:47 -05:00
cfb3897047 Add tags to organizational & nested group models 2021-10-21 10:51:02 -04:00
0fe1a426c0 Add available IPs REST API endpoint for IP ranges 2021-07-19 09:32:04 -04:00
747c065213 Move available IP/prefix endpoints to API view mixins 2021-07-16 14:48:42 -04:00
11a14927c9 Initial work on IP ranges 2021-07-16 13:35:52 -04:00
1024782b9e Rename FilterSet modules 2021-04-29 16:48:24 -04:00
4dae781be0 Change VLANGroup site to scope (GFK) 2021-03-09 16:18:59 -05:00
664a39911c Add custom field support for organizational models to API serializers 2021-02-25 15:58:13 -05:00
b392502b9b Fixes #5841: Disallow the creation of available prefixes/IP addresses in violation of assigned permission constraints 2021-02-24 14:21:42 -05:00
aabc1a8265 Fixes: #5232 - Corrects swagger definition 2021-01-26 10:42:01 -06:00
4a066a1913 Rename get_subquery() to count_related() 2020-12-17 14:47:49 -05:00
91083fd6c5 Call Coalesce() inside get_queryset() 2020-12-17 14:45:50 -05:00
3c2b2f26b9 Fixes: #5450 - Added Coalesce to viewsets for the _count functions 2020-12-15 12:50:28 -06:00
915cf3e715 Merge branch 'develop' into develop-2.10 2020-12-01 11:42:55 -05:00
f55e966c8f Closes #4865: Replace all Count() annotations with subqueries (#5385)
* Convert circuits to use subqueries

* Convert dcim to use subqueries

* Convert extras to use subqueries

* Convert ipam to use subqueries

* Convert secrets to use subqueries

* Convert virtualization to use subqueries

* Update global search view to use subqueries where appropriate

* Remove extraneous order_by() calls
2020-11-25 15:49:18 -05:00
6773709c34 Merge branch 'develop' into develop-2.10 2020-11-17 14:35:06 -05:00
9f8f9e8b97 Fixes #5345: Fix non-deterministic ordering of prefixes and IP addresses 2020-11-16 10:17:05 -05:00
c0c5f52ed9 Reorganize REST API components under netbox app 2020-10-13 15:57:21 -04:00
f684d07c61 Model import/export route targets on VRFs 2020-09-24 12:09:28 -04:00
dfb5a06d9d Introduce the RouteTarget model 2020-09-24 11:25:52 -04:00
08c492f1f4 Merge develop into develop-2.10 2020-09-04 16:09:05 -04:00
e8e4ff4111 Closes #5056: Add interface and parent columns to IP address list 2020-08-27 13:46:31 -04:00
fcc15d2e33 Use correct serializer for available-prefixes POST response
POST `/ipam/prefixes/{id}/available-prefixes/` returns single `Prefix` object, not list of `AvailablePrefix` objects.
2020-08-23 20:49:50 +02:00
fd139a77f5 Closes #4997: Introduce OrderedDefaultRouter; move root API views to views.py 2020-08-13 12:49:49 -04:00
cb36f9fdb3 Remove restriction enforcement from RestrictedQuerySet 2020-07-23 12:48:03 -04:00
1714902f88 Merge branch 'develop' into develop-2.9 2020-07-21 12:57:02 -04:00