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

Can't bulk import IP addresses using interface field #4649

Closed
devasmith opened this issue May 15, 2020 · 1 comment
Closed

Can't bulk import IP addresses using interface field #4649

devasmith opened this issue May 15, 2020 · 1 comment
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@devasmith
Copy link

devasmith commented May 15, 2020

Environment

  • Python version: 3.7.3
  • NetBox version: 2.8.4

Steps to Reproduce

  1. Disable any installed plugins by commenting out the PLUGINS setting in
    configuration.py.
  2. Go to IPAM -> IP Addresses > Import
  3. Add a new object containing interface field, e.g:
    address,status,device,interface
    192.168.100.1/24,Active,Device1,Ethernet5/1

Expected Behavior

I exepcted to be able to import the new IP address.

Observed Behavior

I received a page containg the following:

The complete exception is provided below:
<class 'KeyError'>
'interface_name'

@jeremystretch
Copy link
Member

jeremystretch commented May 15, 2020

When specifying an interface, you also need to specify the device or VM to which the interface belongs. I've updated the example data you provided.

@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application labels May 15, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants