> -----Original Message----- > From: Juraj Linkeš <[email protected]> > Sent: Friday, July 29, 2022 6:56 PM > To: [email protected]; [email protected]; Randles, Ronan > <[email protected]>; [email protected]; > [email protected]; Tu, Lijuan <[email protected]> > Cc: [email protected]; Juraj Linkeš <[email protected]> > Subject: [PATCH v4 4/9] dts: add ssh pexpect library > > The library uses the pexpect python library and implements connection to a > node > and two ways to interact with the node: > 1. Send a string with specified prompt which will be matched after > the string has been sent to the node. > 2. Send a command to be executed. No prompt is specified here. > > Signed-off-by: Owen Hilyard <[email protected]> > Signed-off-by: Juraj Linkeš <[email protected]> > --- > dts/framework/exception.py | 57 ++++++++++ > dts/framework/ssh_pexpect.py | 205 > +++++++++++++++++++++++++++++++++++ > dts/framework/utils.py | 12 ++ > 3 files changed, 274 insertions(+) > create mode 100644 dts/framework/exception.py create mode 100644 > dts/framework/ssh_pexpect.py create mode 100644 dts/framework/utils.py >
Reviewed-by: Lijuan Tu <[email protected]> Thanks, Lijuan

