nautobot / nautobot-app-nornir

Nornir plugin to enable other Nautobot network automation plugins
https://docs.nautobot.com/projects/plugin-nornir/en/latest/
Other
26 stars 17 forks source link

Have a platform mapper to support the different tool mappings #58

Closed jeffkala closed 8 months ago

jeffkala commented 2 years ago

Environment

Proposed Functionality

Utilize netutils mapping functions or user defined mappings to tranform the inventory platform for different nornir task plugins.

Use Case

Platform definitions between nautobot, netmiko, scrapli, etc aren't a one to one mapping. If you using nautobot inventory but want to call netmiko or another nornir task, you currently have to go manually update the platform entry in the nornir inventory host object.

Having a easy way to transpose this would be helpful and avoid having different platform mapping functions spread out between different plugins.

alextremblay commented 1 year ago

I believe this has been addressed in nautobot v1.6?

Kircheneer commented 10 months ago

I think so, too: https://docs.nautobot.com/projects/plugin-nornir/en/latest/admin/migrating_to_v2/#platform-network-driver

jeffkala commented 8 months ago

this is done in core.