Jeremy Stretch
|
e13320f58d
|
Fix permissions enforcement for VirtualChassisEditView
|
2020-06-10 16:37:35 -04:00 |
|
Jeremy Stretch
|
4078d9b669
|
Remove extraneous test
|
2020-06-10 15:22:49 -04:00 |
|
Jonathan Senecal
|
3b54d6f8e5
|
No need to reference the model itself
|
2020-06-10 15:11:47 -04:00 |
|
Jeremy Stretch
|
88ae522c9a
|
Closes #4742: Add tagging for cables, power panels, and rack reservations
|
2020-06-10 14:55:46 -04:00 |
|
Jonathan Senecal
|
5cdaaed311
|
Use a single migration for labels
|
2020-06-10 14:04:55 -04:00 |
|
Jeremy Stretch
|
9abc67bbeb
|
Fixes #4737: Introduce ColoredLabelColumn for consistent display of colored labels
|
2020-06-10 11:38:23 -04:00 |
|
Jeremy Stretch
|
16cdf3006f
|
Fixes #4736: Add cable trace endpoints for pass-through ports
|
2020-06-09 15:12:10 -04:00 |
|
Jeremy Stretch
|
15004c654f
|
Add missing API cable trace test for interfaces
|
2020-06-09 14:47:05 -04:00 |
|
Jeremy Stretch
|
ed9ca270a7
|
Add missing API tests for pass-through port templates
|
2020-06-09 13:24:07 -04:00 |
|
Jonathan Senecal
|
e0037c7f70
|
pycodestyle
|
2020-06-08 23:07:53 -04:00 |
|
Jonathan Senecal
|
4301c06d17
|
Refactorization into LabeledComponentForm
|
2020-06-08 23:07:12 -04:00 |
|
Jonathan Senecal
|
90bc1cd951
|
Test forms and views with labels
|
2020-06-08 20:04:31 -04:00 |
|
Jonathan Senecal
|
892c0e3d8b
|
Leftover fix
|
2020-06-08 17:00:07 -04:00 |
|
Jeremy Stretch
|
047286f9c0
|
Add a third initial object to VirtualChassisTest
|
2020-06-08 15:27:55 -04:00 |
|
Jeremy Stretch
|
a8145fe4c2
|
Add permission assignment to custom test methods
|
2020-06-08 13:40:46 -04:00 |
|
Jeremy Stretch
|
0ebd87bcb9
|
Merge branch 'develop' into develop-2.9
|
2020-06-08 10:33:23 -04:00 |
|
Jeremy Stretch
|
4f830c9c22
|
Fix list_brief tests
|
2020-06-05 16:09:55 -04:00 |
|
Jeremy Stretch
|
032f87caec
|
Merge branch 'develop' into 4722-api-tests
|
2020-06-05 15:50:14 -04:00 |
|
Jeremy Stretch
|
e616aad911
|
Fixes #4725: Fix "brief" rendering of various REST API endpoints
|
2020-06-05 15:49:06 -04:00 |
|
Jonathan Senecal
|
286a3e6ca2
|
Add label to forms, views and templates
|
2020-06-05 13:59:59 -04:00 |
|
Jeremy Stretch
|
279ae7ea10
|
Standardize DCIM API tests
|
2020-06-05 13:23:33 -04:00 |
|
Jonathan Senecal
|
e21cbf2a06
|
Add the label to the string representation
|
2020-06-05 11:01:39 -04:00 |
|
Jonathan Senecal
|
1fae9aff0c
|
Add label to *port serializers
|
2020-06-05 10:42:13 -04:00 |
|
Jonathan Senecal
|
a06d74472d
|
Add label to *ports models
|
2020-06-05 10:32:59 -04:00 |
|
Jonathan Senecal
|
f8851121ab
|
Add the label to the string representation
|
2020-06-04 17:11:27 -04:00 |
|
Jonathan Senecal
|
e9f8640ee6
|
Add label to Interface serializers
|
2020-06-04 16:50:51 -04:00 |
|
Jonathan Senecal
|
cde1db4436
|
Add label to interface models
|
2020-06-04 16:44:25 -04:00 |
|
Sander Steffann
|
8f9dcf5a97
|
Avoid unnecessary queries in Cable.from_db
|
2020-06-04 17:46:09 +02:00 |
|
Jeremy Stretch
|
205acd2c4d
|
Update VirtualChassis views to support ObjectPermissions
|
2020-06-02 15:33:41 -04:00 |
|
Jeremy Stretch
|
e463430d51
|
Change CableCreateView to use ObjectEditView
|
2020-06-02 15:15:57 -04:00 |
|
Jeremy Stretch
|
cae412d280
|
Update ObjectImportView to support ObjectPermissions
|
2020-06-02 14:23:04 -04:00 |
|
Jeremy Stretch
|
110bad7041
|
Update custom napalm_read, napalm_write permissions
|
2020-06-02 09:46:32 -04:00 |
|
Sander Steffann
|
886b59f400
|
Update tests for cables
|
2020-06-02 13:14:51 +02:00 |
|
Sander Steffann
|
8bd9b460cb
|
Only complete path when there are not split_ends or position_stack
|
2020-06-02 13:14:38 +02:00 |
|
Sander Steffann
|
34ae57dfa3
|
Show warning when position stack is not empty after trace
|
2020-06-02 13:13:41 +02:00 |
|
Sander Steffann
|
81a322eaaf
|
Add position_stack to returned values from trace()
|
2020-06-02 13:13:10 +02:00 |
|
Sander Steffann
|
2479b8a57f
|
Validate against is_path_endpoint instead of specific classes, and only when positions > 1
|
2020-06-02 13:11:35 +02:00 |
|
Jeremy Stretch
|
2fe4656db4
|
Permit connection of a multi-position RearPort to a FrontPort
|
2020-06-02 12:03:02 +02:00 |
|
Jeremy Stretch
|
6fc7c6a7d0
|
Update path validation tests for single-position rear port scenarios
|
2020-06-02 12:03:02 +02:00 |
|
Jeremy Stretch
|
1d33d7d205
|
Call full_clean() when saving Cable instances
|
2020-06-02 12:03:02 +02:00 |
|
Sander Steffann
|
56898f7e37
|
Restore original test_connection_via_single_rear_port test and make separate test for one-on-one panels
|
2020-06-02 12:03:02 +02:00 |
|
Sander Steffann
|
3278cc8cc0
|
Recreate the model instance instead of re-saving a deleted model
Same end result, but easier to read
|
2020-06-02 12:03:02 +02:00 |
|
Sander Steffann
|
112dfb865b
|
Integrate patch panel building into one list
|
2020-06-02 12:03:02 +02:00 |
|
Sander Steffann
|
a0f4d481dc
|
make single front/rear port work when between panels
|
2020-06-02 12:03:02 +02:00 |
|
Jeremy Stretch
|
3c334a0238
|
Update views to restrict all querysets
|
2020-06-01 11:43:49 -04:00 |
|
Jeremy Stretch
|
e23b2c4c4f
|
Implement RestrictedQuerySet as a manager
|
2020-05-29 16:27:36 -04:00 |
|
Jeremy Stretch
|
486f1a74ab
|
Standardize base classes for view test cases
|
2020-05-28 12:05:54 -04:00 |
|
Jeremy Stretch
|
03da9348e5
|
Merge branch 'develop-2.9' into 554-object-permissions
|
2020-05-26 16:42:39 -04:00 |
|
Jeremy Stretch
|
28a14cf5ae
|
Merge branch 'develop' into develop-2.9
|
2020-05-26 16:39:23 -04:00 |
|
Jeremy Stretch
|
92f49b4711
|
Closes #4672: Set default color for rack and devices roles
|
2020-05-26 09:36:27 -04:00 |
|