Add IP with python custom script #15482
-
|
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. 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.
Answered by
candlerb
Mar 20, 2024
Replies: 1 comment
-
|
Netbox uses the netaddr library, not ipaddress. You can find examples in the test suite, e.g. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
SRF-rueeggdo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Netbox uses the netaddr library, not ipaddress. You can find examples in the test suite, e.g.
netbox/ipam/tests/test_ordering.py