netbox/docs
bctiemann f74a9a1c76
Fixes: #7336 - VLAN Translation (#17745)
* VLANTranslationPolicy and VLANTranslationRule models and all associated UI classes

* Change VLANTranslationPolicy to a PrimaryModel and make name unique

* Add serializer classes to InterfaceSerializer

* Remake migrations

* Add GraphQL typing

* Skip tagged models in test

* Missing migration

* Remove get_absolute_url methods

* Remove package-lock.json

* Rebuild migration and add constraints and field options

* Rebuild migrations

* Use DynamicModelChoiceField for policy field

* Make vlan_translation_policy fields on filtersets more consistent with existing __name convention

* Add vlan_translation_table to VMInterface detail page

* Add vlan_translation_policy to VMInterfaceSerializer

* Move vlan_translation_policy fields to model and filterset mixins

* Protect in-use policies against deletion

* Add vlan_translation_policy to fields in VMInterfaceSerializer

* Cleanup indentation

* Remove unnecessary ordering column

* Rebuild migrations

* Search methods and registration

* Ensure 'id' column is present by default

* Add graphql types/filters/schema for VLANTranslationRule

* Filterset tests

* View tests

* API and viewset tests (incomplete)

* Add tags to VLANTranslationRuleForm

* Complete viewset tests for VLANTranslationRule

* Make VLANTranslationRule.policy nullable (but still required)

* Revert "Make VLANTranslationRule.policy nullable (but still required)"

This reverts commit 4c1bb437ef.

* Revert nullability

* Explicitly prefetch policy in graphql

* Documentation of new and affected models

* Add note about select_related in graphql

* Rework policy/rule documentation

* Move vlan_translation_policy into 802.1Q Switching fieldset

* Remove redundant InterfaceVLANTranslationTable

* Conditionally include vlan_translation_table in interface.html and vminterface.html

* Add description field to VLANTranslationRule

* Define vlan_translation_table conditionally

* Add policy (name) filter to VLANTranslationRuleFilterSet

* Revert changes to adding-models.md (moved to another PR)

* Dynamic table for linked rules in vlantranslationpolicy.html

* Misc cleanup

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-10-30 17:09:46 -04: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 Fixes: #7336 - VLAN Translation (#17745) 2024-10-30 17:09:46 -04:00
plugins 15093 Allow plugins to register events pipeline (#17717) 2024-10-18 12:47:16 -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