jeremystretch
946e5328fd
Fixes #10809 : Permit nullifying site time_zone via REST API
2022-11-01 16:45:32 -04:00
jeremystretch
e09958486d
Closes #9832 : Add mounting_depth field to rack model
2022-10-27 10:50:54 -04:00
Arthur Hanson
57cbd5243d
9654 device weight ( #10448 )
...
* 9654 add weight fields to devices
* 9654 changes from code review
* 9654 change _abs_weight to grams
* Resolve migrations conflict
* 9654 code-review changes
* 9654 total weight on devices
* Misc cleanup
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-09-30 16:31:04 -04:00
Zachary Clark
de6fa963c1
Fixes #10305 : Allows null master in VirtualChassis APIs
2022-09-13 19:54:39 -04:00
Andreas Nieß
1586701c9e
Add _occupied as BooleanField for nested serializers
2022-08-29 08:03:28 +02:00
Andreas Nieß
022fbd7b75
Fixes #9895 : Change DictField serializers to JSONField
2022-08-29 08:02:38 +02:00
jeremystretch
e8024c8942
Fixes #10147 : Permit the creation of 0U device types via REST API
2022-08-25 08:37:43 -04:00
jeremystretch
3593fcaa75
Closes #9896 : Discontinue arbitrary use of OrderedDict
2022-08-01 16:51:44 -04:00
jeremystretch
7038fa0545
Fixes #9789 : Fix rendering of cable traces ending at provider networks
2022-08-01 13:29:39 -04:00
jeremystretch
6f0cd5ee2a
Closes #9793 : Add PoE attributes to interface templates
2022-07-28 15:20:25 -04:00
jeremystretch
46909071ba
Merge branch 'develop' into feature
2022-07-20 12:20:33 -04:00
jeremystretch
ccbdc6f2b9
Define NESTED_SERIALIZER_PREFIX constant
2022-07-15 15:31:42 -04:00
jeremystretch
a6e3eaa772
Clean up core API imports
2022-07-13 16:18:55 -04:00
jeremystretch
148b7cdbc8
#9102 : Enable creating terminations in conjunction with cables via REST API
2022-07-13 15:35:37 -04:00
jeremystretch
588231b7b4
Fix CablePath serialization for pass-through port paths
2022-07-08 13:55:13 -04:00
jeremystretch
bb9375cc94
Fix support for tracing across bridge relationships
2022-07-07 14:35:02 -04:00
jeremystretch
0c5cb3069e
Cleanup for #9102
2022-07-07 12:48:44 -04:00
jeremystretch
5b63fbcdf5
Rename LinkTermination to CabledObjectModel
2022-07-06 15:56:10 -04:00
jeremystretch
98c8082871
Merge branch 'feature' into 9102-cabling
2022-07-06 14:09:25 -04:00
jeremystretch
5887ec751d
#8157 : Clean up L2VPN assignment for VM interfaces
2022-07-06 13:31:31 -04:00
Jeremy Stretch
68117a3246
Merge pull request #9631 from netbox-community/8157-l2vpn
...
Closes : #8157 - Add L2VPN support
2022-07-06 13:14:21 -04:00
Daniel Sheppard
4a654fc5b8
#8157 - Final work on L2VPN model
2022-06-29 16:01:20 -05:00
jeremystretch
e744f1ff12
Merge branch 'develop' into feature
2022-06-28 16:55:49 -04:00
jeremystretch
012a094e2c
Add SVG rendering to cable path tests
2022-06-27 15:53:34 -04:00
jeremystretch
d8ce0030e4
Merge branch 'feature' into 9102-cabling
2022-06-27 12:12:34 -04:00
jeremystretch
4702ca6e7a
Closes #4434 : Enable highlighting devices within rack elevations
2022-06-24 11:04:38 -04:00
Hunter Johnston
3ba40bc2be
Closes #9396 : Query modules by module bay & display installed_modules for module_bay REST API endpoint ( #9574 )
...
* Closes #9396 - Added ability to query modules by module bay & installed_modules for module bay REST API endpoint
* Closes #9396 - Added ability to query modules by module bay & installed_modules for module bay REST API endpoint
* Closes #9396 - Added ability to query modules by module bay & installed_modules for module bay REST API endpoint
2022-06-23 13:28:36 -04:00
jeremystretch
568f801846
Closes #7744 : Add status field to Location
2022-06-22 13:33:19 -04:00
jeremystretch
5691240267
Closes #1099 : Add PoE mode & type for interfaces
2022-06-21 21:22:24 -04:00
jeremystretch
e9f0b021d5
Closes #4350 : Illustrate reservations vertically alongside rack elevations
2022-06-21 16:30:27 -04:00
jeremystretch
8a2d363b65
Merge branch 'feature' into 9102-cabling
2022-06-20 15:04:55 -04:00
jeremystretch
365523a5d0
Initial work on half-height RUs
2022-06-20 12:05:06 -04:00
kkthxbye-code
423d5e57ed
Implement a custom paginator for DeviceViewSet
...
Running count on the annotated query for loading config_context is slow. The custom paginator removes the annotation before getting the count.
2022-06-13 20:45:08 +02:00
jeremystretch
67d537f036
Remove link peer fields from cable termination models
2022-06-01 16:48:56 -04:00
jeremystretch
b2cf63dc90
Add REST API endpoint for CableTermination
2022-05-16 16:21:15 -04:00
jeremystretch
0168488977
Update Cable API serializer
2022-05-16 15:33:57 -04:00
jeremystretch
485066ddc7
Tests cleanup
2022-05-13 16:29:19 -04:00
jeremystretch
ca50660890
Add origins, destinations properties on CablePath
2022-05-13 15:05:38 -04:00
jeremystretch
536edca5c3
Update connected_endpoint serializer field to support multiple objects
2022-05-13 11:04:38 -04:00
jeremystretch
15bf7d3012
Update Cable instantiations to match new signature
2022-05-13 09:33:00 -04:00
jeremystretch
19480d3d93
Migrate CablePath to use two-dimensional array
2022-05-12 16:08:44 -04:00
jeremystretch
bfa895b2b8
Update cable connection forms
2022-05-12 16:08:44 -04:00
jeremystretch
e88403f8a4
Extend Cable model to support multiple A/B terminations
2022-05-12 16:08:44 -04:00
jeremystretch
e421c352d6
Fixes #9330 : Add missing module_type field to REST API serializers for modular device component templates
2022-05-11 08:57:19 -04:00
jeremystretch
7ca4b857be
Closes #8496 : Enable assigning multiple ASNs to a provider
2022-03-30 17:17:36 -04:00
jeremystretch
d2f388954d
Merge branch 'develop' into feature
2022-03-22 12:57:23 -04:00
jeremystretch
f6d4d54d06
Fixes #8932 : Fix error when setting null value for interface rf_role via REST API
2022-03-22 09:37:57 -04:00
jeremystretch
fdc44c65ee
Merge branch 'develop' into feature
2022-03-18 13:17:11 -04:00
jeremystretch
54a98c5062
Fixes #8850 : Show airflow field on device REST API serializer when config context data is included
2022-03-14 09:54:11 -04:00
jeremystretch
46fb20c2d0
Rename OrderedDefaultRouter to NetBoxRouter & document for plugins
2022-03-11 15:59:03 -05:00
jeremystretch
d9993c5b76
Move CustomFieldModelViewSet functionality into NetBoxModelViewSet
2022-03-09 11:44:55 -05:00
jeremystretch
b0621f7fca
Refactor API views
2022-03-09 11:27:42 -05:00
jeremystretch
c813f56a27
Refactor API serializers
2022-03-09 10:59:22 -05:00
jeremystretch
510a5fbb69
Merge v3.1.7
2022-02-03 12:55:34 -05:00
jeremystretch
d0d6ae5d61
Fixes #8465 : Accept empty string values for Interface rf_channel in REST API
2022-01-28 14:03:36 -05:00
Daniel Sheppard
617842b0fe
Merge branch 'feature' of https://github.com/netbox-community/netbox into 7853-speed_duplex
2022-01-20 13:12:04 -06:00
jeremystretch
cd4b695f9d
Merge v3.1.6
2022-01-17 11:12:54 -05:00
Jason Yates
1eaf7912a8
Fixes #8342
...
created & last_updated fields are missing from some REST API calls. Added missing fields to the following API calls
/api/dcim/virtual-chassis/
/api/dcim/cables/
/api/dcim/power-panels/
/api/dcim/rack-reservations/
/api/circuits/circuit-terminations/
/api/extras/webhooks/
/api/extras/custom-fields/
/api/extras/custom-links/
/api/extras/export-templates/
/api/extras/tags/
2022-01-13 19:13:28 -08:00
Daniel Sheppard
1f45732dca
#7853 - Initial work on Speed/Duplex.
...
TODO: Documentation, Tests, Form order
2022-01-08 12:25:30 -06:00
jeremystretch
5f8f593eec
Closes #7852 : Enable assigning interfaces to VRFs
2022-01-07 14:57:43 -05:00
jeremystretch
d50b564257
Initial work on #8118
2021-12-29 15:37:01 -05:00
jeremystretch
0a6ec9a2e3
Initial work on #7846
2021-12-27 14:01:25 -05:00
jeremystretch
41afae5b0a
#8037 : Add role field to InventoryItem
2021-12-27 10:45:33 -05:00
jeremystretch
08fd357d27
#3087 : Add InvetoryItemRole
2021-12-27 10:18:39 -05:00
jeremystretch
64dff2dd7d
Merge branch 'develop' into feature
2021-12-23 08:32:40 -05:00
jeremystretch
f9c099efe1
Changelog & cleanup for #7246 , #8097
2021-12-21 11:53:31 -05:00
rizlas
ddd1584a4e
Update netbox/dcim/api/views.py
...
Test without decode_dict function
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2021-12-21 17:15:54 +01:00
jeremystretch
80fd3a48da
Add position field for module bays
2021-12-20 09:51:55 -05:00
jeremystretch
0c6ff335d8
Add modules to device component serializers
2021-12-17 20:31:15 -05:00
jeremystretch
58fa729de1
Add Module model
2021-12-17 16:12:03 -05:00
jeremystretch
847b4a4dfd
Add Module model
2021-12-17 12:18:37 -05:00
jeremystretch
5b4b067eea
Add ModuleBay and ModuleBayTemplate models
2021-12-17 09:35:57 -05:00
rizlas
97f17b7495
Get_Environment from napalm should not need any decoding
2021-12-14 10:17:00 +01:00
jeremystretch
6ad3e50626
Closes #7743 : Remove legacy ASN field from site model
2021-12-09 17:01:27 -05:00
jeremystretch
9d50f68496
Closes #7748 : Remove legacy contact fields from site model
2021-12-09 16:23:39 -05:00
jeremystretch
3175c6033e
Merge branch 'develop' into feature
2021-11-18 11:06:54 -05:00
jeremystretch
4800607b8f
Fixes #7865 : REST API should support null values for console port speeds
2021-11-18 09:34:41 -05:00
jeremystretch
6e43e4d68f
Fixes #7864 : power_port can be null when creating power outlets
2021-11-18 09:27:45 -05:00
Rhys Barrie
ee2e350725
netbox-community/netbox#7424 : Add virtual_chassis field to device component filter form
2021-11-13 21:33:52 -05:00
jeremystretch
bad9f5bb57
Add nested FHRPGroupAssignment serializer; add missing API tests
2021-11-04 11:15:34 -04:00
jeremystretch
fa10c1dc69
Add count_fhrp_groups to interface serializers
2021-11-04 09:58:33 -04:00
jeremystretch
3061b6f083
Add wireless_lans to InterfaceSerializer; extend tests
2021-11-03 15:55:16 -04:00
jeremystretch
286e3cae53
Optimize interface REST API endpoints
2021-11-03 15:38:17 -04:00
jeremystretch
97b2c082c4
#6732 : Add asns relationship to SiteSerializer and extend tests
2021-11-03 15:24:15 -04:00
Daniel Sheppard
dac86e6aec
Merge branch 'feature' of https://github.com/netbox-community/netbox into 6732-asn-model
2021-10-28 11:55:20 -05:00
jeremystretch
7cb44d60da
Closes #7606 : Model transmit power for interfaces
2021-10-28 09:31:45 -04:00
Daniel Sheppard
d2bd335a73
#6732 - Serializers
2021-10-27 23:07:04 -05:00
Daniel Sheppard
0a76078d4b
#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
e3520f909d
Optimize config queries
2021-10-26 13:41:56 -04:00
jeremystretch
9851bc661c
Add NAPALM config parameters
2021-10-26 11:53:46 -04:00
jeremystretch
edc69c75bf
Introduce ConfigItem; add rack elevation parameters
2021-10-26 10:04:56 -04:00
jeremystretch
d741af0997
Cleanup & API changelog for #3979
2021-10-25 11:07:15 -04:00
Daniel Sheppard
a66c6dc27c
Initial work on #6732
2021-10-24 23:42:47 -05:00
jeremystretch
2de9099bb6
Add bridge field to Interface, VMInterface models
2021-10-21 16:30:18 -04:00
jeremystretch
325ca76a86
Merge branch 'feature' into 3979-wireless
2021-10-21 13:19:52 -04:00
jeremystretch
bfc52b15bb
Add tags to organizational & nested group models
2021-10-21 10:51:02 -04:00
jeremystretch
a3cc2bc3c7
Closes #7354 : Relax uniqueness constraints on region, site group, and location names
2021-10-19 13:46:35 -04:00
jeremystretch
662007950b
Clean up UniqueTogetherValidator workarounds
2021-10-19 13:32:43 -04:00
jeremystretch
3410fe123e
Closes #6715 : Add tenant assignment for cables
2021-10-19 12:33:17 -04:00
jeremystretch
b0047e2c98
Store channel frequency & width as independent values
2021-10-15 11:39:53 -04:00