-
This code works fine with python 3.5.6 and pynetbox 3.4.11, but not with 4.0.4.
```
#!/usr/bin/env python
import pynetbox
import os
netboxtoken=os.environ["NETBOXTOKEN"]
netboxurl=os.environ["…
craig updated
5 years ago
-
I'm seeing the following behavior when trying to update a tagged interface:
```
In [1]: import pynetbox
In [2]: nb = pynetbox.api('https://netbox.example.com', token='my_token')
In [3]: interface …
-
pynetbox is building a URL for subsequent requests when paging that is invalid, i.e. `/api/virtualization/virtual-machines&limit=112&offset=50`.
Should pynetbox just use the `next` field?
-
As dictionaries are automatically turned into records, it would be handy if the same happened to lists, when an attribute is actually multiple records.
As a quick and dirty test, this seems to work…
-
Netbox has a `_choices` endpoint, which is currently not supported, as it gets remapped to `-choices` in `endpoint.py` (https://github.com/digitalocean/pynetbox/blob/master/pynetbox/lib/endpoint.py#L6…
-
After #94 was fixed, I noticed the same behaviour if instead of using append, caling remove() on the tags list. Or is that not supported?
```
>>> import pynetbox
>>> nb = pynetbox.api(url='http…
-
Hi,
Very exciting project. But why do you build everything your own from the scratch? Why don't you integrate your ideas into an existing project like netbox? The graphing and your workflow managemen…
-
Hi,
sorry to bother once more with this issue, but it seems like the fix for #94 only works for tags on a device or interface object, but not for tags on VLAN or IPAdress-objects:
```
>>> impor…
-
Hi,
I'm beginner. Please guide me if I'm wrong.
My query:
Is there any PUT method in _pynetbox_ which does exactly as PUT in /api/dcim/devices/{id}/ ? As far as I know save() or update() will onl…
-
Hi there,
I am trying to gather some information with a python script to present the results to the NetBox api.
To to get the corresponding IDs to the fields I make api requests. When trying to dete…