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

Cannot update information using import feature #1732

Closed
jjangmoo opened this issue Nov 23, 2017 · 2 comments
Closed

Cannot update information using import feature #1732

jjangmoo opened this issue Nov 23, 2017 · 2 comments

Comments

@jjangmoo
Copy link

Issue type

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

Environment

  • Python version: 3.5.2
  • NetBox version: 2.2.2

Description

I would like to update information such as platform, tenant or position at one time.
It means I would like to use the import function when I update data.

I think this import function is only working when I want to import new devices.
But I need to update this information on multiple devices.

What do you think about adding a flag field like import_role(value = new or update) in import format?

@Senetus
Copy link

Senetus commented Nov 23, 2017

Optimally, after an initial import, you would use the API to import new devices. But I do agree that having an ignore existing option while doing csv import would be great.

@jeremystretch
Copy link
Member

CSV import does not allow for modifying existing objects. NetBox provides a separate "bulk update" mechanism for most objects, or you can use the API as @esajo suggested.

@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
None yet
Projects
None yet
Development

No branches or pull requests

3 participants