Add IP address for Interfaces in Virtualization for VM using API #1862

Closed
opened 2025-12-29 17:19:52 +01:00 by adam · 2 comments
Owner

Originally created by @sanjeevma on GitHub (Jul 22, 2018).

Issue type
[ x ] Feature request
[ ] Bug report
[ ] Documentation
[ ] Housekeeping

Environment
Python version: 3.6
NetBox version: 2.3.1

Description
I been integrating My system with netbox 2.3.1 and most of the tasks is accomplished via API,
i am trying to execute Virtualization > Virtual Machine > Interfaces > add ip to interface [ Issue via API ],
API allows to create a Virtual Machine and create Interface too, but i am not able to find any process to add IP addresses for the Interface for associated Virtual Machine using API,

did any one had similar issue , i tried to look for similar issue but didn't find anything related to it

Thanks

Originally created by @sanjeevma on GitHub (Jul 22, 2018). Issue type [ x ] Feature request [ ] Bug report [ ] Documentation [ ] Housekeeping Environment Python version: 3.6 NetBox version: 2.3.1 Description I been integrating My system with netbox 2.3.1 and most of the tasks is accomplished via API, i am trying to execute Virtualization > Virtual Machine > Interfaces > add ip to interface [ Issue via API ], API allows to create a Virtual Machine and create Interface too, but i am not able to find any process to add IP addresses for the Interface for associated Virtual Machine using API, did any one had similar issue , i tried to look for similar issue but didn't find anything related to it Thanks
adam closed this issue 2025-12-29 17:19:52 +01:00
Author
Owner

@haanjde commented on GitHub (Jul 23, 2018):

@sanjeevma : Can't you do it the other way around, like assign an interface to an ip address?
/api/docs/#!/ipam/ipam_ip_addresses_update,
/api/ipam/ip-addresses/{id}/

@haanjde commented on GitHub (Jul 23, 2018): @sanjeevma : Can't you do it the other way around, like assign an interface to an ip address? /api/docs/#!/ipam/ipam_ip_addresses_update, /api/ipam/ip-addresses/{id}/
Author
Owner

@jeremystretch commented on GitHub (Jul 23, 2018):

Thank you for your interest in NetBox. GitHub issues are intended for reporting reproducible bugs and requesting features, and must be submitted using the template provided here. For general discussion, questions, or assistance with installation issues, please post to our mailing list.

@jeremystretch commented on GitHub (Jul 23, 2018): Thank you for your interest in NetBox. GitHub issues are intended for reporting reproducible bugs and requesting features, and must be submitted using the template provided [here](https://raw.githubusercontent.com/digitalocean/netbox/develop/.github/ISSUE_TEMPLATE.md). For general discussion, questions, or assistance with installation issues, please post to our [mailing list](https://groups.google.com/forum/#!forum/netbox-discuss).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1862