network-importer icon indicating copy to clipboard operation
network-importer copied to clipboard

Provide options to override pynautobot connection settings

Open mzbroch opened this issue 4 years ago • 1 comments

Proposed Functionality

Provide options to allow for setting connection details to pynautobot. Pynautobot allows for overriding connection settings:

nautobot = api(
    url='http://localhost:8000',
    token='d6f4e314a5b5fefd164995169f28ae32d987704f'
)
nautobot.http_session.mount(nautobot.base_url, TimeoutHTTPAdapter())

This is applicable for inventory sync and build (nornir plugin)

Use Case

Allow for supporting HTTP connection retries

Configuration Changes

mzbroch avatar Nov 23 '21 09:11 mzbroch

How do you envision a user would need to provide some custom settings ?

dgarros avatar Nov 30 '21 01:11 dgarros