pynetbox
pynetbox copied to clipboard
Python API client library for Netbox.
The following netBox API endpoint is simply not available via pynetbox:  `/circuits/circuit-terminations/{id}/paths/` Interface inherfit from class `PathEndpointMixin`: https://github.com/netbox-community/netbox/blob/21b9732f061b7e91fa77c10da66bd098510354fc/netbox/dcim/api/views.py#L44 But CircuitTermination inherits from `PassThroughPortMixin`: https://github.com/netbox-community/netbox/blob/21b9732f061b7e91fa77c10da66bd098510354fc/netbox/dcim/api/views.py#L84 `/circuits/circuit-terminations/{id}` exists though, just not...
Per the internal Netbox documentation the following endpoint is available: /ipam/ip-ranges/{id}/available-ips/ pynetbox currently does not support this. This change adds the available_ips method to the IpRanges class to enable this...
If the limit kwarg is passed without an offset it will functionally be ignored and the entire result set will be returned. Previously: ``` tenants = netbox_api.tenancy.tenants.all(limit=50) print(f'Limit Size: {tenants.request.limit}')...
I am using version 6.6.2 of pynetbox against version 3.2.7 of NetBox. I'm getting errors trying these api calls: ``` api = pynetbox.api(self.url) api.create_token(self.user, self.password) list(api.dcim.custom_choices()) pynetbox.core.query.RequestError: The requested url:...
It seems to me that pynetbox should work with packaging 24 but I'm not able to run all tests because I don't have docker installed.
### Fixes: #600 Added Python 3.12 in tests, setup.py classifiers and in the bug report forms.
### pynetbox version v7.2.0 ### NetBox version v3.5.9 ### Python version 3.11 ### Steps to Reproduce Hello, in our setup we introduced a complex custom_field in each device that is...
### pynetbox version v7.1.0 ### NetBox version v3.6.3 ### Python version 3.9 ### Steps to Reproduce ``` #!/usr/bin/python3 import pynetbox def main(): nb = pynetbox.api(url="netbox_url", token="my_netbox_token") device = nb.dcim.devices.get(680) print(device.render_config.create()["content"])...
### pynetbox version v7.3.0 ### NetBox version v3.7.0 ### Feature type Change to existing functionality ### Proposed functionality Add Python 3.12 in setup.py classifiers and in the test runs. ###...
### Fixes: #597 If we find a free form dict in the value, containing no id, let's return it as it is.