-
Notifications
You must be signed in to change notification settings - Fork 237
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
Async Architecture Topics #881
Comments
|
Inventory + Async Discussion: #880 |
Goals (this is a discussion point / changeable)
Questions
|
@dbarrosop @dgarros @ogenstad Adding a few people to goals thread. |
I'd extend this point (or add a new one) that users should be able to pick and mix sync/async plugins. For instance, this should work (pseudocode ahead): def my_grouped_task(task):
task.run(task=netmiko_send_command)
task.run(task=async_http_request)
nr = InitNornir(inventory=ShinyNewAsyncInventoryPlugin)
nr.run(task=netmiko_send_command)
nr.run(task=async_http_request)
nr.run(task=my_grouped_task) The example will probably end up requiring awaits and maybe even using DISCLAIMER: this opinion of mine may change if this means nornir-core becomes too complex and/or unmaintainable.
I think we should, specially if nornir's API ends up separating sync and async methods (i.e.
I'd say new plugins should be needed. I.e.
Probably |
Discussion on high-level Nornir async architecture.
How sync and async worlds interact
Inventory
Runner
Tasks
Error Handling
Tests
Document
A bunch of others.
The text was updated successfully, but these errors were encountered: