Jeremy Stretch
e0f819691f
Fixes #4496 : Fix exception when validating certain models via REST API
2020-04-15 09:37:30 -04:00
Jeremy Stretch
5266bf93a3
Merge branch 'develop' into develop-2.8
2020-04-08 13:50:15 -04:00
Daniel Sheppard
fe088dba7a
Fixes : #4396 - Fix typing on interface serializer
2020-04-07 08:33:00 -05:00
Jeremy Stretch
cebe580484
Add a description field to all organizational models
2020-03-13 16:33:28 -04:00
Jeremy Stretch
84de0458aa
Implement nested RackGroups
2020-03-11 14:40:29 -04:00
Jeremy Stretch
62efe0621f
Fixes #4272 : Interface type should be required by API serializer
2020-02-25 11:20:43 -05:00
Daniel Sheppard
d0c82c23bd
Merge pull request #4244 from netbox-community/4230-filter_rack_unit_on_elevations
...
Fixes : #4230 - Fixes rack units filtering on elevation endpoint
2020-02-24 09:25:42 -06:00
Jeremy Stretch
61c0a4cc61
Fixes #4252 : Fix power port assignment for power outlet templates created via REST API
2020-02-24 10:13:47 -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
58ff08be4e
#1529 : Add front/rear image fields to DeviceType serializer
2020-02-20 14:37:08 -05:00
Jeremy Stretch
ba6562a5db
Add ability to toggle the inclusion of device images when rendering a rack elevation SVG
2020-02-20 13:09:43 -05:00
Jeremy Stretch
7388fa3556
Fixes #4083 : Permit nullifying applicable choice fields via API requests
2020-02-10 15:10:33 -05:00
Jeremy Stretch
f8dad1744c
#3892 : Convert CABLE_TERMINATION_TYPES to a Q object
2020-01-15 15:51:51 -05:00
Jeremy Stretch
a2ead6af94
Merge branch 'develop' into develop-2.7
2020-01-09 15:27:06 -05:00
Saria Hajjar
ea05b5b606
Fixes #1982 : Swagger NAPALM documentation
2020-01-08 13:34:46 +00:00
John Anderson
645383509b
change render_format to render for svg elevations
2019-12-11 17:33:58 -05:00
Jeremy Stretch
2ec7259a69
Rack elevation endpoint should return JSON by default; fix typo
2019-12-11 17:17:20 -05:00
John Anderson
05938d60f0
Merge pull request #3754 from netbox-community/2248-svg-rack-elevations
...
2248 svg rack elevations
2019-12-11 14:26:32 -05:00
John Anderson
7f788eaa06
review updates to svg rendering
2019-12-11 13:39:10 -05:00
John Anderson
b4d724b5ae
drf-yasg updates for rack elevations
2019-12-11 09:45:08 -05:00
Jeremy Stretch
1f288175e4
Add description field to RackRole and DeviceRole models ( #3655 )
2019-12-10 12:53:28 -05:00
Jeremy Stretch
12657ebd7c
Cable.status to slug ( #3569 )
2019-12-10 09:55:10 -05:00
hellerve
e5b49e25b9
dcim api: add feedback from @jeremystretch to rack elevations api
2019-12-08 18:14:59 +01:00
Jeremy Stretch
21fe5902a8
PowerOutlet.feed_leg to slug ( #3569 )
2019-11-27 21:30:11 -05:00
Jeremy Stretch
8c7f6c62b0
PowerFeed.status to slug ( #3569 )
2019-11-25 21:22:14 -05:00
Jeremy Stretch
2dc07ca30d
PowerFeed.phase to slug ( #3569 )
2019-11-25 21:14:04 -05:00
Jeremy Stretch
bb8b012397
PowerFeed.supply to slug ( #3569 )
2019-11-25 21:08:34 -05:00
Jeremy Stretch
62494f295e
PowerFeed.type to slug ( #3569 )
2019-11-25 21:03:11 -05:00
Jeremy Stretch
9872a46583
Rack.outer_unit to slug ( #3569 )
2019-11-25 20:54:24 -05:00
Jeremy Stretch
4846557d61
Cable.length_unit to slug ( #3569 )
2019-11-25 20:40:29 -05:00
Jeremy Stretch
dead5b42be
Front/RearPort.type to slug ( #3569 )
2019-11-25 19:39:25 -05:00
Jeremy Stretch
bcc34f6099
Device.face to slug ( #3569 )
2019-11-25 19:23:43 -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
a8db07e0a8
Device.face to slug ( #3569 )
2019-11-16 21:46:07 -05:00
Jeremy Stretch
c79c29e769
Rack.status to slug ( #3569 )
2019-11-15 22:03:41 -05:00
Jeremy Stretch
07aa036fe8
Convert RACK_WIDTH_CHOICES to ChoiceSet
2019-11-15 21:33:56 -05:00
Jeremy Stretch
8d27b62114
Rack.status to slug ( #3569 )
2019-11-15 21:31:57 -05:00
Jeremy Stretch
62b45494b6
Convert all DCIM choice classes to ChoiceSets
2019-11-15 21:17:01 -05:00
Jeremy Stretch
8cb7eb0382
Convert console port types to slugs ( #3569 )
2019-11-06 16:56:46 -05:00
Jeremy Stretch
6ccaa0d9bd
Initial work on #792
2019-11-06 15:30:54 -05:00
Jeremy Stretch
bb30f64252
Closes #1865 : Add console port and console server port types
2019-10-30 14:25:55 -04:00
Jeremy Stretch
56dcadb69b
Merged v2.6.4
2019-09-20 08:35:14 -04:00
Jeremy Stretch
7264a4ffb6
Fixes #3513 : Fix assignment of tags when creating front/rear ports
2019-09-18 14:33:47 -04:00
Jeremy Stretch
15b55f5e62
Remove deprecated form_factor accessor on Interface and InterfaceTemplate
2019-08-08 21:35:59 -04:00
Jeremy Stretch
d529ebc172
Rename power_factor to max_utilization
2019-06-17 14:52:11 -04:00
Jeremy Stretch
2c730b08e4
Fix PowerPort connected_endpoint filtering, ordering
2019-04-25 15:06:48 -04:00
Jeremy Stretch
017a5011ec
Added '*_count' fields for child objects
2019-04-19 16:50:42 -04:00
Jeremy Stretch
f4bbdf30e8
Implement get_subquery() for annotation of child object counts; Rename dcim.Site 'count_*' fields
2019-04-19 16:09:22 -04:00
Jeremy Stretch
a46b43bff6
Added child counts to API serializers (WIP)
2019-04-12 17:07:56 -04:00
Jeremy Stretch
4acd842237
Maintain backward-compatibile support for Interface.form_factor until v2.7
2019-04-12 13:57:33 -04:00
Jeremy Stretch
1a2c9e3bba
Rename form_factor to type on dcim.Interface
2019-04-12 13:42:56 -04:00
Jeremy Stretch
bfa07aec39
Fix tests
2019-04-11 11:37:44 -04:00
Jeremy Stretch
b22fd2bc44
Rename max_utilization to power_factor
2019-04-10 16:36:38 -04:00
Jeremy Stretch
3d5f85c0ca
Add associatiton from power outlet to power port/phase
2019-04-10 14:16:16 -04:00
Jeremy Stretch
8230ea1c83
Add max/allocated current draw fields to PowerPort
2019-04-09 17:32:04 -04:00
Jeremy Stretch
07bfd7c8e5
Merge branch 'develop-2.6' into 54-power-modeling
2019-04-02 13:15:40 -04:00
Jeremy Stretch
c8cccc30d1
Merge branch 'develop' into develop-2.6
2019-04-02 13:12:34 -04:00
Jeremy Stretch
fc76c8eb0f
FieldChoicesViewSet should infer field choices from serializer, not model
2019-03-22 16:24:53 -04:00
Jeremy Stretch
e06dece00c
More power work
2019-03-12 11:36:29 -04:00
Jeremy Stretch
d9c8c0cbc1
Fixes #2968 : Correct API documentation for SerializerMethodFields
2019-03-08 10:25:09 -05:00
Jeremy Stretch
c52d077f92
Merge branch 'develop' into develop-2.6
2019-03-05 13:39:00 -05:00
Anthony Ruhier
bd65e782bb
Allow nullable length unit in cable API
...
Cables models define it as None by default, but the API rejects a
request containing a null length_unit. Allows it in the API
serializer.
2019-03-05 18:44:44 +01:00
Jeremy Stretch
bb6fb81fc0
Closes #2643 : Add description field to console/power components and device bays
2019-02-20 14:34:05 -05:00
Jeremy Stretch
f733d5a4da
Fixes #2857 : Add display_name to DeviceType API serializer; fix DeviceType list for bulk device edit
2019-02-06 10:23:30 -05:00
Jeremy Stretch
65edffea63
Merge v2.5 work
2018-12-07 10:51:28 -05:00
Jeremy Stretch
9689ba2c4f
Fix representation of connected_endpoint_type for non-connected components
2018-12-06 16:39:03 -05:00
Jeremy Stretch
45a1dfbd8a
Closes #2649 : Add connected_endpoint_type to connectable device component API representations
2018-12-06 16:14:03 -05:00
Jeremy Stretch
c6d048ca51
Fixes #2576 : Correct type for count_* fields in site API representation
2018-11-27 16:27:47 -05:00
Jeremy Stretch
bd7aee7c1f
Closes #2614 : Simplify calls of super() for Python 3
2018-11-27 10:52:24 -05:00
Jeremy Stretch
d59be2912e
Closes #2601 : Added a description field to pass-through ports
2018-11-20 21:28:19 -05:00
Jeremy Stretch
8c3a294384
Standardized behavior and display of connection_status
2018-11-19 15:26:06 -05:00
Jeremy Stretch
75f0d8ee90
Closes #2578 : Reorganized nested serializers
2018-11-12 11:36:44 -05:00
Jeremy Stretch
46e594f1f1
Closes #1931 : Added a count of assigned IP addresses to the interface API serializer
2018-11-05 14:32:22 -05:00
Jeremy Stretch
976388f29c
Removed 'interface_ordering' field from DeviceType
2018-11-05 12:02:55 -05:00
Jeremy Stretch
c60c5502f6
Closes #450 : Add 'outer_width' and 'outer_depth' fields to Rack
2018-11-02 09:51:17 -04:00
Jeremy Stretch
4ffe1866c5
Closes #1444 : Add field to Rack model
2018-11-02 09:17:51 -04:00
Jeremy Stretch
fa6c4db13b
Closes #2104 : Add 'status' field to Rack
2018-11-01 16:03:42 -04:00
Jeremy Stretch
cd243a90d0
connected_endpoint must be read-only on termination serializers
2018-10-31 16:12:36 -04:00
Jeremy Stretch
10492de50d
Fix NestedCableSerializer
2018-10-30 14:58:04 -04:00
Jeremy Stretch
2fa1c81070
Added initial tests for cable connections
2018-10-30 14:28:46 -04:00
Jeremy Stretch
4df74780b8
Extended Cables to connect CircuitTerminations
2018-10-30 12:16:22 -04:00
Jeremy Stretch
e3dc12338b
Introduced a 'trace' API endpoint for cable terminations
2018-10-29 15:43:41 -04:00
Jeremy Stretch
d7766b9828
Replace 'is_connected' boolean with Cable attachment
2018-10-29 13:36:41 -04:00
Jeremy Stretch
427226de8c
Optimized API views
2018-10-29 13:26:09 -04:00
Jeremy Stretch
cb1bdccf51
'cable' should be a read-only field
2018-10-29 13:14:41 -04:00
Jeremy Stretch
05431aa83b
Added 'cable' field to device component serializers
2018-10-29 12:33:43 -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
3518d023dc
Implemented Cable API endpoint
2018-10-26 12:25:11 -04:00
Jeremy Stretch
266429101b
Removed 'is_patch_panel' from DeviceType
2018-10-25 12:44:28 -04:00
Jeremy Stretch
b19e2037af
Dropped 'Panel' from FrontPanelPort/RearPanelPort names
2018-10-25 12:11:13 -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
a36b120c8b
Merge branch 'develop-2.5' into 20-physical-cabling
2018-10-19 13:34:21 -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
3eddeeadc5
Initial work on #20 - patch panels
2018-10-03 14:04:16 -04:00
Jeremy Stretch
364bbdeab8
Merged release v2.4.5
2018-10-03 11:23:21 -04:00
John Anderson
4039753b2f
refactored UI for local config context
2018-09-18 11:52:12 -04:00
John Anderson
0da113b723
implemnted #2392 - local config context for devices and VMs
2018-09-16 00:25:20 -04:00
Jeremy Stretch
c4be440cd1
Closes #2367 : Remove deprecated RPCClient functionality
2018-08-16 12:21:24 -04:00
Jeremy Stretch
980d62d579
Removed Python 2 string compatibility
2018-08-14 11:58:42 -04:00
Jeremy Stretch
a6c78b99c4
Fixes #2340 : API requires manufacturer field when creating/updating an inventory item
2018-08-09 09:34:54 -04:00
Jeremy Stretch
134370f48d
Fixes #2335 : API requires group field when creating/updating a rack
2018-08-08 14:58:16 -04:00
Jeremy Stretch
db7148350e
Fixes #2321 : Allow explicitly setting a null value on nullable ChoiceFields
2018-08-07 14:05:07 -04:00
Jeremy Stretch
98bdb0cb3c
Fixes #2310 : False validation error on certain nested serializers
2018-08-06 17:40:45 -04:00
Jeremy Stretch
f1bc88fc0c
Adopt django-taggit-serializer for representation of assigned tags in the API
2018-08-03 09:43:03 -04:00
Jeremy Stretch
c2416411c1
Renamed ChoiceFieldSerializer and ContentTypeFieldSerializer
2018-07-30 12:41:20 -04:00
Jeremy Stretch
43ed38a6e9
Enabled tags for device components and virtual chassis
2018-07-10 15:36:28 -04:00
Jeremy Stretch
25b36d6d42
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
35d58d2f7c
Closes #2029 : Added optional NAPALM arguments to Platform model
2018-06-29 11:21:00 -04:00
Jeremy Stretch
258373f1a1
Closes #2118 : Added latitude and longitude fields to Site
2018-06-21 14:55:10 -04:00
Jeremy Stretch
8762f1314d
Closes #2131 : Added created and last_updated fields to DeviceType
2018-05-30 13:41:14 -04:00
Jeremy Stretch
4fd52d46bf
Closes #238 : Allow racks with the same name within a site (but in different groups)
2018-05-22 15:45:30 -04:00
Jeremy Stretch
b0985ebd42
Closes #2034 : Include the ID when showing nested interface connections
2018-05-22 14:41:11 -04:00
Jeremy Stretch
b0dafcf50f
Initial work on implementing django-taggit for #132
2018-05-08 16:28:26 -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
821fb1e01e
Finished merging writable serializers
2018-04-05 14:12:43 -04:00
Jeremy Stretch
7241783249
Started merging writable serializers (WIP)
2018-04-04 17:01:24 -04:00
John Anderson
19831f0177
Merge branch 'develop' into bug/1921
2018-03-01 12:11:46 -05:00
Jeremy Stretch
fc9871fba3
Fixes #1935 : Correct API validation of VLANs assigned to interfaces
2018-03-01 12:05:25 -05:00
John Anderson
b34f4f8e43
refactor to handle M2M validation in ValidatedModelSerializer
2018-03-01 11:31:56 -05:00
John Anderson
e4c1cece75
fixed #1921 - create interfaces with 801.1q in api
2018-02-27 16:19:28 -05:00
Jeremy Stretch
25ad58d42c
Cleaned up API for virtual chassis
2018-02-01 13:02:34 -05:00
Jeremy Stretch
a4019be28c
Collapsed VCMembership into the Device model (WIP)
2018-01-31 22:47:27 -05:00
Jeremy Stretch
7378d82bc4
Closes #1821 : Added 'description' field to Site model
2018-01-25 13:29:09 -05:00
Jeremy Stretch
ed10a99771
Closes #1758 : Added 'status' field to Site model
2018-01-25 13:07:04 -05:00
Jeremy Stretch
4df128d34e
Renamed device status constants for clarity
2018-01-25 12:20:24 -05:00
Jeremy Stretch
d7354f4dab
Completed virtual chassis API serializers
2018-01-19 13:34:37 -05:00
Jeremy Stretch
0714a40509
Merge branch 'develop' into develop-2.3
2018-01-19 10:54:26 -05:00
Jeremy Stretch
5262156e1a
Fixes #1818 : InventoryItem API serializer no longer requires specifying a null value for items with no parent
2018-01-19 10:30:26 -05:00
Jeremy Stretch
063e79451f
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
b20258c66e
Closes #1283 : Added a time zone field to the site model
2017-12-19 17:24:14 -05:00
Jeremy Stretch
9984238f2a
Closes #1744 : Allow associating a platform with a specific manufacturer
2017-12-19 16:15:26 -05:00
Jeremy Stretch
ca7147a0a7
PEP8 fixes
2017-12-18 16:52:49 -05:00
Jeremy Stretch
3b801d43bc
Moved VC master designation to membership model
2017-11-27 15:59:13 -05:00
Jeremy Stretch
55e07c1c9a
Initial work on virtual chassis support
2017-11-17 16:47:26 -05:00
Jeremy Stretch
1c09570805
Added nested representations of user and tenant to the rack reservation serializer
2017-11-15 14:15:44 -05:00
Nicholas Totsch
fbd39da8ca
Add Tenancy to Rack Reservations; Fixes #1592 ( #1672 )
...
* fixed prefix header to represent new serial "vlan_vid"
* shows option in creation now
* fixed visibility on rack page
* cleanup
* Added view to Tenant page
* Moved migration for update from #1666 and fixed tenant enumeration in FilterForm
* Fixed conflict #1
* Fixed filters from merge and made migration merge
* added tenant to api
* Fixed migrations problem
* Added Tenant to bulkedit option
2017-11-15 13:54:49 -05:00
Jeremy Stretch
04ba57cb38
Fixed up validation of Interface VLAN assignments
2017-11-14 16:15:23 -05:00
Jeremy Stretch
ba42ad2115
Merge branch '150-interface-vlans' into develop-2.3
2017-11-14 15:36:14 -05:00
Jeremy Stretch
00986fd7bf
Closes #1691 : Cleaned up and reorganized import statements
2017-11-07 11:08:23 -05:00
Jeremy Stretch
b46cc2c1a9
Closes #1666 : Allow modifying the owner of a rack reservation
2017-10-31 13:52:35 -04:00
Jeremy Stretch
35c2c8e8de
#1444 : Added a serial number field to the rack model
2017-10-09 15:01:57 -04:00
Jeremy Stretch
a6599874db
#1493 : Extended DeviceRole to include a toggle indicating applicability to virtual machines
2017-09-29 12:11:20 -04:00
Jeremy Stretch
a3a77a0bb6
Fixes #1540 : Added missing 'cluster' field to WritableDeviceSerializer
2017-09-26 15:45:14 -04:00
Jeremy Stretch
a02055e9b5
Reworked relationship between devices and clusters
2017-08-16 17:21:34 -04:00
Jeremy Stretch
c394985b1b
Fixes #1421 : Improved model validation logic for API serializers
2017-08-15 13:54:04 -04:00
Jeremy Stretch
1770c85689
Fixes #1371 : Extend DeviceSerializer.parent_device to include standard fields
2017-07-25 10:56:23 -04:00
Jeremy Stretch
f6a8d32880
Initial work on NAPALM integration
2017-07-14 14:42:56 -04:00
Jeremy Stretch
8a87d60f29
Closes #1269 : Added circuit termination to interface serializer
2017-07-10 12:07:47 -04:00
Jeremy Stretch
530789b733
#1269 : Reworked interface connection serialization
2017-07-10 11:52:36 -04:00
Jeremy Stretch
1f9806a480
Fixes #1285 : Enforce model validation when creating/editing objects via the API
2017-07-06 17:37:24 -04:00
Jeremy Stretch
5940feb64b
Closes #1121 : Added asset_tag and description fields to inventory items
2017-06-23 17:05:37 -04:00
Jeremy Stretch
229e6809d8
Closes #1041 : Added enabled and MTU fields to the interface model
2017-06-23 14:04:15 -04:00
Jeremy Stretch
f21c6bca00
Import unicode_literals
2017-05-24 11:33:11 -04:00
Jeremy Stretch
eece8a0e26
Fixes #1207 : Include nested LAG serializer when showing interface connections (API)
2017-05-19 12:59:27 -04:00
Jeremy Stretch
7768b94279
Fixes #1188 : Serialize interface LAG as nested objected (API)
2017-05-17 14:32:39 -04:00
Jeremy Stretch
ca1725b98c
Fixes #1178 : Fix API representation of connected interface's form factor
2017-05-15 11:03:11 -04:00
Jeremy Stretch
c174c0cc6d
Converted all necessary serializers to CustomFieldModelSerializers
2017-04-27 12:50:43 -04:00
Jeremy Stretch
10823e1c37
Got rudimentary custom field creates/updates working
2017-04-25 13:00:28 -04:00
Jeremy Stretch
d4ac6dbfe4
Fixes #1043 : Corrected queryset in WritableDeviceSerializer validation
2017-04-05 13:38:23 -04:00
Jeremy Stretch
22768ff6c6
Renamed Module to InventoryItem (prep for #824 )
2017-03-21 12:54:08 -04:00
Jeremy Stretch
1f78462f58
Updated RackViewSet() to be compatible with paginated API
2017-03-20 10:38:09 -04:00
Jeremy Stretch
c08fae8bce
Restore not-so-extraneous 'id' field to all WritableSerializers
2017-03-17 17:32:43 -04:00
Jeremy Stretch
e544f1fa1e
Removed extraneous 'id' field from all WritableSerializers
2017-03-17 16:20:34 -04:00
Jeremy Stretch
79a9ac3bc8
Assign RackReservation user from request context
2017-03-17 14:45:14 -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
a6ceaf8d96
Moved custom field serializers to their own module to avoid circular dependency
2017-03-08 16:18:41 -05:00
Jeremy Stretch
90fe556e5f
Corrected region serializers
2017-02-28 16:23:39 -05: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
21281789e0
Tweaked ChoiceFieldSerializer to display a field as (value, label)
2017-02-16 14:37:21 -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
0e04d20762
Re-implemented CustomFieldSerializer (read-only for now)
2017-02-09 16:55:54 -05:00
Jeremy Stretch
7040086201
Introduced ChoiceFieldSerializer for choice fields
2017-02-09 15:50:25 -05:00
Jeremy Stretch
6f3c3b6d61
Added API endpoints for device type components
2017-02-03 17:18:47 -05:00
Jeremy Stretch
77e5450746
Removed all device-specific API endpoints
2017-02-01 14:34:19 -05:00
Jeremy Stretch
bb1f97abc2
Implemented static writable ModelSerializers for all models
2017-01-31 15:35:09 -05:00
Jeremy Stretch
e1cd846c9a
Enabled creation of device components
2017-01-31 12:19:41 -05:00
Jeremy Stretch
1fcc2b0029
Namespaced all API URLs
2017-01-31 10:40:53 -05:00
Jeremy Stretch
f0fef94a4f
Re-implemented interface/connection serializers
2017-01-30 15:35:01 -05:00
Jeremy Stretch
fa900d5dbb
Converted nested serializers to HyperlinkedModelSerializer
2017-01-27 12:22:29 -05:00
Jeremy Stretch
ddc2c8d110
Cleaned up device component nested serializers
2017-01-26 22:37:17 -05:00
Jeremy Stretch
bbc633b004
Closes #782 : Allow filtering devices list by manufacturer
2017-01-24 10:53:59 -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
e647065e63
Improved device interface list performance
2016-12-27 13:21:19 -05:00