Commit Graph

109 Commits

Author SHA1 Message Date
Jeremy Stretch
dc53a3e94e Cable.status to slug (#3569) 2019-12-10 09:55:10 -05:00
Jeremy Stretch
ad9d33550f Closes #3731: Change Graph.type to a ContentType foreign key field 2019-12-06 10:32:59 -05:00
Jeremy Stretch
f197dd5f5d PowerFeed.type to slug (#3569) 2019-11-25 21:03:11 -05:00
Jeremy Stretch
9aff8a6568 Front/RearPort.type to slug (#3569) 2019-11-25 19:39:25 -05:00
Jeremy Stretch
b1a4be03fb Site.status to slug (#3569) 2019-11-21 22:54:01 -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
Jeremy Stretch
0c2d66952b DeviceType.subdevice_role to slug (#3569) 2019-11-18 22:08:33 -05: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
6d9ef51be7 Added tests for power panels, power feeds 2019-04-11 12:29:43 -04:00
John Anderson
e7f9374ddf #2350 - added virtual machines and test cases 2019-02-18 22:10:05 -05:00
Jeremy Stretch
06522a7b29 Fix broken test 2019-02-13 10:09:33 -05:00
Jeremy Stretch
85c6c923a9 Closes #2648: Include the connection_status field in nested represenations of connectable device components 2018-12-06 12:14:54 -05:00
Jeremy Stretch
6b1abd6a65 Closes #2614: Simplify calls of super() for Python 3 2018-11-27 10:52:24 -05:00
Jeremy Stretch
9a4f3453fb Closes #2578: Reorganized nested serializers 2018-11-12 11:36:44 -05:00
Jeremy Stretch
4835b3c609 Re-implemented connected device API view & test 2018-11-06 11:44:32 -05:00
Jeremy Stretch
d5a06f49f8 connected_endpoint must be read-only on termination serializers 2018-10-31 16:12:36 -04:00
Jeremy Stretch
9bd3b025ef Added tests for Cable model 2018-10-31 15:17:51 -04:00
Jeremy Stretch
459faad4b0 Added initial tests for cable connections 2018-10-30 14:28:46 -04:00
Jeremy Stretch
3425e859c4 Replace 'is_connected' boolean with Cable attachment 2018-10-29 13:36:41 -04:00
Jeremy Stretch
560fc22950 Remove is_console_server, is_pdu, and is_network_device from DeviceType 2018-10-26 14:48:22 -04:00
Jeremy Stretch
f3174c14f7 Deprecated the InterfaceConnection model 2018-10-24 13:59:44 -04:00
Jeremy Stretch
0370a91558 Renamed PowerPort.power_outlet to connected_endpoint 2018-10-24 11:00:13 -04:00
Jeremy Stretch
d4e159dec6 Renamed ConsolePort.cs_port to connected_endpoint 2018-10-24 10:37:54 -04:00
Jeremy Stretch
6854819788 Merge branch 'develop' into develop-2.5 2018-10-19 13:34:03 -04:00
Jeremy Stretch
bee7dfe9f3 Fixes #2514: Prevent new connections to already connected interfaces 2018-10-16 16:42:23 -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
68a5dcd47e Removed Python 2 string compatibility 2018-08-14 11:58:42 -04:00
Jeremy Stretch
a7beee7fe5 Fixes #2310: False validation error on certain nested serializers 2018-08-06 17:40:45 -04:00
Jeremy Stretch
d46cbcff5f Refactored the tests to remove a lot of boilerplate 2018-08-03 11:39:26 -04:00
Jeremy Stretch
f472544300 Establish tests for the utilities app 2018-06-08 14:32:41 -04:00
Jeremy Stretch
df6aefbba5 Introduced SerializedPKRelatedField to represent serialized ManyToManyFields 2018-04-06 12:42:25 -04:00
Jeremy Stretch
b937c3b9a4 Removed nested serializers for ManyToMany relationships temporarily 2018-04-05 16:26:29 -04:00
Jeremy Stretch
9a8f1c6672 Started merging writable serializers (WIP) 2018-04-04 17:01:24 -04:00
Jeremy Stretch
aa7d2d28e1 Updated tests for recently added model fields 2018-04-04 15:10:06 -04:00
Jeremy Stretch
a39a992425 Fixed tests 2018-03-08 13:36:14 -05:00
John Anderson
381fc22321 fixed #1921 - create interfaces with 801.1q in api 2018-02-27 16:19:28 -05:00
Jeremy Stretch
2be7e1b4af Added virtual chassis tests 2018-02-01 13:52:41 -05:00
Jeremy Stretch
f530fdce74 Collapsed VCMembership into the Device model (WIP) 2018-01-31 22:47:27 -05:00
Jeremy Stretch
6613aaebd1 Fix bulk creation of VCMemberships via API 2018-01-02 16:40:52 -05:00
Jeremy Stretch
822b3b6c51 Added bulk creation API tests 2018-01-02 16:29:44 -05:00
Jeremy Stretch
a31e0c82d8 PEP8 fixes 2017-12-18 16:52:49 -05:00
Jeremy Stretch
dbed43e69e Added virtual chassis tests 2017-12-15 17:21:43 -05:00
Jeremy Stretch
0515adad19 Merge branch 'develop' into develop-2.3 2017-11-14 14:38:32 -05:00
Jeremy Stretch
e161b40f8c Fixes #1642: Validate device type classification when creating console server ports and power outlets 2017-11-10 15:01:46 -05:00
Jeremy Stretch
5640b1d1ab Standardize on JSON data format for all POST/PUT test client requests 2017-11-08 13:54:35 -05:00
Jeremy Stretch
002848cf09 Closes #1691: Cleaned up and reorganized import statements 2017-11-07 11:08:23 -05:00
Jeremy Stretch
297d9c6bb9 Import unicode_literals 2017-05-24 11:33:11 -04:00
Jeremy Stretch
a362e2da7c Added API endpoints for console and power connections 2017-04-05 11:29:12 -04:00
Jeremy Stretch
be56d01a1d Renamed Module to InventoryItem (prep for #824) 2017-03-21 12:54:08 -04:00
Jeremy Stretch
354b3b0011 Added test case for ConnectedDeviceViewSet 2017-03-20 21:39:40 -04:00
Jeremy Stretch
2be7d030c2 Renamed rack-units API and added a test 2017-03-20 21:18:37 -04:00
Jeremy Stretch
15ecd734c6 Added API endpoint, tests for Graphs 2017-03-20 15:14:33 -04:00
Jeremy Stretch
4f5d5cd4f0 Introduced HttpStatusMixin to provide more detail on HTTP response status test failures 2017-03-20 13:46:47 -04:00
Jeremy Stretch
05c37ea90e Finished DCIM API model tests 2017-03-17 12:16:24 -04:00
Jeremy Stretch
708cc043c3 Fixed bug interpreting facility_id as a required field 2017-03-16 17:25:34 -04:00
Jeremy Stretch
b63ed3d1dc First batch of DCIM API tests 2017-03-16 16:50:18 -04:00