netbox/docs
bctiemann 353214098b
4867 multiple mac addresses (#17902)
* Create MACAddress model and migrations to convert existing .mac_address fields to standalone objects

* Add migrations

* All views/filtering working and documentation done; no unit tests yet

* Redo migrations following VLAN Translation

* Remove mac_address filter fields and add table columns for device/vm

* Remove unnecessary "bulk rename"

* Fix filterset tests for Device

* Fix filterset tests for Interface

* Fix tests on single-object forms

* Fix serializer tests

* Fix filterset tests for VMInterface

* Fix filterset tests for Device and VirtualMachine

* Move new field check into lookup_map iteration

* Fix general MACAddress filter tests

* Add GraphQL types/filters/schema

* Fix bulk edit/create tests (bulk editing Interfaces will be unsupported because of inheritance from ComponentBulkEditForm)

* Make mac_address read_only on InterfaceSerializer/VMInterfaceSerializer

* Undo unrelated work

* Cleanup unused IPAddress derived stuff

* API endpoints

* Add serializer objects to interface serializers

* Clean up unnecessary bulk create forms/views/routes

* Add SearchIndex and adjust indexable fields for Interface and VMInterface

* Reorganize MACAddress classes out of association with DeviceComponents

* Move MACAddressSerializer

* Enforce saving only a single is_primary MACAddress per interface/vminterface

* Perform is_primary validation on MACAddress model and just check if one already exists for the interface

* Remove form-level validation

* Fix check for current is_primary setting when reassigning

* Model cleanup

* Documentation notes and cleanup

* Simplify serializer and add ip_addresses

* Add to VMInterfaceSerializer too

* Style cleanup

* Standardize "MAC Address" instead of "MAC"

* Remove unused views

* Add is_primary field for bulk edit

* HTML cleanup and add copy-to-clipboard button

* Remove mac_address from Interface and VMInterface bulk-edit forms

* Add device and VM filtering

* Use combined assigned_object_parent in table to match structure of IPAddressTable

* Add GFK fields to MACAddressSerializer

* Reorganize "Addressing" sections to remove from proximity to "Device Components" and related groupings

* Clean up migrations

* Misc cleanup

* Add filterset test

* Remove mac_address field from interface forms

* Designate primary MAC address via a ForeignKey on the interface models

* Add serializer fields for primary_mac_address

* Update docs

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-11-18 15:11:24 -05:00
..
_theme Closes #16669: Include a notice when rendering docs locally 2024-09-17 14:44:51 -04:00
administration Fix social auth for Entra ID 2024-10-18 10:45:34 -04:00
configuration 15093 Allow plugins to register events pipeline (#17717) 2024-10-18 12:47:16 -04:00
customization 17468 add warning to documentation about overriding custom script properties 2024-10-16 12:57:26 -04:00
development Update adding-models.md to reflect changes to get_absolute_url 2024-10-29 09:15:24 -04:00
features Rename Microsoft Azure AD to Entra ID 2024-10-03 13:25:48 -04:00
getting-started Closes: #9047 - Add Provider Accounts (#12057) 2023-03-29 08:27:11 -04:00
installation Fixes #16016: Correct typo 2024-05-08 10:15:43 -04:00
integrations Closes #17288: Limit the number of aliases within a GraphQL API requests to 10 (#17329) 2024-09-02 09:30:41 -04:00
media Add instructions for authenticating using Google oauth2 (#17527) 2024-10-18 09:36:29 -04:00
models 4867 multiple mac addresses (#17902) 2024-11-18 15:11:24 -05:00
plugins Closes #16971: Add system jobs (#17716) 2024-11-01 14:56:08 -04:00
reference Clean up the Markdown reference guide 2024-03-26 16:26:47 -04:00
release-notes Release v4.1.5 2024-10-28 16:59:44 -04:00
extra.css Fixes: #17732 - Add a background-color to img elements in docs to ensure readability in dark mode (#17790) 2024-10-18 10:47:05 -04:00
index.md Fixes: #17732 - Add a background-color to img elements in docs to ensure readability in dark mode (#17790) 2024-10-18 10:47:05 -04:00
introduction.md Documentation cleanup 2023-12-05 08:05:44 -05:00
netbox_logo_dark.svg Fixes: #17732 - Add a background-color to img elements in docs to ensure readability in dark mode (#17790) 2024-10-18 10:47:05 -04:00
netbox_logo_light.svg Fixes: #17732 - Add a background-color to img elements in docs to ensure readability in dark mode (#17790) 2024-10-18 10:47:05 -04:00