Commit Graph

167 Commits

Author SHA1 Message Date
Jeremy Stretch
5787e9dcfd Closes: #11781: Add support for Amazon S3 remote data sources (#11986)
* Add boto3 as a dependency

* Add Amazon S3 backend for remote data sources

* Update docs to include Amazon S3 support
2023-03-15 12:11:52 -04:00
jeremystretch
696bd9b8d8 Cleanup & docs 2023-03-14 15:44:16 -04:00
jeremystretch
9388a7370c Add type_job_start & type_job_end to Webhook 2023-03-07 18:01:32 -05:00
jeremystretch
70c7959ccf Add mark_utilized to IPRange 2023-03-01 09:27:06 -05:00
jeremystretch
846ff92424 Closes #10374: Require unique tenant names & slugs per group (not globally) 2023-02-28 20:03:41 -05:00
Jeremy Stretch
2b8c41f3d6 Closes #8550: Implement ASN ranges (#11835)
* Move ASN to a separate module

* Move ASNField from dcim to ipam

* Introduce ASNRange model

* Add relationship from ASN to ASNRange

* Add an available-asns API endpoint

* Add RIR assignment for ASNRange

* Add standard tests

* Move child ASNs to a tabbed view

* Remove FK on ASN to ASNRange

* Add tests for provisioning available ASNs

* Add docs for ASNRange
2023-02-27 16:36:05 -05:00
jeremystretch
f4ab37c234 Clean up model & registry documentation 2023-02-19 20:09:52 -05:00
Jeremy Stretch
86690d83a1 Closes #11559: Implement config template rendering (#11769)
* WIP

* Add config_template field to Device

* Pre-fetch referenced templates

* Correct up_to_date callable

* Add config_template FK to Device

* Update & merge migrations

* Add config_template FK to Platform

* Add tagging support for ConfigTemplate

* Catch exceptions when rendering device templates in UI

* Refactor ConfigTemplate.render()

* Add support for returning plain text content

* Add ConfigTemplate model documentation

* Add feature documentation for config rendering
2023-02-19 20:09:52 -05:00
jeremystretch
b11e9ce39b Closes #11693: Enable remote data synchronization for export templates 2023-02-19 20:09:51 -05:00
Jeremy Stretch
164bdeee68 Closes #9073: Remote data support for config contexts (#11692)
* WIP

* Add bulk sync view for config contexts

* Introduce 'sync' permission for synced data models

* Docs & cleanup

* Remove unused method

* Add a REST API endpoint to synchronize config context data
2023-02-19 20:09:51 -05:00
Jeremy Stretch
39286ef513 Closes #11558: Add support for remote data sources (#11646)
* WIP

* WIP

* Add git sync

* Fix file hashing

* Add last_synced to DataSource

* Build out UI & API resources

* Add status field to DataSource

* Add UI control to sync data source

* Add API endpoint to sync data sources

* Fix display of DataSource job results

* DataSource password should be write-only

* General cleanup

* Add data file UI view

* Punt on HTTP, FTP support for now

* Add DataSource URL validation

* Add HTTP proxy support to git fetcher

* Add management command to sync data sources

* DataFile REST API endpoints should be read-only

* Refactor fetch methods into backend classes

* Replace auth & git branch fields with general-purpose parameters

* Fix last_synced time

* Render discrete form fields for backend parameters

* Enable dynamic edit form for DataSource

* Register DataBackend classes in application registry

* Add search indexers for DataSource, DataFile

* Add single & bulk delete views for DataFile

* Add model documentation

* Convert DataSource to a primary model

* Introduce pre_sync & post_sync signals

* Clean up migrations

* Rename url to source_url

* Clean up filtersets

* Add API & filterset tests

* Add view tests

* Add initSelect() to HTMX refresh handler

* Render DataSourceForm fieldsets dynamically

* Update compiled static resources
2023-02-19 20:09:51 -05:00
Jonathan Senecal
af396678d6 Update ipaddress.md
Missing `ipam` before `IPAddress.status`
2023-01-11 09:45:28 -05:00
jeremystretch
05319c589d Closes #11406: Correct example JSON 2023-01-05 16:38:29 -05:00
jeremystretch
6c955b5e2a Closes #10675: Add max_weight field to track maximum load capacity for racks 2022-12-09 12:45:02 -05:00
jeremystretch
9065ec80b6 Closes #10371: Add operational status field for modules 2022-12-09 10:43:29 -05:00
jeremystretch
2dd94435bd Fix typo 2022-11-16 16:38:29 -05:00
jeremystretch
a2517a7ee7 Add missing model documentation 2022-11-15 10:50:26 -05:00
Jeremy Stretch
af1398c64f Closes #10851: New staging mechanism (#10890)
* WIP

* Convert checkout() context manager to a class

* Misc cleanup

* Drop unique constraint from Change model

* Extend staging tests

* Misc cleanup

* Incorporate M2M changes

* Don't cancel wipe out creation records when an object is deleted

* Rename Change to StagedChange

* Add documentation for change staging
2022-11-14 13:55:03 -05:00
jeremystretch
8a6143efdb Changelog & documentation for #7854 2022-11-11 08:25:44 -05:00
jeremystretch
79a1c99f4e Closes #10710: Add status field to WirelessLAN 2022-11-04 13:40:39 -04:00
jeremystretch
5ef76f2b2a Closes #10820: Switch timezone library from pytz to zoneinfo 2022-11-02 15:54:41 -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
jeremystretch
ecb31214cb Changelog & cleanup for #9892 2022-09-27 09:55:35 -04:00
Arthur
055dd4ce6d 9892 add supporting tests, form fields 2022-09-26 11:39:43 -07:00
jeremystretch
cd8268ade9 Closes #10032: Remove unique constraint from L2VPN identifier 2022-08-17 10:47:42 -04:00
jeremystretch
b680b4f65f Add model documentation for JournalEntry 2022-08-16 16:06:48 -04:00
jeremystretch
d2a400c24e Update virtualization models documentation 2022-08-16 15:57:29 -04:00
jeremystretch
61b853c835 Update IPAM models documentation 2022-08-16 15:32:00 -04:00
jeremystretch
68831c3a40 Finish refreshing DCIM models documentation 2022-08-15 15:16:02 -04:00
jeremystretch
8bbfdf538b Update model docs for device components 2022-08-15 11:57:38 -04:00
jeremystretch
4957193743 Refreshed wireless model documentation 2022-08-12 16:37:47 -04:00
jeremystretch
6db2ef2a83 Refreshed tenancy model documentation 2022-08-12 16:19:34 -04:00
jeremystretch
c697e2fbe1 Refreshed extras model documentation 2022-08-12 16:00:04 -04:00
jeremystretch
bbf716ac35 Refreshed circuits model documentation 2022-08-12 15:00:45 -04:00
jeremystretch
00098ac3ff Merge branch 'feature' into docs-refresh 2022-08-12 10:19:38 -04:00
jeremystretch
23bbdeeda1 Merge branch 'develop' into feature 2022-08-12 10:18:57 -04:00
jeremystretch
e3e71a20d1 Finish customization docs 2022-08-11 16:14:06 -04:00
jeremystretch
5bff60dc30 Split webhooks documentation 2022-08-11 11:55:45 -04:00
jeremystretch
3e77e6520c Restore model documentation for all models under extras 2022-08-11 11:37:07 -04:00
jeremystretch
d07272a037 Fixes #9961: Correct typo 2022-08-10 15:24:45 -04:00
jeremystretch
8b5771a73d Continued work on feature docs 2022-08-10 14:07:51 -04:00
jeremystretch
4b987453fd Reorganize documentation 2022-08-04 14:11:52 -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
Henry
4eb15245e0 Corrected typo for description of 'snapshots' 2022-07-15 10:52:37 -04:00
jeremystretch
2e909b231d Misc cleanup 2022-07-12 16:29:26 -04:00
jeremystretch
6f95a14a0b Documentation cleanup 2022-07-11 17:29:25 -04:00
jeremystretch
58579d8bbc Merge branch 'develop' into feature 2022-07-11 12:58:24 -04:00
jeremystretch
c33a406491 Fixes #9687: Don't restrict custom text field lengths when entering via UI form 2022-07-11 11:12:06 -04:00