You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have trying to change an existing IP address's custom field (MAC address) and the code runs successfully but the change is not made to the IP address.
Hi @masikrus! Thank you for reviving this thread I totally forgot that I opened this. I found the solution a few months ago, but I moved on to use RestAPI instead so maybe I don't remember well. The solution was to use https connection with trusted cert (this one was what I missed).
Before that I was using a self-signed cert and just suspended the warning message with urllib3.disable_warnings(category=urllib3.exceptions.InsecureRequestWarning) thinking that for testing purposes I dont need that. Turns out I do.
Can you please try it if it can solve it? If not I will check my archives next week at work.
pynetbox version
v7.3.3
NetBox version
v4.0.3
Python version
3.11
Steps to Reproduce
Hi all!
I have trying to change an existing IP address's custom field (MAC address) and the code runs successfully but the change is not made to the IP address.
I have tried with these approaches:
With Endpoint update:
With Respons - request update:
In previous Netbox versions this script runned successfully so I think something has changed in the API and Django structure.
Expected Behavior
The custom field of the IP address has changed.
Observed Behavior
The custom field of the IP address has not changed.
The text was updated successfully, but these errors were encountered: