06-26-2020 01:49 AM
Not sure if this has been asked before but is there a way of connecting to a second device using SSH using Python within the same script.
So we use "easy" to connect to the main device, but we need to potentially configure a neighbour device in the same job. For that we would need to identify the DeviceID, probably through a CDP neighbour call, but not sure how to connect to that device (in Python)
I did find an old Perl script from Sif, that might do the trick but we need to use Python at this stage.
(Re: Perl API - Passing script variables from one script to another)