pynetbox
pynetbox copied to clipboard
Python API client library for Netbox.
pynetbox==5.0.4 python3.7.5 Netbox 59d3e65b7ed2 (v2.7.10) Here is what I have tried to get the tags for a device to update. I am using a token generated with write access. For...
I discovered this problem using pynetbox to retrieve records for a custom model that coincidentally has an `endpoint` field. Admittedly, a `Record` only has a handful of private attributes, and...
Is it possible to add one more parameter when call "create_token" method to specify the duration of the new token? Every time same user login, they just need to enter...
Hey everybody. I installed the newest version of netbox. (version: 3.3.5) Now i have the problem, that i can not save new tags via pynetbox. I tried this: `>>> nb_cable.tags...
A customfield is provided as 'array of dicts' by the API, But when returning, it has to be an array of integers. There is a bug report for that on...
Code: ``` import pynetbox nb = pynetbox.api('http://localhost', token=) nb.http_session.verify = False vm = nb.virtualization.virtual_machines.create(dict( name="testing", cluster={"name":"prx"} )) print(repr(vm)) vm.save() ``` Error: ``` /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1015: InsecureRequestWarning: Unverified HTTPS request is being made...
Hi, I'm trying to manage netbox with ansible and get an error, when my device has a custom_field with JSON. This is my custom field and value ``` custom_fields: attributes:...
For the plugin `netbox-secretstore` and `netbox-access-lists`, I'm unable to use the library because the code auto replaces the `_` with `-`. This causes issues because the path to the APIs...
When talking to NetBox v3.3, pynetbox v6.6.2 chokes when POSTing to `dcim.cable` by raising exception _AttributeError: object has no attribute "id"_ This is because in NetBox v3.2 and earlier: ```...
NetBox v3.3.0 pynetbox v6.6.2 The screenshot below shows the mapping of cables from a physical interface, through some patch panels, to a circuit:  This can be...