nautobot-app-bgp-models
nautobot-app-bgp-models copied to clipboard
Add tenant attribute to AutonomousSystem model
Closes: Add tenant attribute to AutonomousSystem model #191
What's Changed
Add a ForeignKey field for Tenant to the AutonomousSystem model, update the forms.py and autonomoussystemrange_retrieve.html to reference the Tenant field for display and input.
To Do
- [ x] Explanation of Change(s)
- [ ] Added change log fragment(s) (for more information see the documentation)
- [ x] Attached Screenshots, Payload Example
- [ ] Unit, Integration Tests
- [ ] Documentation Updates (when adding/changing features)
- [ ] Outline Remaining Work, Constraints from Design
Maybe also add an appropriate TenantColumn to the AutonomousSystem Table class?
I will take a look at the above and make those updates.
Updated the code to this PR. Let me know if this is what you were requesting. One minor update to the models under AutonomousSytem for the tenant field was to include a related_name.
Please update unit tests too.