-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
IP address assignment to device with no interface #1330
Comments
Looks related to #1285. Could you please see if you can recreate the issue under v2.1-beta1 (or the develop-2.1 branch)? |
Same behavior is in 2.1 beta version |
API requests with which i did that. echo read -p "Provide id of ip:" ip_id echo ${ip_id} curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'Authorization: Token xxxxxxx' -d '{ "serial": "xxxx", "device_role": "4", "tenant": "1", "site": "24", "name": "test-device", "primary_ip4": "'$ip_id'", "device_type": "139" }' 'http://xxxxxx/api/dcim/devices/' |
… unrelated IP as the primary IP for a device
**Python version: 3.4
**NetBox version: 2.0.9
When you create IP address within API, and then create device with that IP as primary IP, with not providing interface id you can see IP address in device view, but you don't see device attached in IP address view.
The text was updated successfully, but these errors were encountered: