Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3rd party plugin integration #503

Closed
patrickdaj opened this issue Mar 25, 2020 · 1 comment
Closed

3rd party plugin integration #503

patrickdaj opened this issue Mar 25, 2020 · 1 comment

Comments

@patrickdaj
Copy link

Is there some documentation somewhere on how to integrate new plugins into nornir? I can see the main plugins are in the core module and I'm trying to determine the best method of writing a few additional for check point mgmt api, pandevice and Ixia breaking point. All three have pip installed modules I plan to utilize but are utimately APIs. Is the best method to just drop my connection and task code into the pip installed nornir plugins directory or is there some other means of utilizing a 3rd party plugin that I am missing?

@dbarrosop
Copy link
Contributor

As you probably noticed a task plugin is merely a function with a task argument so you can have them wherever you want as long as your code can reference it. There is no need to include the plugins with nornir and, as a matter of fact, we are working on separating the core nornir from the plugins, see #486

If you want to see an example you can look at https://github.com/nornir-automation/nornir_napalm/tree/proposal which is work in progress but should work for you.

I am closing the issue as there is no actionable item here at this stage (I promise though I will improve docs for this as part of #486), feel free to keep asking questions here though if you have them or to engage in #486, help and feedback is appreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants