Commit Graph

530 Commits

Author SHA1 Message Date
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