-
Notifications
You must be signed in to change notification settings - Fork 161
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
Remove description from ip address #84
Comments
Hi, not really affiliated with the devs of go-netbox, but here are my observations from writing my own netbox provider: I found that for comments on virtual machines, updating with a single space string (" ") works to delete the string. As to what is the difference between Partial und normal update: My assumption is that per https://netbox.readthedocs.io/en/stable/api/overview/#what-is-a-rest-api , partial update should probably be PATCH whereas normal update is PUT. If I remember correctly, tests on this are not really reflecting this, though. You might want to try it againg yourself. |
Oh. Thanks. |
Its not public yet, since its heavy WIP. I invited you. |
Here is mine if you want to look at it: https://github.com/smutel/terraform-provider-netbox |
Perhaps we can try to move all this work to netbox-community to share the effort ? I tried you option with description and it is working as expected. |
The error is probably the same as #54 |
Hello,
I created an IP address with go-netbox with the parameters below:
When I want to update the description, it's working fine:
Here is what I see throw tcpdump:
But if I would like to remove the description from that IP address, it does not work.
I use the same code than above but I don't set description.
Here is what I see throw tcpdump:
If I check in Netbox, the description is still there.
Also what is the difference between PartialUpdate and Update functions ?
Thanks.
The text was updated successfully, but these errors were encountered: