Add IP with python custom script #610
-
Hello everyone I am trying to create a custom script to automatically detect specific devices and assign them to an IP address but I'm running in some errors. ` from ipam.models import IPAddress def checkAndSaveLoop(self, loopIps): I have tried several options:
Does anyone have experience of how to create an IP for a custom script? Netbox v3.6.4 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Since this has nothing to do with In any case, I don't think you need to use |
Beta Was this translation helpful? Give feedback.
Since this has nothing to do with
pynetbox
package, you won't maybe get much exact answers here. Better luck should be in the NetBox discussions: https://github.com/netbox-community/netbox/discussionsIn any case, I don't think you need to use
ipaddress
module there at all, just get the syntax right otherwise.