1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00
Commit Graph

284 Commits

Author SHA1 Message Date
ac91d4e5e5 Merge branch 'develop' into feature 2023-11-09 16:06:26 -05:00
5c27d29b08 Adds unit to the power port draw ()
* adds unit to the power port draw 

* review changes 

* moved units to header 

* Abbreviate unit for consistency with e.g. PowerFeedTable available_power column

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-11-09 15:09:16 -05:00
d2c727c0a2 review changes 2023-11-09 08:36:39 -05:00
ac4b46b502 adds site column to power feeds 2023-11-09 08:36:39 -05:00
6e8ee9db89 review changes 2023-11-09 08:34:41 -05:00
94858ac13f adds parent to inventory item table 2023-11-09 08:34:41 -05:00
60e98324c3 adds inventory items to interface 2023-11-08 12:57:22 -05:00
7274e75b26 13230 Allow Devices to be excluded from Rack utilization ()
* 13230 add exclusion flag to device type

* 13230 forms, detail views

* 13230 add tests

* 13230 extraneous model field

* 13230 extraneous form field

* Update netbox/dcim/forms/bulk_edit.py

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>

* 13230 review feedback

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-10-24 11:29:24 -04:00
27297c7556 Add Hide Disconnected Button to Interface Summary, Remove Unused Table Caption Descriptor - Close 2023-09-26 09:56:33 -04:00
3d1f668235 Disables module_status ordering ()
* disables module_status ordering 

* Set accessor for module status value

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-09-18 09:09:29 -04:00
914588f55d Merge branch 'develop' into feature 2023-08-09 15:31:21 -04:00
a807cca29e Fixes : add formatted speed column to Interfaces ()
* Fixes : add formatted speed column to Interfaces

* use TemplateColumn instead of own class
2023-08-02 16:08:14 -04:00
a698a93938 Closes : Remove unused DeviceImportTable class 2023-08-02 11:18:06 -04:00
1937c1fad6 : Misc cleanup 2023-08-02 11:04:28 -04:00
0bb86f1e7d Replaces device_role with role on device model ()
* replaces device_role with role on device model 

* fixes lint issue 

* 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
e284cd7e54 Closes : Wrap table column headers with gettext()
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-07-31 14:35:28 -04:00
36f95f7842 Adds tenant on power feed ()
* adds tenant on power feed

* cleanup

* adds power feed count on tenant object view

* Misc cleanup; add filterset tests

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-07-31 08:20:48 -04:00
0f9fe96192 Adds rf_role to interface template ()
* adds rf_role to interface template 

* fixed migration file conflict

* Misc cleanup

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-07-26 09:13:24 -04:00
5b5444f414 Closes : Cache component template counts on device types 2023-07-25 16:38:05 -04:00
154b8236a2 Oob ip (devices) ()
* initial oob_ip support for devices

* add primary ip and oob ip checkmark to ip address view

* add oob ip to device view and device edit view

* pep8

* make is_oob_ip and is_primary_ip generic for other models

* refactor oob_ip

* fix oob ip signal

* string capitalisation

* Misc cleanup

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-07-25 14:40:40 -04:00
149a496011 6347 Cache the number of each component type assigned to devices/VMs ()
---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-07-25 09:39:05 -04:00
4f76dcd2ea 11305 Add GPS coordinates to device ()
* 11305 add lat/long to devices

* 11305 update docs

* 11305 update tests
2023-06-14 14:18:50 -04:00
4208b79514 Closes : Remove obsolete fields napalm_driver and napalm_args from Platform 2023-05-16 09:35:27 -04:00
896b19eaa3 adds parent device and bay position to table 2023-05-05 15:23:28 -04:00
ea8a0135ad Adds module status to module bay table ()
* adds module status to module bay table 

* removed the extra line

* updated field name
2023-05-04 13:46:31 -04:00
2fcdc0ae6a : Restore ability to edit platform NAPALM fields via UI 2023-04-21 11:21:42 -04:00
d470848b29 Closes : General cleanup of utilities modules
* Clean up base modules

* Clean up forms modules

* Clean up templatetags modules

* Replace custom simplify_decimal filter with floatformat

* Misc cleanup

* Merge ReturnURLForm into ConfirmationForm

* Clean up import statements for utilities.forms

* Fix field class references in docs
2023-04-14 10:33:53 -04:00
2a9178af12 Merge branch 'develop' into feature 2023-03-13 11:58:37 -04:00
a74ae46f86 Add bridge to InterfaceTemplate 2023-03-07 18:00:24 -05:00
eed6990b39 Closes : Hide virtual interfaces 2023-02-27 14:53:52 -05:00
36771e821c 10520 remove Napalm code references ()
* 10520 remove all Napalm code references

* 10520 remove lldp

* 10520 remove config, status - rebuild js

* 10520 re-add config parameters

* 10520 re-add serializer

* 10520 update docs
2023-02-24 15:38:50 -05:00
73a7a2d27a Closes : Implement config template rendering ()
* WIP

* Add config_template field to Device

* Pre-fetch referenced templates

* Correct up_to_date callable

* Add config_template FK to Device

* Update & merge migrations

* Add config_template FK to Platform

* Add tagging support for ConfigTemplate

* Catch exceptions when rendering device templates in UI

* Refactor ConfigTemplate.render()

* Add support for returning plain text content

* Add ConfigTemplate model documentation

* Add feature documentation for config rendering
2023-02-19 20:09:52 -05:00
81b8046d1d Fixes - Add default_platform to DeviceType 2023-02-19 20:09:51 -05:00
48e5b395b2 Standardize linking to related objects in tables 2023-02-19 20:09:51 -05:00
8e94eb67d2 Add the enabled filed to InterfaceTemplate 2023-02-19 20:09:51 -05:00
22a9df82e6 Closes : Add module types count to manufacturers list 2023-01-26 08:46:25 -05:00
d5ccda355f Fixes : Correct ordering of virtual chassis interfaces with duplicate names 2023-01-24 15:44:02 -05:00
db7e1b8a97 11537 remove connection from power feed table 2023-01-20 11:52:56 -05:00
ea327e6b37 Closes : Add buttons to edit cables ()
* Added buttons to edit cables

* Revert change that did not address this branch

* Consolidated buttons

* moved back trace button / added permission checks

* reverted disabled trace button
2023-01-06 15:11:29 -05:00
c7108bb3f7 Fixes - Fix exporting interfaces and FHRP group rows with multiple IP's assigned ()
undefined
2022-12-27 10:15:28 -05:00
064e3ff605 Merge branch 'develop' into feature 2022-12-13 17:17:05 -05:00
96a796ebde Fixes : Enable missing tags columns for contact, L2VPN lists 2022-12-13 14:04:50 -05:00
13d39a28ce : Misc cleanup 2022-12-12 12:34:05 -05:00
0b100b8fc8 Closes : Add max_weight field to track maximum load capacity for racks 2022-12-09 12:45:02 -05:00
97aa40f7a8 Closes : Add operational status field for modules 2022-12-09 10:43:29 -05:00
4297c65f87 Closes : Enable recurring execution of scheduled reports & scripts ()
* Add interval to JobResult

* Accept a recurrence interval when executing scripts & reports

* Cleaned up jobs list display

* Schedule next job only if a reference start time can be determined

* Improve validation for scheduled jobs
2022-12-08 18:17:13 -05:00
9774bb46ce Fixes : Fix device links in VDC table 2022-11-18 16:33:06 -05:00
43bbd42d3c Fixes : Add missing VDCs column to interface tables 2022-11-17 12:29:30 -05:00
b374351154 Closes: - Add VDC/Instances/etc ()
* Work on 

* Move to new URL scheme.

* Fix PEP8 errors

* Fix PEP8 errors

* Add GraphQL and fix primary_ip missing

* Fix PEP8 on GQL Type

* Fix missing NestedSerializer.

* Fix missing NestedSerializer & rename VDC to VDCs

* Fix migration

* Change Validation for identifier

* Fix missing migration

* Rebase to feature

* Post-review changes

* Remove VDC Type
* Remove M2M Enforcement logic

* Interface related changes

* Add filter fields to filterset for Interface filter
* Add form field to filterset form for Interface filter
* Add VDC display to interface detail template

* Remove VirtualDeviceContextTypeChoices

* Accommodate recent changes in feature branch

* Add tests
Add missing search()

* Update tests, and fix model form

* Update test_api

* Update test_api.InterfaceTest create_data

* Fix issue with tests

* Update interface serializer

* Update serializer and tests

* Update status to be required

* Remove error message for constraint

* Remove extraneous import

* Re-ordered devices menu to place VDC below virtual chassis

* Add helptext for `identifier` field

* Fix breadcrumb link

* Remove add interface link

* Add missing tenant and status fields

* Changes to tests as per Jeremy

* Change for 

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>

* Update filterset form for status field

* Remove Rename View

* Change tabs to spaces

* Update netbox/dcim/tables/devices.py

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>

* Update netbox/dcim/tables/devices.py

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>

* Fix tenant in bulk_edit

* Apply suggestions from code review

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>

* Add status field to table.

* Re-order table fields.

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-11-11 07:55:49 -05:00
bc6b5bc4be Closes : Standardize description & comment fields on primary models ()
* Standardize description & comments fields on primary models

* Update REST API serializers

* Update forms

* Update tables

* Update templates
2022-11-04 08:28:09 -04:00