Commit Graph

93 Commits

Author SHA1 Message Date
Daniel Sheppard
1413e2f77d Closes: #9047 - Add Provider Accounts (#12057)
* #9047 - ProviderAccount

* #9047 - Move to new selector types

* #9047 - Re-introduce provider FK to Circuit model

* #9047 - Fix broken tests

* Misc cleanup

* Revert errant change

* Fix tests

* Update circuit filter form

---------

Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-03-29 08:27:11 -04:00
jeremystretch
0cb898fe7d Closes #815: Enable specifying terminations when bulk importing circuits 2022-11-18 15:22:24 -05:00
Arthur Hanson
8fd293bc1c 7961 CSV bulk update (#10715)
* 7961 add csv bulk update

* temp checkin - blocked

* 7961 bugfix and cleanup

* 7961 change to id, add docs

* 7961 add tests cases

* 7961 fix does not exist validation error

* 7961 fix does not exist validation error

* 7961 update tests

* 7961 update tests

* 7961 update tests

* 7961 update tests

* 7961 update tests

* 7961 update tests

* 7961 update tests

* 7961 update tests

* 7961 update tests

* 7961 make test cases more explicit

* 7961 make test cases more explicit

* 7961 make test cases more explicit

* 7961 make test cases more explicit

* 7961 make test cases more explicit

* 7961 make test cases more explicit

* 7961 make test cases more explicit

* 7961 optimize loading csv test data

* 7961 update tests remove redundant code

* 7961 avoid MPTT issue in test cases
2022-10-27 13:10:18 -04:00
Arthur Hanson
90f8b44f72 #9045 #9046 - remove legacy fields from Provider (#10377)
* #9045 - remove legacy fields from Provider

* Add safegaurd for legacy data to migration

* 9045 remove fields from forms and tables

* Update unrelated tests to use ASN model instead of Provider

* Fix migrations collision

Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-09-28 15:22:19 -04:00
jeremystretch
6ba4d9c306 Add relevant tests for all device components 2022-09-12 17:03:33 -04:00
jeremystretch
65172903da Rename is_occupied to occupied 2022-09-12 16:42:04 -04:00
Arthur
71ae6ca6a7 #8580 add tests 2022-09-12 10:52:40 -07:00
jeremystretch
d8ce0030e4 Merge branch 'feature' into 9102-cabling 2022-06-27 12:12:34 -04:00
jeremystretch
f67aa2677c Closes #7120: Add termination_date field to Circuit 2022-06-22 15:09:50 -04:00
jeremystretch
15bf7d3012 Update Cable instantiations to match new signature 2022-05-13 09:33:00 -04:00
jeremystretch
7ca4b857be Closes #8496: Enable assigning multiple ASNs to a provider 2022-03-30 17:17:36 -04:00
jeremystretch
2b8428dfc8 Fixes #8792: Fix creation of circuit terminations via UI 2022-03-03 16:42:48 -05:00
Djothi Carpentier
98d422dece Add description filter for ProviderNetwork, CircuitType, Circuit & CircuitTermination 2022-02-25 18:15:22 +01:00
jeremystretch
bfc52b15bb Add tags to organizational & nested group models 2021-10-21 10:51:02 -04:00
jeremystretch
5f92938194 Fixes #7455: Fix site/provider network validation for circuit termination API serializer 2021-10-06 09:11:42 -04:00
jeremystretch
48f1d2e2a1 Fixes #7304: Require explicit values for all required choice fields during CSV import 2021-09-28 12:04:54 -04:00
jeremystretch
bb10613a89 Closes #6320: Introduce ChangeLoggedFilterSetTests 2021-05-03 15:25:16 -04:00
jeremystretch
3506fdc456 Introduce BaseFilterSetTests to standardize testing of PK filters 2021-05-03 14:36:44 -04:00
jeremystretch
0104da8369 Rename FilterSet test modules 2021-05-03 13:07:19 -04:00
jeremystretch
431cb2a0ad Rename FilterSet modules 2021-04-29 16:48:24 -04:00
jeremystretch
c7268c542e Reorganize base TestCase classes 2021-04-14 14:22:58 -04:00
jeremystretch
2b6d23e5b1 Fix permissions for cable trace view tests 2021-04-12 16:25:52 -04:00
jeremystretch
fd4e6cfffb Add view tests for CircuitTermination 2021-04-12 16:07:52 -04:00
Jeremy Stretch
66a805bea8 Closes #6071: Cable traces now traverse circuits 2021-04-01 14:31:10 -04:00
Jeremy Stretch
ee7396481a Rename Cloud to ProviderNetwork 2021-04-01 10:21:41 -04:00
Jeremy Stretch
e5845a313c Add circuit cloud filters & tests 2021-03-18 14:32:28 -04:00
Jeremy Stretch
2c42176154 Introduce the Cloud model 2021-03-18 11:20:09 -04:00
Jeremy Stretch
fdaa4a6eb8 Add 'display' field to all REST API serializers 2021-03-16 10:06:25 -04:00
Jeremy Stretch
c60149a72a Closes #5972: Bulk edit support for organizational models (#5974)
* Enable bulk editing of organizational models

* Enable bulk editing of nested group models

* Changelog for #5972
2021-03-12 16:14:42 -05:00
Jeremy Stretch
a4944f2b97 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
9581d72f9d Closes #3648: Mark cable termination models as connected without attaching a cable 2021-03-01 21:34:42 -05:00
Jeremy Stretch
3b2328053f Add missing bulk update test data 2020-11-02 16:56:04 -05:00
Jeremy Stretch
cd032585a3 Closes #5225: CircuitTermination port_speed is now optional 2020-10-09 14:06:24 -04:00
Jeremy Stretch
2bcccc2253 Standardize 'cabled' and 'connected' filters; complete tests 2020-10-06 17:28:25 -04:00
Jeremy Stretch
2ed8f86e1a Add test_is_connected to CircuitTerminationTestCase 2020-10-06 15:59:21 -04:00
Jeremy Stretch
c4271ce131 Add test for API bulk updates 2020-09-22 13:50:55 -04:00
Jeremy Stretch
dd06bbcaf6 Closes #4349: Drop support for embedded graphs 2020-08-21 11:57:46 -04:00
Jeremy Stretch
217ed924ec Merge branch 'develop' into develop-2.9 2020-08-13 10:20:39 -04:00
Jeremy Stretch
2d32824a74 Fixes #4993: Add cable to nested CircuitTermination serializer 2020-08-13 10:19:50 -04:00
Jeremy Stretch
05e7af702b Remove restriction enforcement from RestrictedQuerySet 2020-07-23 12:48:03 -04:00
Jeremy Stretch
f94ebdd30e Update filter tests to use unrestricted querysets 2020-07-07 14:26:14 -04:00
Jeremy Stretch
bf15f1f46a Fix permissions evaluation for nonstandard tests 2020-07-02 11:43:03 -04:00
Jeremy Stretch
487013fd25 Call restrict() when retrieving related Graphs 2020-06-29 10:14:43 -04:00
Jeremy Stretch
18513b0b1f Fix up tests 2020-06-18 10:32:22 -04:00
Jeremy Stretch
c8a25fb2cd Update tests for tag changes 2020-06-12 11:33:23 -04:00
Jeremy Stretch
fd7987d703 Add permission assignment to custom test methods 2020-06-08 13:40:46 -04:00
Jeremy Stretch
f03ac636fd Fix ProviderTest 2020-06-05 15:18:18 -04:00
Jeremy Stretch
b503d2920f Optimize test_get_provider_graphs() 2020-06-05 09:36:38 -04:00
Jeremy Stretch
02f3dc4cdd Update circuits API tests to use APIViewTestCases 2020-06-04 16:47:15 -04:00
Jeremy Stretch
7db26698d6 Ensure all model FilterSets support the 'id' field 2020-05-06 12:33:52 -04:00