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: ability to attach to VM interface when importing Addresses via CSV #1500

Closed
candlerb opened this issue Sep 16, 2017 · 1 comment
Labels
type: bug A confirmed report of unexpected behavior in the application

Comments

@candlerb
Copy link
Contributor

Issue type

[ ] Feature request
[X] Bug report
[ ] Documentation

Environment

  • Python version: 3.5.2
  • NetBox version: v2.2-beta1

Description

When importing IP Addresses via CSV, you can attach them to a Device/Interface but not to a Virtual Machine/Interface.

Step 1: import some VMs:

name,cluster,platform
unifi,lxd1,Ubuntu 16.04
apt-cacher,lxd1,Ubuntu 16.04

Step 2: manually create an interface eth0 on each one (see #1492, #822)

Step 3: try to import the addresses:

address,status,virtual_machine,interface_name,is_primary
192.0.2.30/24,Active,unifi,eth0,true
2001:db8::30/64,Active,unifi,eth0,true
192.0.2.31/24,Active,apt-cacher,eth0,true
2001:db8::31/64,Active,apt-cacher,eth0,true

This fails since column "virtual_machine" is not supported. Column "device" is supported, but not usable here.

@jeremystretch jeremystretch added beta type: bug A confirmed report of unexpected behavior in the application labels Sep 18, 2017
@jeremystretch
Copy link
Member

Fixed in 512a3bf

lampwins pushed a commit to lampwins/netbox that referenced this issue Oct 13, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 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