pynautobot
pynautobot copied to clipboard
Nautobot Python SDK
This closes #222. The other termination type includes the identifier `name` in the original API call, so it's not an issue. For a circuit termination type, the identifier `circuit.cid` is...
Fixes #201 With this change, the API version check will not run until the first API call, rather than at instantiation. This allows the user to manipulate the underlying HTTP...
I found a bug by trying to enumerate the cables in the Nautobot demo. Here is the code to get the bug. ```python import pynautobot nautobot = pynautobot.api( url="https://demo.nautobot.com", token="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",...
Start of the fix for #194 Going to need some help to figure out the create() endpoint yet.
This integration test would close #102.
# Environment: nautobot 2.2.5 pynautobot: 2.2.0 # Details: When I remove all existing IP assignmets of an interface, then re-assign all IP addresses to the interface and set the primary...
When you first create the `nautobot.api` class it runs the `self._validate_version` method which tries to connect to the Nautobot instance immediately. This can cause issues if the end user needs...
It would be great to have a proxy option for api calls. We could hence do something like this. ``` proxies = { "http": "http://my_super_proxy.com:1234", "https": "https://my_super_proxy.com:1234", } nautobot =...
Calling getattr(pynautobot_object, attribute, default_value) with a default argument resets changes
## Environment Nautobot: 1.6.21 pynautobot: 1.5.2 ## Details If you: 1. Fetch an object from Nautobot (e.g. an Interfaces object which I’ll call `iface`) 2. Update one or more attributes...
### Environment pynautobot: 1.5.2 nautobot: 1.6.21 client-side python: 3.11.8 ### Details Using the example in the [pynautobot docs](https://docs.nautobot.com/projects/pynautobot/en/stable/dev/code_reference/models/ipam/) as a starting point: Code: ```python from pprint import pprint from pynautobot.api...