Commit Graph

57 Commits

Author SHA1 Message Date
Jeremy Stretch
c19ad86328 Refactor FieldChoicesViewSet; add Interface.type to virtualization _choices endpoint 2020-01-15 09:59:44 -05:00
Jeremy Stretch
08874b3d07 Renamed virtualization FilterSets 2020-01-09 20:42:32 -05:00
Jeremy Stretch
414c10af53 Fixes #3868: Fix creation of interfaces for virtual machines 2020-01-09 14:54:25 -05:00
Jeremy Stretch
ae0a5da6bc Omit default uniqueness validator from VirtualMachineSerializer, which implies required fields 2019-12-09 12:11:42 -05:00
Jeremy Stretch
b8db33ade9 VirtualMachine.status to slug 2019-12-04 20:40:18 -05:00
Jeremy Stretch
67b014ab14 Interface.mode to slug (#3569) 2019-11-21 22:50:01 -05:00
Jeremy Stretch
7cf5445365 Interface.type to slug (#3569) 2019-11-21 22:11:02 -05:00
Fredrik Lönnegren
2b9fc8d7e1 Add tenancy to cluster
fix pep8
2019-10-07 16:20:14 +02:00
John Anderson
8bd1a48973 fixes #3428 - caching invalidation issues
Mitgate invalidation issues by using prefetch_related instead of select_related.
Also use invalidated_update instead of just update.
2019-08-19 01:53:39 -04:00
Jeremy Stretch
a5bbd95093 Added '*_count' fields for child objects 2019-04-19 16:50:42 -04:00
Jeremy Stretch
e8d09e97fa Added child counts to API serializers (WIP) 2019-04-12 17:07:56 -04:00
Jeremy Stretch
fd4802b8f3 Rename form_factor to type on dcim.Interface 2019-04-12 13:42:56 -04:00
Jeremy Stretch
80d8035f0e Fixes #2968: Correct API documentation for SerializerMethodFields 2019-03-08 10:25:09 -05:00
John Anderson
e7f9374ddf #2350 - added virtual machines and test cases 2019-02-18 22:10:05 -05:00
Jeremy Stretch
b5ef607224 Merge v2.4.8 2018-11-20 12:28:24 -05:00
Jeremy Stretch
be0690c77c Fixes #2589: Virtual machine API serializer should require cluster assignment 2018-11-14 10:38:53 -05:00
Jeremy Stretch
9a4f3453fb Closes #2578: Reorganized nested serializers 2018-11-12 11:36:44 -05:00
Jeremy Stretch
5bc3f4b868 Fixed deprecation warnings from DRF 3.9 2018-11-02 13:48:44 -04:00
Jeremy Stretch
9cad97b073 Upgraded django-filter to 2.0.0 2018-11-02 13:46:28 -04:00
Jeremy Stretch
26ebed03d0 Merge release v2.4.6 2018-10-10 09:36:51 -04:00
Jeremy Stretch
4fd2cffe31 #2487: Added API tests 2018-10-04 16:20:01 -04:00
Jeremy Stretch
66db32fefd Merged release v2.4.5 2018-10-03 11:23:21 -04:00
Jeremy Stretch
c48c3c9292 Closes #2438: API optimizations for tagged objects 2018-09-28 16:44:05 -04:00
John Anderson
0bda0a9334 refactored UI for local config context 2018-09-18 11:52:12 -04:00
John Anderson
7997b70ba1 implemnted #2392 - local config context for devices and VMs 2018-09-16 00:25:20 -04:00
Jeremy Stretch
5c1385f16b Merge branch 'develop' into develop-2.5 2018-08-16 16:31:54 -04:00
Jeremy Stretch
54c3a5c0b5 Closes #2356: Include cluster site as read-only field in VirtualMachine serializer 2018-08-16 11:57:20 -04:00
Jeremy Stretch
68a5dcd47e Removed Python 2 string compatibility 2018-08-14 11:58:42 -04:00
Jeremy Stretch
813cd6bebd Fixes #2321: Allow explicitly setting a null value on nullable ChoiceFields 2018-08-07 14:05:07 -04:00
Jeremy Stretch
a7beee7fe5 Fixes #2310: False validation error on certain nested serializers 2018-08-06 17:40:45 -04:00
Jeremy Stretch
10dcc8ab1e Fixes #2305: Make VLAN fields optional when creating a VM interface via the API 2018-08-06 10:35:51 -04:00
Jeremy Stretch
e6e5b92e00 Adopt django-taggit-serializer for representation of assigned tags in the API 2018-08-03 09:43:03 -04:00
Jeremy Stretch
7809eb42d9 Renamed ChoiceFieldSerializer and ContentTypeFieldSerializer 2018-07-30 12:41:20 -04:00
Jeremy Stretch
0978505058 Remove separate config-context API endpoints; include rendered config context when retrieving a single device/VM 2018-07-03 12:29:20 -04:00
Jeremy Stretch
999aebc167 Closes #2200: Replaced detail_route API view decorator with action (DRF change) 2018-06-29 11:48:21 -04:00
Jeremy Stretch
2b56131412 Initial work on config contexts 2018-06-27 16:02:34 -04:00
Jeremy Stretch
e08d8c4cac Implemented tags for all primary models 2018-05-10 12:53:11 -04:00
Jeremy Stretch
6316a9b8bd Merge branch 'develop' into develop-2.4 2018-04-19 11:24:11 -04:00
Jeremy Stretch
9f397dcefa Fixes #2014: Allow assignment of VLANs to VM interfaces via the API 2018-04-18 12:37:20 -04:00
Jeremy Stretch
7a7bb63e91 Finished merging writable serializers 2018-04-05 14:12:43 -04:00
Jeremy Stretch
197b3115e4 Closes #1910: Added filters for cluter group and cluster type 2018-03-01 13:22:43 -05:00
Jeremy Stretch
8d41447911 Renamed device status constants for clarity 2018-01-25 12:20:24 -05:00
Jeremy Stretch
ce12e30903 Closes #1321: Added created and last_updated fields for relevant models to their API serializers 2017-12-21 10:49:40 -05:00
Jeremy Stretch
0515adad19 Merge branch 'develop' into develop-2.3 2017-11-14 14:38:32 -05:00
Jeremy Stretch
e33052612a Fixes #1699: Correct nested representation in the API of primary IPs for virtual machines and add missing primary_ip property 2017-11-09 09:33:40 -05:00
Jeremy Stretch
55fe30fe8b Closes #1553: Introduced support for bulk object creation via the API 2017-11-07 15:36:10 -05:00
Jeremy Stretch
1f4deac332 Closes #1556: Added API endpoints listing static field choices for each app 2017-10-10 16:41:35 -04:00
Jeremy Stretch
cc68fa2af7 Fixes #1554: Don't require form_factor when creating an interface assigned to a virtual machine 2017-10-09 14:27:31 -04:00
Jeremy Stretch
c8cbd0223f Closes #1557: Added filtering for virtual machine interfaces 2017-10-09 13:59:53 -04:00
Jeremy Stretch
dd0bad553f Closes #1493: Added functional roles for virtual machines 2017-09-29 11:13:41 -04:00