Jeremy Stretch
047286f9c0
Add a third initial object to VirtualChassisTest
2020-06-08 15:27:55 -04:00
Jeremy Stretch
a8145fe4c2
Add permission assignment to custom test methods
2020-06-08 13:40:46 -04:00
Jeremy Stretch
4f830c9c22
Fix list_brief tests
2020-06-05 16:09:55 -04:00
Jeremy Stretch
279ae7ea10
Standardize DCIM API tests
2020-06-05 13:23:33 -04:00
Jeremy Stretch
e0f819691f
Fixes #4496 : Fix exception when validating certain models via REST API
2020-04-15 09:37:30 -04:00
John Anderson
9df238c5f2
Merge branch 'develop' into develop-2.8
2020-03-15 00:18:32 -04:00
Jeremy Stretch
a53f854187
Remove tests for API _choices endpoints
2020-03-12 10:48:53 -04:00
Jeremy Stretch
84de0458aa
Implement nested RackGroups
2020-03-11 14:40:29 -04:00
John Anderson
a504f5f309
closes #4340 - Enforce unique constraints for device and virtual machine names in the API
2020-03-10 19:15:24 -04:00
Jeremy Stretch
c85bcbcf31
Merge branch 'develop' into develop-2.8
2020-03-03 13:20:00 -05:00
Jeremy Stretch
62efe0621f
Fixes #4272 : Interface type should be required by API serializer
2020-02-25 11:20:43 -05:00
Dan Sheppard
2b75e05ea7
Fixes : #4230 - Fixes filtering by position on elevation endpoint
...
* Add tests for rack elevation filtering
* Add q variable to serializers for RackElevationDetailFilterSerializer
* Add code to allow filtering of position on the rack elevation
2020-02-22 08:24:26 -06:00
Jeremy Stretch
be23230938
Update tests to match new string representation of ContentTypes
2020-02-19 15:31:15 -05:00
Jeremy Stretch
8cb6aed8fa
Closes #3753 : Remove rack units endpoint (replaced with elevation)
2020-02-14 13:59:07 -05:00
Jeremy Stretch
ddd9f86031
Add tests for rack elevation API endpoint
2020-01-21 17:36:38 -05:00
Jeremy Stretch
03436b729d
Add test for device graphs API endpoint
2020-01-21 17:11:26 -05:00
Jeremy Stretch
d123664503
Add tests for front/rear port API endpoints
2020-01-21 17:00:30 -05:00
Jeremy Stretch
10917123fd
Add tests for cable tracing endpoints
2020-01-21 16:24:03 -05:00
Jeremy Stretch
8bd67b2c17
Add tests for browsable API endpoints
2020-01-15 17:47:55 -05:00
Jeremy Stretch
f8dad1744c
#3892 : Convert CABLE_TERMINATION_TYPES to a Q object
2020-01-15 15:51:51 -05:00
Jeremy Stretch
8df53eac91
Add tests for dynamic choices
2020-01-14 16:38:14 -05:00
Jeremy Stretch
857e04e90b
Add _choices endpoint tests for all apps
2020-01-14 16:13:11 -05:00
Jeremy Stretch
12657ebd7c
Cable.status to slug ( #3569 )
2019-12-10 09:55:10 -05:00
Jeremy Stretch
7518174374
Closes #3731 : Change Graph.type to a ContentType foreign key field
2019-12-06 10:32:59 -05:00
Jeremy Stretch
62494f295e
PowerFeed.type to slug ( #3569 )
2019-11-25 21:03:11 -05:00
Jeremy Stretch
dead5b42be
Front/RearPort.type to slug ( #3569 )
2019-11-25 19:39:25 -05:00
Jeremy Stretch
5c95927a43
Site.status to slug ( #3569 )
2019-11-21 22:54:01 -05:00
Jeremy Stretch
3fa4ceadb0
Interface.mode to slug ( #3569 )
2019-11-21 22:50:01 -05:00
Jeremy Stretch
5f5081f719
Interface.type to slug ( #3569 )
2019-11-21 22:11:02 -05:00
Jeremy Stretch
afd82fd9d3
DeviceType.subdevice_role to slug ( #3569 )
2019-11-18 22:08:33 -05:00
Jeremy Stretch
a46b43bff6
Added child counts to API serializers (WIP)
2019-04-12 17:07:56 -04:00
Jeremy Stretch
1a2c9e3bba
Rename form_factor to type on dcim.Interface
2019-04-12 13:42:56 -04:00
Jeremy Stretch
3b06251720
Added tests for power panels, power feeds
2019-04-11 12:29:43 -04:00
John Anderson
e521508de9
#2350 - added virtual machines and test cases
2019-02-18 22:10:05 -05:00
Jeremy Stretch
3b4bcc881f
Fix broken test
2019-02-13 10:09:33 -05:00
Jeremy Stretch
64d37cd450
Closes #2648 : Include the connection_status field in nested represenations of connectable device components
2018-12-06 12:14:54 -05:00
Jeremy Stretch
bd7aee7c1f
Closes #2614 : Simplify calls of super() for Python 3
2018-11-27 10:52:24 -05:00
Jeremy Stretch
75f0d8ee90
Closes #2578 : Reorganized nested serializers
2018-11-12 11:36:44 -05:00
Jeremy Stretch
bb114ea66b
Re-implemented connected device API view & test
2018-11-06 11:44:32 -05:00
Jeremy Stretch
cd243a90d0
connected_endpoint must be read-only on termination serializers
2018-10-31 16:12:36 -04:00
Jeremy Stretch
c2656c4ce1
Added tests for Cable model
2018-10-31 15:17:51 -04:00
Jeremy Stretch
2fa1c81070
Added initial tests for cable connections
2018-10-30 14:28:46 -04:00
Jeremy Stretch
d7766b9828
Replace 'is_connected' boolean with Cable attachment
2018-10-29 13:36:41 -04:00
Jeremy Stretch
8573c8b8cb
Remove is_console_server, is_pdu, and is_network_device from DeviceType
2018-10-26 14:48:22 -04:00
Jeremy Stretch
f30367e094
Deprecated the InterfaceConnection model
2018-10-24 13:59:44 -04:00
Jeremy Stretch
2ec8dc8319
Renamed PowerPort.power_outlet to connected_endpoint
2018-10-24 11:00:13 -04:00
Jeremy Stretch
1595a5ecd7
Renamed ConsolePort.cs_port to connected_endpoint
2018-10-24 10:37:54 -04:00
Jeremy Stretch
4cfe9fe182
Merge branch 'develop' into develop-2.5
2018-10-19 13:34:03 -04:00
Jeremy Stretch
0bb5d229e8
Fixes #2514 : Prevent new connections to already connected interfaces
2018-10-16 16:42:23 -04:00
Jeremy Stretch
22ed4f1b53
Merge release v2.4.6
2018-10-10 09:36:51 -04:00
Jeremy Stretch
259da2d18a
#2487 : Added API tests
2018-10-04 16:20:01 -04:00
Jeremy Stretch
980d62d579
Removed Python 2 string compatibility
2018-08-14 11:58:42 -04:00
Jeremy Stretch
98bdb0cb3c
Fixes #2310 : False validation error on certain nested serializers
2018-08-06 17:40:45 -04:00
Jeremy Stretch
bd5e860be0
Refactored the tests to remove a lot of boilerplate
2018-08-03 11:39:26 -04:00
Jeremy Stretch
e4f336a843
Establish tests for the utilities app
2018-06-08 14:32:41 -04:00
Jeremy Stretch
9de1a8c363
Introduced SerializedPKRelatedField to represent serialized ManyToManyFields
2018-04-06 12:42:25 -04:00
Jeremy Stretch
c72d70d114
Removed nested serializers for ManyToMany relationships temporarily
2018-04-05 16:26:29 -04:00
Jeremy Stretch
7241783249
Started merging writable serializers (WIP)
2018-04-04 17:01:24 -04:00
Jeremy Stretch
72c518bcb7
Updated tests for recently added model fields
2018-04-04 15:10:06 -04:00
Jeremy Stretch
a75d7079df
Fixed tests
2018-03-08 13:36:14 -05:00
John Anderson
e4c1cece75
fixed #1921 - create interfaces with 801.1q in api
2018-02-27 16:19:28 -05:00
Jeremy Stretch
d6eaa3d0cc
Added virtual chassis tests
2018-02-01 13:52:41 -05:00
Jeremy Stretch
a4019be28c
Collapsed VCMembership into the Device model (WIP)
2018-01-31 22:47:27 -05:00
Jeremy Stretch
e5c13d2d72
Fix bulk creation of VCMemberships via API
2018-01-02 16:40:52 -05:00
Jeremy Stretch
b27529d927
Added bulk creation API tests
2018-01-02 16:29:44 -05:00
Jeremy Stretch
ca7147a0a7
PEP8 fixes
2017-12-18 16:52:49 -05:00
Jeremy Stretch
70d235f99e
Added virtual chassis tests
2017-12-15 17:21:43 -05:00
Jeremy Stretch
3df8c63d5c
Merge branch 'develop' into develop-2.3
2017-11-14 14:38:32 -05:00
Jeremy Stretch
30b544a743
Fixes #1642 : Validate device type classification when creating console server ports and power outlets
2017-11-10 15:01:46 -05:00
Jeremy Stretch
e01e5e6b0e
Standardize on JSON data format for all POST/PUT test client requests
2017-11-08 13:54:35 -05:00
Jeremy Stretch
00986fd7bf
Closes #1691 : Cleaned up and reorganized import statements
2017-11-07 11:08:23 -05:00
Jeremy Stretch
f21c6bca00
Import unicode_literals
2017-05-24 11:33:11 -04:00
Jeremy Stretch
178f7b4643
Added API endpoints for console and power connections
2017-04-05 11:29:12 -04:00
Jeremy Stretch
22768ff6c6
Renamed Module to InventoryItem (prep for #824 )
2017-03-21 12:54:08 -04:00
Jeremy Stretch
925afe0999
Added test case for ConnectedDeviceViewSet
2017-03-20 21:39:40 -04:00
Jeremy Stretch
f743410b4e
Renamed rack-units API and added a test
2017-03-20 21:18:37 -04:00
Jeremy Stretch
266f9cc370
Added API endpoint, tests for Graphs
2017-03-20 15:14:33 -04:00
Jeremy Stretch
42fd14f5c0
Introduced HttpStatusMixin to provide more detail on HTTP response status test failures
2017-03-20 13:46:47 -04:00
Jeremy Stretch
abdfc5c597
Finished DCIM API model tests
2017-03-17 12:16:24 -04:00
Jeremy Stretch
be2faaa110
Fixed bug interpreting facility_id as a required field
2017-03-16 17:25:34 -04:00
Jeremy Stretch
f33269e50b
First batch of DCIM API tests
2017-03-16 16:50:18 -04:00