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

637 Commits

Author SHA1 Message Date
d750b690e7 Closes #4971: Allow assigning devices to locations without a rack 2021-03-03 14:28:07 -05:00
fdb3e3f9a4 Closes #5895: Rename RackGroup to Location 2021-03-03 13:30:33 -05:00
8de20fcd1f Closes #5375: Add 'speed' attribute to console port models 2021-03-03 10:20:08 -05:00
8dd7123923 Closes #3648: Mark cable termination models as connected without attaching a cable 2021-03-01 21:34:42 -05:00
07e6abdac4 Closes #5901: Add 'created' and 'last_updated' fields to device component models 2021-03-01 15:42:39 -05:00
d6ee4d58ba Add custom field support for device component models 2021-03-01 13:07:25 -05:00
12fbd34962 Introduce NestedGroupModelSerializer 2021-02-25 17:15:42 -05:00
ed059d80d6 Introduce OrganizationalModelSerializer 2021-02-25 16:44:16 -05:00
664a39911c Add custom field support for organizational models to API serializers 2021-02-25 15:58:13 -05:00
8ae3331d04 Closes #5549: Eliminate extraneous database queries when using brief API calls 2020-12-29 11:41:44 -05: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
202e7d0ebf Fixes #5486: Optimize retrieval of config context data for device/VM REST API views 2020-12-17 14:03:10 -05:00
3c2b2f26b9 Fixes: #5450 - Added Coalesce to viewsets for the _count functions 2020-12-15 12:50:28 -06:00
f5133c6737 Include nested representation of nodes within each CablePath 2020-12-02 14:30:05 -05:00
5a4234fcb9 Standardize validation of interface VLAN assignments 2020-12-02 14:19:02 -05: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
c559775135 Add support for tracing split paths 2020-11-16 15:49:07 -05:00
0567f0d190 Merge branch 'develop' into develop-2.10 2020-11-09 20:58:59 -05:00
9b2dc89c6c Closes #5327: Be more strict when capturing anticipated ImportError exceptions 2020-11-09 16:49:05 -05:00
fcb5e6ae1c Merge branch 'develop' into develop-2.10 2020-10-30 10:38:05 -04:00
28c17f33ab move get_queryset() to common mixin 2020-10-30 02:56:43 -04:00
22d2289ed2 add support for regions and vms 2020-10-23 01:18:04 -04:00
3ba18633de initial work on config context performance improvements 2020-10-20 01:07:22 -04:00
c0c5f52ed9 Reorganize REST API components under netbox app 2020-10-13 15:57:21 -04:00
75ddc63466 Handle split paths 2020-10-08 14:01:47 -04:00
0e41bc48b7 Add /trace API endpoints for CircuitTermination and PowerFeed 2020-10-08 13:55:29 -04:00
ae1ceb26b9 Standardize cable/connection field ordering 2020-10-08 11:23:24 -04:00
55268c90c8 Replace connection_status with connected_endpoint_reachable on InterfaceConnectionSerializer 2020-10-08 11:15:09 -04:00
aa0ee2720b Add cable paths API detail view for pass-through ports 2020-10-08 10:32:17 -04:00
52ec35b94f Correct serializer field lists 2020-10-06 15:27:40 -04:00
23cde6d1b8 Include cable_peer on CableTermination serializers 2020-10-06 14:30:46 -04:00
6275c8c67d Prefetch path & destination for API views 2020-10-06 10:41:52 -04:00
32aa2daea6 PowerFeedSerializer should subclass ConnectedEndpointSerializer 2020-10-05 11:39:17 -04:00
b846f631a4 Rename connection_status to connected_endpoint_reachable 2020-10-05 11:32:39 -04:00
3d34f1cdcb Rename CablePath.is_connected to is_active 2020-10-05 11:13:33 -04:00
df73737128 Remove legacy connection_status fields 2020-10-05 10:47:41 -04:00
079c42291c Remove legacy connected endpoint fields 2020-10-05 09:56:46 -04:00
e9da84f91a Replace legacy trace() method 2020-10-02 14:54:16 -04:00
c974c5687c Capture path end-to-end status in CablePath 2020-10-01 16:42:57 -04:00
610420c020 Drop support for split paths 2020-10-01 14:24:34 -04:00
230e7bbe34 Closes #1846: Enable MPTT for InventoryItem hierarchy 2020-09-18 10:18:03 -04:00
0030fe1779 Fixes #5146: Add custom fields support for cables, power panels, rack reservations, and virtual chassis 2020-09-17 14:22:14 -04:00
ec66e1a5c0 Closes #4349: Drop support for embedded graphs 2020-08-21 11:57:46 -04:00
fd139a77f5 Closes #4997: Introduce OrderedDefaultRouter; move root API views to views.py 2020-08-13 12:49:49 -04:00
ed0e212ce0 Closes #4994: Add cable attribute to PowerFeed API serializer 2020-08-13 10:30:28 -04:00
09015c98c4 Fixes #4903: Fix member count when searching for virtual chassis 2020-08-07 08:54:02 -04:00
e6df6dc7f4 Fixes #4950: Include inventory item label in API serializer, UI view 2020-08-05 10:11:38 -04:00
31e65a09e8 Closes #4940: Added an occupied field to rack unit representations for rack elevation views 2020-08-03 13:37:32 -04:00