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
4df128d34e
Renamed device status constants for clarity
2018-01-25 12:20:24 -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
Ryan Breaker
937faaf149
Add test for validation of device within rack height.
2017-10-15 19:03:28 -05:00
Ryan Breaker
115e7d6e50
Add group and site matching validation to Rack.clean() and testing
2017-10-15 18:35:03 -05:00
Jeremy Stretch
a010f7439d
More work on #1523 (natural ordering for interfaces)
2017-09-22 16:18:43 -04:00
Joey Wilhelm
89194c067b
Another test case to ensure subinterface ordering
2017-09-21 17:21:21 -07:00
Joey Wilhelm
126a5e5e4e
Fix order_naturally with unbalanced names and use RawSQL instead of extra
2017-09-21 11:00:55 -07: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
Jeremy Stretch
c0152940f9
Merged develop
2017-02-28 16:10:53 -05:00
Jeremy Stretch
8f42f59a80
Merge branch 'develop' into api2
...
Conflicts:
netbox/dcim/api/serializers.py
netbox/dcim/api/views.py
netbox/dcim/filters.py
2017-02-27 17:04:08 -05:00
Jeremy Stretch
c6970e1998
Closes #105 : Interface groups ( #919 )
...
* Initial work on interface groups
* Simplify to a single LAG form factor
* Correct interface serializer
* Allow for bulk editing of interface LAG
* Additional LAG interface validation
* Fixed API tests
2017-02-27 16:52:13 -05:00
Jeremy Stretch
f1518226bd
Merge branch 'develop' into api2
...
Conflicts:
netbox/dcim/api/serializers.py
2017-02-17 15:12:53 -05:00
Jeremy Stretch
198ed859ff
Closes #198 : Support for rackless devices ( #902 )
...
* Initial work to support rackless devices
* Updated device component connection forms
* Updated IP address assignment form
* Updated circuit termination form
* Formatting cleanup
* Fixed tests
2017-02-17 14:48:00 -05:00
Jeremy Stretch
b71566f206
Merge branch 'develop' into api2
...
Conflicts:
netbox/dcim/api/serializers.py
netbox/dcim/api/urls.py
netbox/dcim/api/views.py
netbox/dcim/filters.py
2017-02-16 14:28:06 -05:00
Jeremy Stretch
181539651f
Rack reservations ( #900 )
...
* Initial work on rack reservations
* Added views for rack reservations
* Implemented ArrayFieldSelectMultiple form widget
* Implemented API endpoints for rack reservations
* Tweaked the database migration
2017-02-16 13:46:58 -05:00
Jeremy Stretch
6be520a8f9
Fixed DeviceTypeTest
2017-01-25 14:38:45 -05:00
Jeremy Stretch
062a5bfe8d
Initial work on API v2.0
2017-01-24 17:12:16 -05:00
Jens L
80439c495e
Basic Support for Python 3 ( #827 )
...
* Rudimentary python3 support
* update docs and trigger Travis
* fix some of the tests
* fix all python3 errors
* change env calls to just python
* add @python_2_unicode_compatible decorator to models for python2 compatibility
* switch netbox.configuration to from netbox import configuration
2017-01-23 16:44:29 -05:00
Jeremy Stretch
c9e7c12463
Closes #284 : Added interface_ordering field to DeviceType
2017-01-06 12:59:49 -05:00
Jeremy Stretch
e7b08f8f2f
Closes #756 : Added contact details to site model
2016-12-29 11:37:40 -05:00
Jeremy Stretch
6f1532adac
Fixed dcim tests
2016-12-16 12:15:32 -05:00
Jeremy Stretch
2db50dd4a7
Closes #191 : Support for racks numbered top-to-bottom
2016-10-28 11:30:40 -04:00