-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Define napalm port and transport for each platform #2029
Comments
I agree that this option ideally would not be something that is globally defined, however, there are other For example, all of the Unfortunately, I don't know of a solution that would enable all of this added functionality while at the same time keeping things straightforward and uncomplicated to use when all you need are the defaults. Just to be clear, I'm not dismissing the need, I'm merely adding a few thoughts on the issue at hand so as to "get it right" without going through several changes. |
Well, I agree that it can be good to handle all parameter. I didn't find a good idea to do it yesterday. Maybe the use of a |
Let's avoid hard-coding any fields for specific NAPALM arguments, as there are quite a few today and there will likely be more in the future. A more robust approach might be to introduce a single |
I second the need for a per-platform access configuration. In a perfect world it would be nice to be able to define 'templates' of custom arguments to NAPALM (as free text to avoid having to track changes in NAPALM) and then assign those to devices or device templates in Netbox. |
This has been implemented in 35d58d2 |
Issue type
[X ] Feature request
[ ] Bug report
[ ] Documentation
Environment
Description
Working with a variety of network platform os, we usually don't use the default port and transport. For now, it can only be changed using global parameter NAPALM_ARGS witch apply to all devices. This can be very problematic for exemple when working with NX-OS api (http/https/ssh) and Junos (netconf).
I suggest to add an optional specification of these two parameter in the platform create/edit page, the parameter will be merged with NAPALM_ARGS before napalm use.
The text was updated successfully, but these errors were encountered: