Commit Graph

134 Commits

Author SHA1 Message Date
Arthur Hanson
a21bf5b3c1 11305 Add GPS coordinates to device (#12782)
* 11305 add lat/long to devices

* 11305 update docs

* 11305 update tests
2023-06-14 14:18:50 -04:00
jeremystretch
4f7e85ede9 Closes #12320: Remove obsolete fields napalm_driver and napalm_args from Platform 2023-05-16 09:35:27 -04:00
Abhimanyu Saharan
21d58d496b adds parent device and bay position to table #12223 2023-05-05 15:23:28 -04:00
Abhimanyu Saharan
0b3a876f75 Adds module status to module bay table (#12455)
* adds module status to module bay table #11652

* removed the extra line

* updated field name
2023-05-04 13:46:31 -04:00
jeremystretch
25775668b6 #10520: Restore ability to edit platform NAPALM fields via UI 2023-04-21 11:21:42 -04:00
jeremystretch
6acc947c65 Merge branch 'develop' into feature 2023-03-13 11:58:37 -04:00
aron bergur jóhannsson
792d141f00 Closes #11011: Hide virtual interfaces 2023-02-27 14:53:52 -05:00
Arthur Hanson
eb923e080e 10520 remove Napalm code references (#11768)
* 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
Jeremy Stretch
86690d83a1 Closes #11559: Implement config template rendering (#11769)
* 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
jeremystretch
e41c60b76a Standardize linking to related objects in tables 2023-02-19 20:09:51 -05:00
jeremystretch
a10b2abbad Fixes #11562: Correct ordering of virtual chassis interfaces with duplicate names 2023-01-24 15:44:02 -05:00
kkthxbye
63a73faa40 Fixes #11280 - Fix exporting interfaces and FHRP group rows with multiple IP's assigned (#11285)
undefined
2022-12-27 10:15:28 -05:00
jeremystretch
c8686a2c6a #7854: Misc cleanup 2022-12-12 12:34:05 -05:00
jeremystretch
08ef820b9e Fixes #10973: Fix device links in VDC table 2022-11-18 16:33:06 -05:00
jeremystretch
81ee92f9ab Fixes #10957: Add missing VDCs column to interface tables 2022-11-17 12:29:30 -05:00
Daniel Sheppard
e0e38c63cf Closes: #7854 - Add VDC/Instances/etc (#10787)
* Work on #7854

* 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 #9623

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
Jeremy Stretch
acc750ad70 Closes #10545: Standardize description & comment fields on primary models (#10834)
* 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
Arthur Hanson
6d5f7919b6 10655 fix contacts display in list views (#10681)
* 10655 fix contacts display in list views

* 10655 review changes
2022-10-18 16:47:14 -04:00
jeremystretch
1156531ff6 #10359: Add region and site group columns to the devices table 2022-09-15 12:55:21 -04:00
Arthur
c06e4d4e53 #10359 add region column to site table 2022-09-14 15:50:45 -07:00
jeremystretch
8d27bb9595 Closes #10268: Omit trailing ".0" in device positions within UI 2022-09-07 14:09:17 -04:00
jeremystretch
d5d747d355 Fixes #10034: Add L2VPN column to interface and VLAN tables 2022-09-02 14:26:35 -04:00
jeremystretch
36d443ff5e Clean up connection tables 2022-07-14 10:37:27 -04:00
jeremystretch
58579d8bbc Merge branch 'develop' into feature 2022-07-11 12:58:24 -04:00
Kim Johansson
365fd0b81d Replace TenantColumn with new TenancyColumnsMixin
Replaces all usages of the TenantColumn with the new TenancyColumnsMixin.

This enables the user to add a column for Tenant Group on all tables which
also has a column for Tenant.
2022-07-10 15:13:48 +02:00
jeremystretch
5691240267 Closes #1099: Add PoE mode & type for interfaces 2022-06-21 21:22:24 -04:00
jeremystretch
75b25f060e Fixes #9313: Remove HTML code from CSV output of many-to-many relationships 2022-05-06 10:26:02 -04:00
jeremystretch
2130407175 Closes #9099: Enable display of installed module serial & asset tag in module bays list 2022-04-12 09:00:19 -04:00
jeremystretch
69c8e95186 Fixes #8658: Fix display of assigned components under inventory item lists 2022-04-04 14:40:22 -04:00
jeremystretch
3f0b8a6adb Merge branch 'develop' into feature 2022-03-25 10:38:44 -04:00
Jeremy Stretch
5c473f472d Merge pull request #8963 from minitriga/issue_8926
Closes #8926: Implement type and roll to device bay table
2022-03-25 09:12:45 -04:00
Alex Gittings
5166b48010 Closes #8926: Implement type and roll to device bay table 2022-03-25 09:25:55 +00:00
jeremystretch
fdc44c65ee Merge branch 'develop' into feature 2022-03-18 13:17:11 -04:00
jeremystretch
413fe68225 Rename ActionsColumn sequence to actions 2022-03-14 13:45:21 -04:00
Alex Gittings
3abcf47b62 fix pycodestyle issues 2022-03-09 17:55:45 +00:00
Alex Gittings
7b102f199b add columns for each model table that has contacts 2022-03-09 17:35:25 +00:00
jeremystretch
eb44aa2748 Closes #8667: Support position patterning when creating module bays & templates 2022-02-23 13:02:14 -05:00
jeremystretch
1426646ba4 Fixes #8655: Fix AttributeError when viewing cabled interfaces 2022-02-16 08:23:57 -05:00
jeremystretch
733fea2f9f Use ColoredLabelColumn for InventoryItem role 2022-02-11 12:08:16 -05:00
jeremystretch
510a5fbb69 Merge v3.1.7 2022-02-03 12:55:34 -05:00
jeremystretch
c4cae35355 Update table accessors to use dunders in path 2022-02-02 09:18:50 -05:00
jeremystretch
4b3f58e57d Split out NetBoxTable from BaseTable 2022-01-27 16:00:38 -05:00
jeremystretch
c8d9089cd3 Closes #8469: Move BaseTable, columns to netbox core app 2022-01-27 15:00:10 -05:00
Daniel Sheppard
e9a12d214d #7853 - Add columns to tables 2022-01-20 13:58:37 -06:00
jeremystretch
cd4b695f9d Merge v3.1.6 2022-01-17 11:12:54 -05:00
Jason Yates
f99c52c51e Add created & last updated as available fields to all tables
Adds two fields to all relevant tables to allow the addition of Created & Last Updated columns.

All tables with a Configure Table option were updated.

Some sections reformatted to comply with E501 line length as a result of changes
2022-01-13 09:22:32 +00:00
Jeremy Stretch
4f8743ae88 Merge pull request #8303 from netbox-community/7679-table-actions
Closes #7679: Object table actions menus
2022-01-10 11:38:07 -05:00
jeremystretch
e27c832e4f Replace ButtonsColumn with ActionsColumn 2022-01-10 11:17:40 -05:00
jeremystretch
5f8f593eec Closes #7852: Enable assigning interfaces to VRFs 2022-01-07 14:57:43 -05:00
jeremystretch
45e4a3a5c0 Always include actions as a default column 2022-01-07 10:36:58 -05:00