Commit Graph

6634 Commits

Author SHA1 Message Date
Jeremy Stretch
0678b295fd Add scope warning to plugins development doc 2020-10-09 12:56:32 -04:00
Jeremy Stretch
7844d6a705 Closes #5202: Extend the available context data when rendering custom links 2020-10-09 12:36:09 -04:00
Jeremy Stretch
87abc6bc75 Fixes #5211: Add missing has_primary_ip filter for virtual machines 2020-10-09 11:46:16 -04:00
Jeremy Stretch
d952d77684 Fixes #5226: Custom choice fields should be blank initially if no default choice has been designated 2020-10-09 11:34:50 -04:00
Jeremy Stretch
c2b20c1a47 Fixes #5224: Don't allow a rear port to have fewer positions than the number of mapped front ports 2020-10-08 16:24:08 -04:00
Jeremy Stretch
6f742ef9a7 Exempt InventoryItem from queryset caching (MPTT) 2020-10-08 15:30:59 -04:00
Jeremy Stretch
ca19edc480 Merge pull request #5212 from netbox-community/4900-cable-paths
#4900: New model for cable paths
2020-10-08 15:15:40 -04:00
Jeremy Stretch
e8e9a450dd Delete obsolete LoopDetected exception 2020-10-08 15:01:55 -04:00
Jeremy Stretch
430fd8c848 Rewrite cablepath tests to create components within each test 2020-10-08 14:55:13 -04:00
Jeremy Stretch
11cd595f23 Handle split paths 2020-10-08 14:01:47 -04:00
Jeremy Stretch
a52cf93b2f Add /trace API endpoints for CircuitTermination and PowerFeed 2020-10-08 13:55:29 -04:00
Daniel Sheppard
cdf7855e9a Fixes: #5220 - Fix API patch request against IP-Address endpoint with null assigned_object_type 2020-10-08 12:50:29 -05:00
Jeremy Stretch
6c25408f2d Handle traces which split at a RearPort 2020-10-08 13:45:47 -04:00
Daniel Sheppard
8a8c88c1d9 Fixes: #5221 - Fix bulk component creation over multiple VMs 2020-10-08 12:39:20 -05:00
Jeremy Stretch
d0f296e6ef Update REST API changes 2020-10-08 11:26:02 -04:00
Jeremy Stretch
2e55470d5e Standardize cable/connection field ordering 2020-10-08 11:23:24 -04:00
Jeremy Stretch
94ad5be480 Replace connection_status with connected_endpoint_reachable on InterfaceConnectionSerializer 2020-10-08 11:15:09 -04:00
Jeremy Stretch
318d3bf81b Add cable paths API detail view for pass-through ports 2020-10-08 10:32:17 -04:00
Jeremy Stretch
c66d7a63f5 Redo the cable trace UI (WIP) 2020-10-07 16:39:15 -04:00
Jeremy Stretch
0cc58f25da Fixes #5218: Raise validation error if a power port's allocated_draw exceeds its maximum_draw 2020-10-07 13:23:19 -04:00
Jeremy Stretch
b02f2d3f90 Fix error in OBJECTCHANGE_OBJECT table column template 2020-10-07 13:13:03 -04:00
Jeremy Stretch
21c400fff9 Fixes #5217: Prevent erroneous removal of prefetched GenericForeignKey data from tables 2020-10-07 13:09:08 -04:00
Jeremy Stretch
4df1028897 Fix PowerFeed display in cable traces 2020-10-07 11:33:47 -04:00
Jeremy Stretch
eaa55c241e Clean up power utilization logic 2020-10-07 11:14:16 -04:00
Jeremy Stretch
4fe11de337 Rewrite trace_paths management command and call in upgrade.sh 2020-10-07 10:30:11 -04:00
Jeremy Stretch
3d4671bc6a Swap order of cabling migrations 2020-10-07 09:50:12 -04:00
Jeremy Stretch
9e7aa87651 Update the netbox-discuss mailing list URL 2020-10-07 08:53:04 -04:00
Jeremy Stretch
2bcccc2253 Standardize 'cabled' and 'connected' filters; complete tests 2020-10-06 17:28:25 -04:00
Jeremy Stretch
8a4f7a2e46 Restore total length count on trace view 2020-10-06 16:58:11 -04:00
Jeremy Stretch
8baf7bbd00 Optimize path node representations 2020-10-06 16:34:03 -04:00
Jeremy Stretch
dc8b5db7e5 Update v2.10 changelog 2020-10-06 16:16:08 -04:00
Jeremy Stretch
5e1cce8e63 Clean up console/power/interface connections views 2020-10-06 16:15:18 -04:00
Jeremy Stretch
2ed8f86e1a Add test_is_connected to CircuitTerminationTestCase 2020-10-06 15:59:21 -04:00
Jeremy Stretch
32f60151f4 Improve model docstrings 2020-10-06 15:48:52 -04:00
Jeremy Stretch
c9cb0540d7 Correct serializer field lists 2020-10-06 15:27:40 -04:00
Jeremy Stretch
3dfbaa3ee9 Remove unused CablePathManager 2020-10-06 15:26:59 -04:00
Jeremy Stretch
056285dcd2 Include cable_peer on CableTermination serializers 2020-10-06 14:30:46 -04:00
Jeremy Stretch
60bb913f46 Clean up power connection tables 2020-10-06 13:30:28 -04:00
Jeremy Stretch
9b3462ee7e Extend device view to show local cable termination for all components 2020-10-06 13:08:41 -04:00
Jeremy Stretch
15cb0762c1 Cache peer termination on CableTerminations 2020-10-06 12:10:12 -04:00
Jeremy Stretch
3fee32ef6e Prefetch path & destination for API views 2020-10-06 10:41:52 -04:00
Jeremy Stretch
57bd4be9c0 Tweak component templates 2020-10-06 10:37:59 -04:00
Jeremy Stretch
9ce752f8d1 Introduce PathContains lookup to allow filtering against objects in path directly 2020-10-06 09:41:45 -04:00
Jeremy Stretch
cd6b42be63 Extend cable trace view to show related paths 2020-10-05 16:03:30 -04:00
Jeremy Stretch
d7293234c2 Optimize path prefetching 2020-10-05 14:47:21 -04:00
Jeremy Stretch
2823737811 Standardize path endpoint templates 2020-10-05 13:23:55 -04:00
Jeremy Stretch
095f7a9bda Fix up connection lists (pending additional work) 2020-10-05 12:05:29 -04:00
Jeremy Stretch
a3b7065bd1 Merge schema migrations 2020-10-05 11:47:24 -04:00
Jeremy Stretch
72700f7996 PowerFeedSerializer should subclass ConnectedEndpointSerializer 2020-10-05 11:39:17 -04:00
Jeremy Stretch
bc41a9dd97 Rename connection_status to connected_endpoint_reachable 2020-10-05 11:32:39 -04:00