Arthur Hanson
db40119faa
13130 dont allow reassigning ipaddress assigned object if primary ip ( #13893 )
...
* 13130 dont allow reassigning ipaddress assigned object if primary ip
* 13130 add tests fix parent check
* Misc cleanup
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-09-26 15:16:02 -04:00
Abhimanyu Saharan
0bb86f1e7d
Replaces device_role with role on device model ( #13342 )
...
* replaces device_role with role on device model #6391
* fixes lint issue #6391
* revert the database user
* revert test_runner comment
* changes as per review
* Update references to device_role column in UserConfigs
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-08-02 09:55:52 -04:00
jeremystretch
08017c51f6
Merge branch 'develop' into feature
2023-04-07 13:00:00 -04:00
Jeremy Stretch
2bf9acfb19
Closes #12193 : Clean up tests ( #12197 )
...
* Fix skipped API tests
* Remove invalid tests
* Correct logger name
2023-04-06 16:35:27 -04:00
Jeremy Stretch
7994073687
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
Arthur
3eeb31d577
9892 doh - fix tests
2022-09-26 11:49:51 -07:00
Arthur
e11d594122
9892 add supporting tests, form fields
2022-09-26 11:39:43 -07:00
jeremystretch
de17a651e6
Closes #10043 : Add support for 'limit' query parameter to available VLANs API endpoint
2022-08-30 15:16:34 -04:00
jeremystretch
bfbf97aec9
Closes #10031 : Enforce 'application/json' content type for REST API requests
2022-08-24 15:49:36 -04:00
jeremystretch
2baf06e012
Add unique slugs to L2VPNs in relevant tests
2022-08-24 14:46:42 -04:00
jeremystretch
53372a7471
#8157 : General cleanup & fix tests
2022-07-11 21:51:39 -04:00
Daniel Sheppard
3be9f6c4f3
#8157 - Final work on L2VPN model
2022-06-29 16:01:20 -05:00
Daniel Sheppard
03f1584d3a
L2VPN Clean Tree
2022-06-27 23:24:50 -05:00
jeremystretch
97e7ef9a3f
Introduce ServiceTemplate
2022-01-12 16:42:28 -05:00
jeremystretch
083fda3172
#2658 : Fix test permissions
2021-12-23 10:46:57 -05:00
jeremystretch
e0cfd5e49b
Closes #2658 : Avalable VLANs API endpoint for VLAN groups
2021-12-23 10:14:28 -05:00
jeremystretch
326a6be91c
#7519 : Update REST API tests
2021-12-10 15:45:22 -05:00
jeremystretch
d850b3ac7e
Fix available prefix creation test
2021-12-10 13:58:11 -05:00
jeremystretch
3f0a98acbd
Add nested FHRPGroupAssignment serializer; add missing API tests
2021-11-04 11:15:34 -04:00
Daniel Sheppard
db2d71ed9e
Merge branch 'feature' into 6732-asn-model
2021-11-03 08:37:11 -05:00
jeremystretch
bb4f3e1789
Initial work on #6235
2021-11-01 16:56:30 -04:00
Daniel Sheppard
3c261b05d9
#6732 - Fix ASN tests
2021-10-28 11:49:21 -05:00
Daniel Sheppard
93de6c9f88
#6732 - Tests
2021-10-27 23:06:37 -05:00
Daniel Sheppard
a01068949c
Initial work on #6732
2021-10-24 23:42:47 -05:00
jeremystretch
42b961229f
Fixes #6894 : Fix available IP generation for prefix assigned to a VRF
2021-08-05 13:23:14 -04:00
jeremystretch
0fe1a426c0
Add available IPs REST API endpoint for IP ranges
2021-07-19 09:32:04 -04:00
jeremystretch
747c065213
Move available IP/prefix endpoints to API view mixins
2021-07-16 14:48:42 -04:00
jeremystretch
11a14927c9
Initial work on IP ranges
2021-07-16 13:35:52 -04:00
jeremystretch
2d44bade4b
Merge branch 'develop' into feature
2021-06-02 20:35:38 -04:00
jeremystretch
b2b3f388b1
Correct Prefix REST API test case
2021-05-28 11:15:45 -04:00
jeremystretch
5856275347
Closes #5991 : Remove display_name attribute from serializers
2021-05-04 15:56:36 -04:00
Jeremy Stretch
fb48c1f6dd
Add 'display' field to all REST API serializers
2021-03-16 10:06:25 -04:00
Jeremy Stretch
47fd9cab1c
Add tests for route targets; extend VRF tests
2020-09-24 13:51:17 -04:00
Jeremy Stretch
38ed612cb9
Add test for API bulk updates
2020-09-22 13:50:55 -04:00
Jeremy Stretch
f97d8963f2
Initial work on #2179 : Allow a service to have multiple ports
2020-09-21 13:21:41 -04:00
Jeremy Stretch
bc61393256
Merge branch 'develop' into develop-2.9
2020-08-13 10:06:03 -04:00
Jeremy Stretch
acd5f21866
Fixes #4992 : Add display_name to nested VRF serializer
2020-08-13 09:56:03 -04:00
Jeremy Stretch
cb36f9fdb3
Remove restriction enforcement from RestrictedQuerySet
2020-07-23 12:48:03 -04:00
Jeremy Stretch
85b284be54
Fix permissions evaluation for available IPs endpoint
2020-07-08 09:31:10 -04:00
Jeremy Stretch
10e6b6ca66
Fix RestrictedQuerySet evaluation in tests
2020-06-29 11:27:23 -04:00
Jeremy Stretch
1f727f565f
Adopted fix from #4743 and updated API tests
2020-06-10 16:11:28 -04:00
Jeremy Stretch
a8145fe4c2
Add permission assignment to custom test methods
2020-06-08 13:40:46 -04:00
Jeremy Stretch
4f830c9c22
Fix list_brief tests
2020-06-05 16:09:55 -04:00
Jeremy Stretch
b5ebfd0b07
Standardize IPAM API tests
2020-06-05 14:09:54 -04:00
Jeremy Stretch
e0f819691f
Fixes #4496 : Fix exception when validating certain models via REST API
2020-04-15 09:37:30 -04:00
John Anderson
901143b72a
Merge branch 'develop' into develop-2.8
2020-03-16 12:17:00 -04:00
kobayashi
7ef9a6c0a7
Fixes #2769 : improve prefix_length validations
2020-03-16 03:20:15 -04:00
Jeremy Stretch
a53f854187
Remove tests for API _choices endpoints
2020-03-12 10:48:53 -04:00
Jeremy Stretch
03087e9d01
Fixes #4049 : Restore missing tags field in IPAM service serializer
2020-01-29 16:22:06 -05:00
Jeremy Stretch
302f87e108
Fixes #3937 : Suppress warning messages in tests for requests expected to yield a 4XX response
2020-01-17 14:53:33 -05:00