Closed carbonarok closed 3 years ago
Fixes for issues #80, #102, #103
@carbonarok Can you please appear as a single change - 1 commit, 1 file modified within a PR.
Please make sure the build is passing
Looks reasonable to me; would be nice to have some unit tests though.
PR extends the onboarding plugin with possibility of specifying optional arguments for Netmiko And NAPALM connections. The Netmiko connection is being used to discover the netmiko device type. Napalm connection is being used to get facts from a device.
Optional arguments are loaded in the following manner : 1) Username and password are derived from task or
settings.NAPALM_USERNAME and PASSWORD
2) Secret : # 1 Task's input, # 2 platform's optional arguments as specified in the task, # 3settings.NAPALM_ARGS
3)optional_args
: # 1otm.optional_args
, # 2settings.NAPALM_ARGS
,Closes issues #80, #102, #103