netbox/docs/models/ipam
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
..
aggregate.md Update IPAM models documentation 2022-08-16 15:32:00 -04:00
asn.md Fixes: #17612 : Update ASN types in asn.md (#17625) 2024-09-27 16:20:49 -04:00
asnrange.md Update feature introduction flags 2023-08-01 14:25:25 -04:00
fhrpgroup.md Changelog & cleanup for #9892 2022-09-27 09:55:35 -04:00
fhrpgroupassignment.md Update IPAM models documentation 2022-08-16 15:32:00 -04:00
ipaddress.md Update ipaddress.md 2023-01-11 09:45:28 -05:00
iprange.md Add mark_utilized to IPRange 2023-03-01 09:27:06 -05:00
prefix.md Update IPAM models documentation 2022-08-16 15:32:00 -04:00
rir.md Update IPAM models documentation 2022-08-16 15:32:00 -04:00
role.md Update IPAM models documentation 2022-08-16 15:32:00 -04:00
routetarget.md Update IPAM models documentation 2022-08-16 15:32:00 -04:00
service.md Update IPAM models documentation 2022-08-16 15:32:00 -04:00
servicetemplate.md Update IPAM models documentation 2022-08-16 15:32:00 -04:00
vlan.md Update IPAM models documentation 2022-08-16 15:32:00 -04:00
vlangroup.md Documentation updates for v4.1 2024-07-31 16:26:21 -04:00
vlantranslationpolicy.md Fixes: #7336 - VLAN Translation (#17745) 2024-10-30 17:09:46 -04:00
vlantranslationrule.md Fixes: #7336 - VLAN Translation (#17745) 2024-10-30 17:09:46 -04:00
vrf.md Update IPAM models documentation 2022-08-16 15:32:00 -04:00