jeremystretch
ea39c8a4c1
Optimize interface REST API endpoints
2021-11-03 15:38:17 -04:00
jeremystretch
7a55832a22
#6732 : Add asns relationship to SiteSerializer and extend tests
2021-11-03 15:24:15 -04:00
Daniel Sheppard
033db83068
Merge branch 'feature' of https://github.com/netbox-community/netbox into 6732-asn-model
2021-10-28 11:55:20 -05:00
jeremystretch
a173083e5b
Closes #7606 : Model transmit power for interfaces
2021-10-28 09:31:45 -04:00
Daniel Sheppard
9b5f45aee1
#6732 - Serializers
2021-10-27 23:07:04 -05:00
Daniel Sheppard
8235b339ee
#6732 - Revert some changes to legacy ASN field on site model
...
* Re-instates ASN field on Site model
* Re-instates ASN field on Site view
* Re-instates ASN field on edit form and API, except for where forms instances are new (add site) or instance does not have any existing AS data
* Does not re-instate asn field on SiteBulkEditForm
* Does not re-instate ASN field on SiteTable
* Does not re-instate filter for filterset, but does allow filtering by query (q=34342)
* Does not include tests for ASN field on Site model due to planned deprecation
2021-10-27 22:25:31 -05:00
jeremystretch
fbf91dda7d
Optimize config queries
2021-10-26 13:41:56 -04:00
jeremystretch
41ff1d0fc9
Add NAPALM config parameters
2021-10-26 11:53:46 -04:00
jeremystretch
7c0f32e8ee
Introduce ConfigItem; add rack elevation parameters
2021-10-26 10:04:56 -04:00
jeremystretch
68081fb9a2
Cleanup & API changelog for #3979
2021-10-25 11:07:15 -04:00
Daniel Sheppard
a01068949c
Initial work on #6732
2021-10-24 23:42:47 -05:00
jeremystretch
e1e2c76ae1
Add bridge field to Interface, VMInterface models
2021-10-21 16:30:18 -04:00
jeremystretch
3a3ed8bf64
Merge branch 'feature' into 3979-wireless
2021-10-21 13:19:52 -04:00
jeremystretch
cfb3897047
Add tags to organizational & nested group models
2021-10-21 10:51:02 -04:00
jeremystretch
7c56b21095
Closes #7354 : Relax uniqueness constraints on region, site group, and location names
2021-10-19 13:46:35 -04:00
jeremystretch
8d0ed99bcd
Clean up UniqueTogetherValidator workarounds
2021-10-19 13:32:43 -04:00
jeremystretch
0afd3e6189
Closes #6715 : Add tenant assignment for cables
2021-10-19 12:33:17 -04:00
jeremystretch
075f4907ef
Store channel frequency & width as independent values
2021-10-15 11:39:53 -04:00
jeremystretch
b7317bfe29
Remove choices from rf_channel_width
2021-10-15 10:06:49 -04:00
jeremystretch
01d3c062f2
Move wireless field choices to wireless app
2021-10-15 10:00:03 -04:00
jeremystretch
6af5a884cd
Merge branch 'feature' into 3979-wireless
2021-10-14 16:32:24 -04:00
jeremystretch
33ea8763d5
3839: Add airflow field to Device
2021-10-14 16:15:08 -04:00
jeremystretch
2c2c2e9060
3839: Add airflow field to DeviceType
2021-10-14 15:45:36 -04:00
jeremystretch
438b4b4758
Add rf_role to Interface
2021-10-13 20:16:36 -04:00
jeremystretch
95ed07a95e
Add status field to WirelessLink
2021-10-13 14:31:30 -04:00
jeremystretch
ac2cd552b9
Rename cable_peer fields to link_peer
2021-10-13 14:04:53 -04:00
jeremystretch
1c73bd5079
Resolve test errors
2021-10-13 13:39:14 -04:00
jeremystretch
8e1535f7ec
Add RF channel fields to Interface
2021-10-12 10:46:41 -04:00
jeremystretch
5a6190e321
Closes #6874 : Add tenant assignment for locations
2021-10-07 15:46:21 -04:00
jeremystretch
18c3bb673f
Closes #1337 : Add WWN field to interfaces
2021-10-07 15:09:42 -04:00
jeremystretch
00328226ec
Fixes #7051 : Fix permissions evaluation and improve error handling for connected device REST API endpoint
2021-10-07 13:15:59 -04:00
thatmattlove
14d87a3584
Fixes #7041 : Properly format JSON config object returned from a NAPALM device
2021-09-01 00:03:53 -07:00
jeremystretch
803f9b6913
Merge branch 'develop' into feature
2021-07-20 17:06:18 -04:00
jeremystretch
61fe0e81cd
Fixes #6773 : Add missing display field to rack unit serializer
2021-07-20 17:00:13 -04:00
jeremystretch
443172197b
Fix SVG rendering with unspecified width
2021-07-16 17:09:52 -04:00
jeremystretch
8cf9f0d5bc
Support specification of image width when rendering cable traces as SVG
2021-07-16 17:06:27 -04:00
jeremystretch
9f615cde79
Replace CSS-based cable trace diagrams with SVG images
2021-07-14 15:29:04 -04:00
jeremystretch
ce7fa95546
Initial work on SVG support for cable tracing
2021-07-14 14:14:56 -04:00
jeremystretch
bc812e4937
Closes #5223 : Remove the console/power/interface connections REST API endpoints
2021-07-08 17:30:40 -04:00
jeremystretch
38d7b83ed0
Merge v2.11.9
2021-07-08 12:15:57 -04:00
jeremystretch
28ca815c88
Fixes #6456 : API schema type should be boolean for _occupied on cable termination models
2021-07-08 08:41:59 -04:00
jeremystretch
b3ed545d6a
Closes #3682 : Add color field to front and rear ports
2021-06-09 16:51:51 -04:00
jeremystretch
2d44bade4b
Merge branch 'develop' into feature
2021-06-02 20:35:38 -04:00
jeremystretch
1935f8b27f
Fixes #6517 : Fix assignment of user when creating rack reservations via REST API
2021-06-02 16:02:22 -04:00
jeremystretch
5856275347
Closes #5991 : Remove display_name attribute from serializers
2021-05-04 15:56:36 -04:00
jeremystretch
1024782b9e
Rename FilterSet modules
2021-04-29 16:48:24 -04:00
jeremystretch
1901e93b1e
Fixes #6258 : Fix parent assignment for SiteGroup API serializer
2021-04-23 09:37:22 -04:00
jeremystretch
0bce1da4e3
Clean up stray references to old RackGroup model
2021-04-11 13:43:06 -04:00
jeremystretch
b0573f88e6
Merge branch 'develop' into feature
2021-04-11 13:16:00 -04:00
jeremystretch
f096c4a5d0
#6081 : Tweak queryset filtering
2021-04-08 14:18:07 -04:00
jeremystretch
ae3527df16
Fixes #6081 : Fix interface connections REST API endpoint
2021-04-07 16:04:32 -04:00
jeremystretch
7b8bd2d4ce
Location model cleanup
2021-04-05 11:09:33 -04:00
Jeremy Stretch
c828806b67
Merge branch 'develop' into feature
2021-03-25 16:09:28 -04:00
Jeremy Stretch
fb48c1f6dd
Add 'display' field to all REST API serializers
2021-03-16 10:06:25 -04:00
Jeremy Stretch
fca5accba8
Clean up base serializers
2021-03-12 13:31:28 -05:00
Jeremy Stretch
cb9478e0ea
Closes #5950 : Use TimeZoneSerializerField from django-timezone-field
2021-03-10 17:08:11 -05:00
Jeremy Stretch
79b19821f6
Closes #5892 : Introduce SiteGroup model ( #5937 )
...
* Initial work on #5892
* Add site group selection to object edit forms
* Add documentation for site groups
* Changelog for #5892
* Finish application of site groups to config context
2021-03-08 13:28:53 -05:00
Jeremy Stretch
e1a86139dc
Add parent field to Interface
2021-03-05 13:49:41 -05:00
Jeremy Stretch
d750b690e7
Closes #4971 : Allow assigning devices to locations without a rack
2021-03-03 14:28:07 -05:00
Jeremy Stretch
fdb3e3f9a4
Closes #5895 : Rename RackGroup to Location
2021-03-03 13:30:33 -05:00
Jeremy Stretch
8de20fcd1f
Closes #5375 : Add 'speed' attribute to console port models
2021-03-03 10:20:08 -05:00
Jeremy Stretch
8dd7123923
Closes #3648 : Mark cable termination models as connected without attaching a cable
2021-03-01 21:34:42 -05:00
Jeremy Stretch
07e6abdac4
Closes #5901 : Add 'created' and 'last_updated' fields to device component models
2021-03-01 15:42:39 -05:00
Jeremy Stretch
d6ee4d58ba
Add custom field support for device component models
2021-03-01 13:07:25 -05:00
Jeremy Stretch
12fbd34962
Introduce NestedGroupModelSerializer
2021-02-25 17:15:42 -05:00
Jeremy Stretch
ed059d80d6
Introduce OrganizationalModelSerializer
2021-02-25 16:44:16 -05:00
Jeremy Stretch
664a39911c
Add custom field support for organizational models to API serializers
2021-02-25 15:58:13 -05:00
Jeremy Stretch
8ae3331d04
Closes #5549 : Eliminate extraneous database queries when using brief API calls
2020-12-29 11:41:44 -05:00
Jeremy Stretch
4a066a1913
Rename get_subquery() to count_related()
2020-12-17 14:47:49 -05:00
Jeremy Stretch
91083fd6c5
Call Coalesce() inside get_queryset()
2020-12-17 14:45:50 -05:00
Jeremy Stretch
202e7d0ebf
Fixes #5486 : Optimize retrieval of config context data for device/VM REST API views
2020-12-17 14:03:10 -05:00
Daniel Sheppard
3c2b2f26b9
Fixes : #5450 - Added Coalesce to viewsets for the _count functions
2020-12-15 12:50:28 -06:00
Jeremy Stretch
f5133c6737
Include nested representation of nodes within each CablePath
2020-12-02 14:30:05 -05:00
Jeremy Stretch
5a4234fcb9
Standardize validation of interface VLAN assignments
2020-12-02 14:19:02 -05:00
Jeremy Stretch
915cf3e715
Merge branch 'develop' into develop-2.10
2020-12-01 11:42:55 -05:00
Jeremy Stretch
f55e966c8f
Closes #4865 : Replace all Count() annotations with subqueries ( #5385 )
...
* Convert circuits to use subqueries
* Convert dcim to use subqueries
* Convert extras to use subqueries
* Convert ipam to use subqueries
* Convert secrets to use subqueries
* Convert virtualization to use subqueries
* Update global search view to use subqueries where appropriate
* Remove extraneous order_by() calls
2020-11-25 15:49:18 -05:00
Jeremy Stretch
c559775135
Add support for tracing split paths
2020-11-16 15:49:07 -05:00
Jeremy Stretch
0567f0d190
Merge branch 'develop' into develop-2.10
2020-11-09 20:58:59 -05:00
Jeremy Stretch
9b2dc89c6c
Closes #5327 : Be more strict when capturing anticipated ImportError exceptions
2020-11-09 16:49:05 -05:00
Jeremy Stretch
fcb5e6ae1c
Merge branch 'develop' into develop-2.10
2020-10-30 10:38:05 -04:00
John Anderson
28c17f33ab
move get_queryset() to common mixin
2020-10-30 02:56:43 -04:00
John Anderson
22d2289ed2
add support for regions and vms
2020-10-23 01:18:04 -04:00
John Anderson
3ba18633de
initial work on config context performance improvements
2020-10-20 01:07:22 -04:00
Jeremy Stretch
c0c5f52ed9
Reorganize REST API components under netbox app
2020-10-13 15:57:21 -04:00
Jeremy Stretch
75ddc63466
Handle split paths
2020-10-08 14:01:47 -04:00
Jeremy Stretch
0e41bc48b7
Add /trace API endpoints for CircuitTermination and PowerFeed
2020-10-08 13:55:29 -04:00
Jeremy Stretch
ae1ceb26b9
Standardize cable/connection field ordering
2020-10-08 11:23:24 -04:00
Jeremy Stretch
55268c90c8
Replace connection_status with connected_endpoint_reachable on InterfaceConnectionSerializer
2020-10-08 11:15:09 -04:00
Jeremy Stretch
aa0ee2720b
Add cable paths API detail view for pass-through ports
2020-10-08 10:32:17 -04:00
Jeremy Stretch
52ec35b94f
Correct serializer field lists
2020-10-06 15:27:40 -04:00
Jeremy Stretch
23cde6d1b8
Include cable_peer on CableTermination serializers
2020-10-06 14:30:46 -04:00
Jeremy Stretch
6275c8c67d
Prefetch path & destination for API views
2020-10-06 10:41:52 -04:00
Jeremy Stretch
32aa2daea6
PowerFeedSerializer should subclass ConnectedEndpointSerializer
2020-10-05 11:39:17 -04:00
Jeremy Stretch
b846f631a4
Rename connection_status to connected_endpoint_reachable
2020-10-05 11:32:39 -04:00
Jeremy Stretch
3d34f1cdcb
Rename CablePath.is_connected to is_active
2020-10-05 11:13:33 -04:00
Jeremy Stretch
df73737128
Remove legacy connection_status fields
2020-10-05 10:47:41 -04:00
Jeremy Stretch
079c42291c
Remove legacy connected endpoint fields
2020-10-05 09:56:46 -04:00
Jeremy Stretch
e9da84f91a
Replace legacy trace() method
2020-10-02 14:54:16 -04:00
Jeremy Stretch
c974c5687c
Capture path end-to-end status in CablePath
2020-10-01 16:42:57 -04:00
Jeremy Stretch
610420c020
Drop support for split paths
2020-10-01 14:24:34 -04:00
Jeremy Stretch
230e7bbe34
Closes #1846 : Enable MPTT for InventoryItem hierarchy
2020-09-18 10:18:03 -04:00
Jeremy Stretch
0030fe1779
Fixes #5146 : Add custom fields support for cables, power panels, rack reservations, and virtual chassis
2020-09-17 14:22:14 -04:00
Jeremy Stretch
ec66e1a5c0
Closes #4349 : Drop support for embedded graphs
2020-08-21 11:57:46 -04:00
Jeremy Stretch
fd139a77f5
Closes #4997 : Introduce OrderedDefaultRouter; move root API views to views.py
2020-08-13 12:49:49 -04:00
Jeremy Stretch
ed0e212ce0
Closes #4994 : Add cable attribute to PowerFeed API serializer
2020-08-13 10:30:28 -04:00
Jeremy Stretch
09015c98c4
Fixes #4903 : Fix member count when searching for virtual chassis
2020-08-07 08:54:02 -04:00
Jeremy Stretch
e6df6dc7f4
Fixes #4950 : Include inventory item label in API serializer, UI view
2020-08-05 10:11:38 -04:00
Jeremy Stretch
31e65a09e8
Closes #4940 : Added an occupied field to rack unit representations for rack elevation views
2020-08-03 13:37:32 -04:00
Jeremy Stretch
73f9d615bc
Fixes #4921 : Render non-viewable devices as unavailable space in rack elevations
2020-07-29 09:43:13 -04:00
Jeremy Stretch
cb36f9fdb3
Remove restriction enforcement from RestrictedQuerySet
2020-07-23 12:48:03 -04:00
Jeremy Stretch
1714902f88
Merge branch 'develop' into develop-2.9
2020-07-21 12:57:02 -04:00
Jeremy Stretch
0f679e1f03
Closes #4871 : Specify ordering for querysets using annotate() to count related objects
2020-07-20 12:07:19 -04:00
Josh VanDeraa
ba8b99d3b8
Moves location of the IP address / hostname check and assignment
2020-07-13 08:36:15 -05:00
Josh VanDeraa
cac48924ae
Adds verification of device.name configured
2020-07-10 16:18:58 -05:00
Josh VanDeraa
7788bf3ce3
Adds to NAPALM, name lookup if no primary IP address for device
2020-07-10 15:12:25 -05:00
Jeremy Stretch
c3a7939a77
Merge branch 'develop' into develop-2.9
2020-07-09 16:38:37 -04:00
Jeremy Stretch
15525392a2
Closes #4837 : Use dynamic form widget for relationships to MPTT objects
2020-07-09 09:50:01 -04:00
Sander Steffann
d70140f148
Fix typo in format string
2020-07-08 22:20:20 +02:00
Jeremy Stretch
924f319343
Closes #4806 : Add a url field to all API serializers
2020-07-06 16:41:08 -04:00
Jeremy Stretch
f28bde179e
Extend label field to all device components
2020-07-02 11:18:08 -04:00
Jeremy Stretch
8d7377ba04
Merge branch 'develop' into develop-2.9
2020-07-02 10:01:01 -04:00
Jeremy Stretch
7e8a4a2a77
Merge pull request #4797 from netbox-community/4695_fix_api_cable_choices_termination_types
...
Fixes #4695 - Add Metadata class that returns content type choices
2020-07-01 11:03:01 -04:00
Jeremy Stretch
52a13b1960
Closes #4793 : Add description field to device component templates
2020-06-30 15:12:53 -04:00
Jeremy Stretch
51e9b0a22a
Closes #4796 : Introduce configuration parameters for default rack elevation size
2020-06-30 09:26:32 -04:00
Jeremy Stretch
71812d1bd5
Fix evaluation of RestrictedQuerySet
2020-06-29 14:41:43 -04:00
Jeremy Stretch
a47a100cb7
Fix unrestricted evaluations of RestrictedQuerySet
2020-06-29 13:31:26 -04:00
Jeremy Stretch
0dbe248df8
Call restrict() when retrieving related Graphs
2020-06-29 10:14:43 -04:00
Daniel Sheppard
8179cfa4c1
#4695 - Rename LimitedMetaData to ContentTypeMetadata
2020-06-26 11:09:27 -05:00
Daniel Sheppard
d21881e207
#4695 - Add Metadata class that returns content type choices
2020-06-26 10:59:21 -05:00
Jeremy Stretch
59c1e34024
Initial work on #2018 : Add name to VirtualChassis
2020-06-24 15:21:42 -04:00
Sander Steffann
ed1717f858
Revert "Bumping version just to test the GitHub Action"
...
This reverts commit 1cf0868e
2020-06-24 13:09:11 +02:00
Sander Steffann
1cf0868e30
Bumping version just to test the GitHub Action
2020-06-24 13:07:54 +02:00
Jeremy Stretch
2d4694e72d
Merge pull request #4770 from netbox-community/3703-limit-tag-creation
...
Closes #3703 : Restrict tag creation
2020-06-17 12:28:04 -04:00
Jeremy Stretch
448dc1442c
Replace TaggitSerializer and TagListSerializerField with TaggedObjectSerializer
2020-06-17 09:57:17 -04:00
Jeremy Stretch
e917535380
Merge branch 'develop' into develop-2.9
2020-06-15 16:04:32 -04:00
Jeremy Stretch
9b48a26aef
Merge pull request #4723 from jsenecal/4615_interface_label
...
Closes : #4615 Physical labels
2020-06-11 13:03:46 -04:00
Jonathan Senecal
a37d06064a
Add label
to DeviceBay models and serializers
2020-06-11 10:19:53 -04:00
Jeremy Stretch
88ae522c9a
Closes #4742 : Add tagging for cables, power panels, and rack reservations
2020-06-10 14:55:46 -04:00
Jeremy Stretch
16cdf3006f
Fixes #4736 : Add cable trace endpoints for pass-through ports
2020-06-09 15:12:10 -04:00
Jonathan Senecal
e0037c7f70
pycodestyle
2020-06-08 23:07:53 -04:00
Jeremy Stretch
0ebd87bcb9
Merge branch 'develop' into develop-2.9
2020-06-08 10:33:23 -04:00
Jeremy Stretch
4f830c9c22
Fix list_brief tests
2020-06-05 16:09:55 -04:00
Jeremy Stretch
e616aad911
Fixes #4725 : Fix "brief" rendering of various REST API endpoints
2020-06-05 15:49:06 -04:00
Jonathan Senecal
1fae9aff0c
Add label
to *port serializers
2020-06-05 10:42:13 -04:00
Jonathan Senecal
e9f8640ee6
Add label
to Interface serializers
2020-06-04 16:50:51 -04:00
Jeremy Stretch
110bad7041
Update custom napalm_read, napalm_write permissions
2020-06-02 09:46:32 -04:00
Jeremy Stretch
29707cd496
Adapt tracing view to account for split ends (WIP)
2020-04-15 17:09:04 -04:00
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
46b896b2cf
Merge branch 'develop' into develop-2.8
2020-04-06 13:51:05 -04:00
Jeremy Stretch
721368ea8d
Closes #4147 : Use absolute URLs in rack elevation SVG renderings
2020-04-03 13:16:35 -04:00
Jeremy Stretch
a72d5c899e
Merge branch 'develop' into develop-2.8
2020-03-27 12:53:55 -04:00
Jeremy Stretch
e143158f12
Remove unused follow_circuits arg for cable tracing
2020-03-18 21:14:53 -04:00
Jeremy Stretch
cebe580484
Add a description field to all organizational models
2020-03-13 16:33:28 -04:00
Jeremy Stretch
ea9de37dd1
Remove FieldChoicesViewSet
2020-03-12 10:48:17 -04:00
Jeremy Stretch
84de0458aa
Implement nested RackGroups
2020-03-11 14:40:29 -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
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
28e3b7af18
Merge branch 'develop' into develop-2.8
2020-02-21 15:26:55 -05: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
8cb6aed8fa
Closes #3753 : Remove rack units endpoint (replaced with elevation)
2020-02-14 13:59:07 -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
a58bbccfd3
Fixes #4094 : Convert unnecessary regular expressions to strings in URL patterns
2020-02-05 16:12:48 -05:00
Jeremy Stretch
f8dad1744c
#3892 : Convert CABLE_TERMINATION_TYPES to a Q object
2020-01-15 15:51:51 -05:00
Jeremy Stretch
49f027fae7
Refactor FieldChoicesViewSet; add Interface.type to virtualization _choices endpoint
2020-01-15 09:59:44 -05:00
Jeremy Stretch
857e04e90b
Add _choices endpoint tests for all apps
2020-01-14 16:13:11 -05:00
Jeremy Stretch
0767de205e
Renamed dcim FilterSets
2020-01-09 20:30:40 -05:00
Jeremy Stretch
a2ead6af94
Merge branch 'develop' into develop-2.7
2020-01-09 15:27:06 -05:00
Jeremy Stretch
7e0073d6f5
Merge pull request #3863 from hSaria/2113-napalm-settings
...
Fixes #2113 : NAPALM driver settings
2020-01-09 11:56:32 -05:00
Saria Hajjar
9d085ad83a
Changed NAPALM-
prefix to X-NAPALM-
2020-01-09 16:48:26 +00:00
Saria Hajjar
ad565e55f1
Removed exception for empty methods
...
I'll create a seperate ticket for that
2020-01-09 16:40:13 +00:00
Saria Hajjar
46c712e735
Moved NAPALM parameter to decorator
2020-01-09 16:39:13 +00:00
Saria Hajjar
f49467bcb5
Corrected optional arg assignment
2020-01-08 16:01:18 +00:00
Saria Hajjar
dc475f4755
Fixes #2113 : Adjust NAPALM settings with headers
2020-01-08 15:53:48 +00: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
John Anderson
d8dd5f00c1
removed rack elevations viewset
2019-12-10 03:19:26 -05:00
John Anderson
1ec191db92
initial cleanup of rack elevations
2019-12-10 03:18:10 -05:00
hellerve
44b042e3fc
dcim api: fix face default value in rackviewset
2019-12-08 18:24:13 +01:00
hellerve
e5b49e25b9
dcim api: add feedback from @jeremystretch to rack elevations api
2019-12-08 18:14:59 +01:00
hellerve
b54a05d255
dcim: make linter happy
2019-12-08 17:59:40 +01:00
hellerve
5d5b7e0dd9
dcim: refactor reservations and make them resizable
2019-12-08 17:58:21 +01:00
hellerve
77890ad775
dcim: add inline stylesheet to rack elevation api view
2019-12-08 17:58:21 +01:00
hellerve
1a9b9f50d8
dcim: fix fonts & texts in svg
2019-12-08 17:58:21 +01:00
hellerve
808f5c95e3
dcim: make front and rear work (references #2248 )
2019-12-08 17:58:21 +01:00
hellerve
d11de6d021
dcim: add rack-elevations api endpoint (references #2248 )
2019-12-08 17:58:20 +01: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
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
51fb0b59ec
Closes #3485 : Enable embedded graphs for devices
2019-09-18 15:59:52 -04:00
Jeremy Stretch
84208d5429
Fixes #3511 : Correct API URL for nested device bays
2019-09-18 14:40:47 -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
cc0f0c4843
Merge v2.6.3
2019-09-04 16:45:33 -04:00
John Anderson
ade844f7a7
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
15b55f5e62
Remove deprecated form_factor accessor on Interface and InterfaceTemplate
2019-08-08 21:35:59 -04:00
Daniel Sheppard
bcc7daeac7
Fixes #3370 - Add filter class to VirtualChassis API
2019-07-24 12:22:15 -05: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
46b3512c45
Remove extraneous imports
2019-04-19 16:58:39 -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
6ab56c3978
Misc cleanup
2019-04-19 14:56:40 -04:00
Jeremy Stretch
ad4d23fa20
Replace distinct annotations with subqueries for much better performance
2019-04-12 17:18:04 -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
3b06251720
Added tests for power panels, power feeds
2019-04-11 12:29:43 -04:00
Jeremy Stretch
bfa07aec39
Fix tests
2019-04-11 11:37:44 -04:00
Jeremy Stretch
05c19af2a3
Misc cleanup
2019-04-11 10:49:43 -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
71b674d11a
Merge branch 'develop-2.6' into 54-power-modeling
2019-04-09 14:12:45 -04:00
Jeremy Stretch
4f9b666eee
Merge branch 'develop' into develop-2.6
2019-04-09 14:11:26 -04:00
Jeremy Stretch
74c03e3295
Fixes #3036 : DCIM interfaces API endpoint should not include VM interfaces
2019-04-04 15:07:41 -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
3acc8ca3ab
Fixes #3022 : Add missing cable termination types to DCIM _choices endpoint
2019-03-22 16:26:56 -04:00
Jeremy Stretch
fc76c8eb0f
FieldChoicesViewSet should infer field choices from serializer, not model
2019-03-22 16:24:53 -04:00