Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Virtualization Cluster Export #1787

Closed
LBegnaud opened this issue Dec 19, 2017 · 1 comment
Closed

Virtualization Cluster Export #1787

LBegnaud opened this issue Dec 19, 2017 · 1 comment
Labels
type: bug A confirmed report of unexpected behavior in the application

Comments

@LBegnaud
Copy link

Issue type

[ ] Feature request
[x] Bug report
[ ] Documentation

Environment

  • Python version: Python 2.7.5
  • NetBox version: v2.2.7

Description

Exporting clusters doesn't include the site in the data. I believe it's this file that's the culprit (i'm not terribly knowledgeable with django)

https://github.com/digitalocean/netbox/blob/develop/netbox/virtualization/models.py

I believe the issue is the to_csv definition under Cluster class needs to include self.site as the 4th entry to match the csv_headers

I don't want to embarass myself with a PR (as i don't know how to test my code), but hopefully this is enough for a quick fix by someone more comfortable.

@jeremystretch jeremystretch added the type: bug A confirmed report of unexpected behavior in the application label Dec 20, 2017
@jeremystretch
Copy link
Member

Yep, that's it. Will take care of it, thanks.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants