Commit Graph

5446 Commits

Author SHA1 Message Date
Jeremy Stretch
92f4bbaf89 Changelog for #4829, #4831 2020-07-13 13:35:12 -04:00
Jeremy Stretch
cc88d65d87 Merge pull request #4844 from jvanderaa/napalm_lookup_hostname
Adds name lookup to NAPALM if no primary IP address exists for device
2020-07-13 13:32:32 -04:00
Jeremy Stretch
23897ac70d Merge pull request #4830 from mandrewdx/L15P_Ports
Add NEMA 15/L15 Power Types
2020-07-13 13:29:09 -04:00
Josh VanDeraa
754ff4a599 Moves location of the IP address / hostname check and assignment 2020-07-13 08:36:15 -05:00
Josh VanDeraa
ee4e5ad525 Adds verification of device.name configured 2020-07-10 16:18:58 -05:00
Josh VanDeraa
b8169778be Adds to NAPALM, name lookup if no primary IP address for device 2020-07-10 15:12:25 -05:00
Jeremy Stretch
c8239ce648 Fixes #4838: Fix rack power utilization display for racks without devices 2020-07-10 15:59:27 -04:00
Jeremy Stretch
7448c6b892 #4843: Use subqueries when counting multiple types of related objects 2020-07-10 15:38:54 -04:00
Jeremy Stretch
7ba36fea4a #4835: Cleanup and improved error handling 2020-07-09 16:35:02 -04:00
Sander Steffann
3affd467e1 Fix typo in format string 2020-07-08 22:20:20 +02:00
Jeremy Stretch
44d1e7818f Closes #4835: Support passing multiple initial values for multiple choice fields 2020-07-08 12:50:12 -04:00
Andrew Martin
c5fe520bf3 Add NEMA 15/L15 Power Types
Reference - https://www.stayonline.com/product-resources/
2020-07-07 11:12:32 -07:00
Jeremy Stretch
6a55d0cc69 Closes #4821: Restrict group options by selected site when bulk editing VLANs 2020-07-06 10:04:08 -04:00
Daniel Sheppard
041512eefd #4695 - Add metadata class to other classes 2020-07-02 09:26:08 -05:00
Jeremy Stretch
481f1b2342 Post-release version bump 2020-07-02 09:39:15 -04:00
Jeremy Stretch
b4cc72c9db Release NetBox v2.8.7 2020-07-02 09:37:20 -04:00
Jeremy Stretch
07e4bb3eb0 Add changelog for #4695 and #4708 2020-07-01 11:06:49 -04:00
Jeremy Stretch
48716ff75b Merge pull request #4797 from netbox-community/4695_fix_api_cable_choices_termination_types
Fixes #4695 - Add Metadata class that returns content type choices
2020-07-01 11:03:01 -04:00
Jeremy Stretch
4cee9a6b9b Merge pull request #4706 from netbox-community/4604_check_position_stack
4708: more flexible checks on RearPort usage
2020-07-01 10:59:17 -04:00
Jeremy Stretch
488cf288f5 Automatically import ContentType when entering nbshell 2020-06-30 16:34:53 -04:00
Jeremy Stretch
0be63e7c9d Remove reference to choices API endpoints 2020-06-30 15:55:15 -04:00
Jeremy Stretch
20dc440a92 Fixes #4771: Fix add/remove tag population when bulk editing objects 2020-06-30 09:55:54 -04:00
Jeremy Stretch
d9992d5e20 Fixes #4774: Fix exception when deleting a device with device bays 2020-06-30 09:43:05 -04:00
Jeremy Stretch
5d9ab02f87 Closes #4796: Introduce configuration parameters for default rack elevation size 2020-06-30 09:26:32 -04:00
Jeremy Stretch
d60c46c0a4 Closes #4802: Allow changing page size when displaying only a single page of results 2020-06-30 09:00:42 -04:00
Ryan Merolle
b1f41b917b add missing NEMA power ports/outlets (#4784)
* add various NEMA power ports/outlets
2020-06-26 15:34:38 -04:00
Jeremy Stretch
2ebceb85af Fix the initial permissions check on create/edit/delete view tests 2020-06-26 15:17:07 -04:00
Sander Steffann
b0ec978ce7 Sort the list for consistent output 2020-06-26 18:42:08 +02:00
Sander Steffann
d144bb35d4 Make sure that the endpoint is actually a CableTermination 2020-06-26 18:24:04 +02:00
Daniel Sheppard
79942d7242 #4695 - Rename LimitedMetaData to ContentTypeMetadata 2020-06-26 11:09:27 -05:00
Daniel Sheppard
e40f9444f0 #4695 - Add Metadata class that returns content type choices 2020-06-26 10:59:21 -05:00
Sander Steffann
05c8d571b3 Replace is_connected_endpoint with simple isinstance check
It was only used in a single location anyway…
2020-06-26 17:30:59 +02:00
Sander Steffann
6cd51adb7a Replace is_path_endpoint with simple isinstance check
It was only used in a single location anyway…
2020-06-26 17:25:07 +02:00
Jeremy Stretch
7a9efc4a8a Fixes #4791: Update custom script documentation for ObjectVar 2020-06-25 17:33:41 -04:00
Sander Steffann
e04a7cdbd0 Revert "Bumping version just to test the GitHub Action"
This reverts commit 203f5204
2020-06-24 13:09:11 +02:00
Sander Steffann
203f52046d Bumping version just to test the GitHub Action 2020-06-24 13:07:54 +02:00
Jeremy Stretch
9b6f1c9836 Introduce ComponentCreateForm to standardize forms for device component creation 2020-06-18 12:09:28 -04:00
Jeremy Stretch
6ce05e7c41 Fixes #4775: Allow selecting an alternate device type when creating component templates 2020-06-18 11:59:24 -04:00
Jeremy Stretch
f521b7c620 Standardize SecretTest 2020-06-17 15:37:28 -04:00
Jeremy Stretch
6c36e3ee75 Refactor TestCase to provide model_to_dict(), prepare_instance() 2020-06-17 15:36:56 -04:00
Jeremy Stretch
44fd706707 Fixes #4772: Fix "brief" format for the secrets REST API endpoint 2020-06-17 14:22:55 -04:00
Sander Steffann
c17687c4be Define is_path_endpoint and is_connected_endpoint separately, as a CableTermination is a possible connected endpoint but not always the end of the path. 2020-06-17 17:11:28 +02:00
Jeremy Stretch
6e2712a5c6 Fixes #4766: Fix redirect after login when next is not specified 2020-06-17 09:15:03 -04:00
Sander Steffann
9abeae5b12 Fix is_path_endpoint flag on CableTermination 2020-06-16 21:56:46 +02:00
Sander Steffann
7db572a735 Improve test comments and remove over-enthusiastic tests 2020-06-16 21:48:26 +02:00
Sander Steffann
7279675c48 Store the front ports on the position_stack so we can provide better feedback to the user 2020-06-16 21:47:37 +02:00
Sander Steffann
bd633964ae Better comments 2020-06-16 21:47:10 +02:00
Sander Steffann
eed2afaded Replace temporary comment with proper one 2020-06-16 21:46:16 +02:00
Jeremy Stretch
152bf17871 Optimize tag population under prepare_cloned_fields() 2020-06-16 15:12:50 -04:00
Jeremy Stretch
0f1a4740d5 Post-release version bump 2020-06-15 14:57:05 -04:00