mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fixes #3435: Change IP/prefix CSV export to reference VRF name instead of RD
This commit is contained in:
@ -7,6 +7,7 @@ v2.6.5 (FUTURE)
|
||||
|
||||
## Bug Fixes
|
||||
|
||||
* [#3435](https://github.com/netbox-community/netbox/issues/3435) - Change IP/prefix CSV export to reference VRF name instead of RD
|
||||
* [#3464](https://github.com/netbox-community/netbox/issues/3464) - Fix foreground text color on color picker fields
|
||||
* [#3519](https://github.com/netbox-community/netbox/issues/3519) - Prevent cables from being terminated to virtual/wireless interfaces via API
|
||||
* [#3521](https://github.com/netbox-community/netbox/issues/3521) - Fix error in `parseURL` related to variables in API URL
|
||||
|
@ -382,7 +382,7 @@ class Prefix(ChangeLoggedModel, CustomFieldModel):
|
||||
def to_csv(self):
|
||||
return (
|
||||
self.prefix,
|
||||
self.vrf.rd if self.vrf else None,
|
||||
self.vrf.name if self.vrf else None,
|
||||
self.tenant.name if self.tenant else None,
|
||||
self.site.name if self.site else None,
|
||||
self.vlan.group.name if self.vlan and self.vlan.group else None,
|
||||
@ -674,7 +674,7 @@ class IPAddress(ChangeLoggedModel, CustomFieldModel):
|
||||
|
||||
return (
|
||||
self.address,
|
||||
self.vrf.rd if self.vrf else None,
|
||||
self.vrf.name if self.vrf else None,
|
||||
self.tenant.name if self.tenant else None,
|
||||
self.get_status_display(),
|
||||
self.get_role_display(),
|
||||
|
Reference in New Issue
Block a user