Re: [PATCH v4 4/9] dts: add ssh pexpect library

2022-09-23 Thread Stanislaw Kardach
On Fri, Sep 23, 2022 at 09:15:07AM +0100, Bruce Richardson wrote: > On Fri, Sep 23, 2022 at 07:22:26AM +, Juraj Linkeš wrote: > > > > Absolutely, but effective time use is also something to consider. Our > > current plan doesn't won't really have to contend with problems in the > > future,

Re: [PATCH v4 4/9] dts: add ssh pexpect library

2022-09-23 Thread Bruce Richardson
hat.com; > > ronan.rand...@intel.com; honnappa.nagaraha...@arm.com; > > ohily...@iol.unh.edu; lijuan...@intel.com; dev@dpdk.org > > Subject: Re: [PATCH v4 4/9] dts: add ssh pexpect library > > > > On Thu, Sep 22, 2022 at 09:41:40AM +, Juraj Linkeš wrote: > > > Hi Stani

RE: [PATCH v4 4/9] dts: add ssh pexpect library

2022-09-23 Thread Juraj Linkeš
tel.com; dev@dpdk.org > Subject: Re: [PATCH v4 4/9] dts: add ssh pexpect library > > On Thu, Sep 22, 2022 at 09:41:40AM +, Juraj Linkeš wrote: > > Hi Stanislaw, > First a preface. I understand that the DTS rework is sponsored by someone and > there may be people waiti

Re: [PATCH v4 4/9] dts: add ssh pexpect library

2022-09-22 Thread Stanislaw Kardach
On Thu, Sep 22, 2022 at 09:41:40AM +, Juraj Linkeš wrote: > Hi Stanislaw, First a preface. I understand that the DTS rework is sponsored by someone and there may be people waiting with their labs for this job to be done. Everything that I'll write below is from a point of view of a developer wh

RE: [PATCH v4 4/9] dts: add ssh pexpect library

2022-09-22 Thread Juraj Linkeš
Hi Stanislaw, Neither of the current DTS maintainer nor me are the author of the code, so we can only speculate as to why certain parts were implemented the way they are. We've thought a lot about replacing pexpect with something else, such as Fabric. Fabric is supposedly faster, which is the b

RE: [PATCH v4 4/9] dts: add ssh pexpect library

2022-09-22 Thread Juraj Linkeš
Tu, Lijuan > ; dev ; nd ; > jer...@marvell.com; hemant.agra...@nxp.com > Subject: Re: [PATCH v4 4/9] dts: add ssh pexpect library > > On Tue, Sep 20, 2022 at 11:25 PM Honnappa Nagarahalli > wrote: > > > > > > > > > &g

Re: [PATCH v4 4/9] dts: add ssh pexpect library

2022-09-20 Thread Jerin Jacob
On Tue, Sep 20, 2022 at 11:25 PM Honnappa Nagarahalli wrote: > > > > > > > > On Fri, Jul 29, 2022 at 10:55:45AM +, Juraj Linkeš wrote: > > > > > > > +self.session = pxssh.pxssh(encoding="utf-8") > > > > +self.session.login( > > > > +

RE: [PATCH v4 4/9] dts: add ssh pexpect library

2022-09-20 Thread Tu, Lijuan
> > > > On Fri, Jul 29, 2022 at 10:55:45AM +, Juraj Linkeš wrote: > > > > > +self.session = pxssh.pxssh(encoding="utf-8") > > > +self.session.login( > > > +self.node, > > > +self.username, >

RE: [PATCH v4 4/9] dts: add ssh pexpect library

2022-09-20 Thread Honnappa Nagarahalli
> > > > On Fri, Jul 29, 2022 at 10:55:45AM +, Juraj Linkeš wrote: > > > > > +self.session = pxssh.pxssh(encoding="utf-8") > > > +self.session.login( > > > +self.node, > > > +self.username, >

Re: [PATCH v4 4/9] dts: add ssh pexpect library

2022-09-19 Thread Owen Hilyard
On Wed, Sep 14, 2022 at 3:57 PM Honnappa Nagarahalli < honnappa.nagaraha...@arm.com> wrote: > > > > > > > > On Fri, Jul 29, 2022 at 10:55:45AM +, Juraj Linkeš wrote: > > > > > > > +self.session = pxssh.pxssh(encoding="utf-8") > > > > +self.

RE: [PATCH v4 4/9] dts: add ssh pexpect library

2022-09-14 Thread Honnappa Nagarahalli
> > > > On Fri, Jul 29, 2022 at 10:55:45AM +, Juraj Linkeš wrote: > > > > > +self.session = pxssh.pxssh(encoding="utf-8") > > > +self.session.login( > > > +self.node, > > > +self.username, >

Re: [PATCH v4 4/9] dts: add ssh pexpect library

2022-09-14 Thread Stanislaw Kardach
On Fri, Jul 29, 2022 at 10:55:45AM +, Juraj Linkeš wrote: > 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. >

Re: [PATCH v4 4/9] dts: add ssh pexpect library

2022-09-14 Thread Stanislaw Kardach
On Wed, Sep 14, 2022 at 08:42:07AM +0100, Bruce Richardson wrote: > > > >As far as customizing the prompts, I think that is doable via a > >configuration option. > >As far as different shells, I don't think we were planning to support > >anything besides either bash or posix-compa

Re: [PATCH v4 4/9] dts: add ssh pexpect library

2022-09-14 Thread Bruce Richardson
On Wed, Sep 14, 2022 at 12:03:34AM +, Honnappa Nagarahalli wrote: > > > > On Fri, Jul 29, 2022 at 10:55:45AM +, Juraj Linkeš wrote: > > > +self.session = pxssh.pxssh(encoding="utf-8") > > +self.session.login( > > +

RE: [PATCH v4 4/9] dts: add ssh pexpect library

2022-09-13 Thread Honnappa Nagarahalli
On Fri, Jul 29, 2022 at 10:55:45AM +, Juraj Linkeš wrote: > +self.session = pxssh.pxssh(encoding="utf-8") > +self.session.login( > +self.node, > +self.username, > +self.password, > +

Re: [PATCH v4 4/9] dts: add ssh pexpect library

2022-09-13 Thread Owen Hilyard
> > On Fri, Jul 29, 2022 at 10:55:45AM +, Juraj Linkeš wrote: > > > +self.session = pxssh.pxssh(encoding="utf-8") > > +self.session.login( > > +self.node, > > +self.username, > > +self.password, > > +

Re: [PATCH v4 4/9] dts: add ssh pexpect library

2022-09-13 Thread Stanislaw Kardach
On Fri, Jul 29, 2022 at 10:55:45AM +, Juraj Linkeš wrote: > +self.session = pxssh.pxssh(encoding="utf-8") > +self.session.login( > +self.node, > +self.username, > +self.password, > +

Re: [PATCH v4 4/9] dts: add ssh pexpect library

2022-09-13 Thread Bruce Richardson
ronan.rand...@intel.com; honnappa.nagaraha...@arm.com; > > ohily...@iol.unh.edu; lijuan...@intel.com; dev@dpdk.org > > Subject: Re: [PATCH v4 4/9] dts: add ssh pexpect library > > > > On Fri, Jul 29, 2022 at 10:55:45AM +, Juraj Linkeš wrote: > > > +

RE: [PATCH v4 4/9] dts: add ssh pexpect library

2022-09-13 Thread Juraj Linkeš
tel.com; dev@dpdk.org > Subject: Re: [PATCH v4 4/9] dts: add ssh pexpect library > > On Fri, Jul 29, 2022 at 10:55:45AM +, Juraj Linkeš wrote: > > The library uses the pexpect python library and implements connection > > to a node and two ways to interact with the node: > > 1

Re: [PATCH v4 4/9] dts: add ssh pexpect library

2022-09-08 Thread Bruce Richardson
On Fri, Jul 29, 2022 at 10:55:45AM +, Juraj Linkeš wrote: > 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. >

RE: [PATCH v4 4/9] dts: add ssh pexpect library

2022-08-09 Thread Tu, Lijuan
> -Original Message- > From: Juraj Linkeš > Sent: Friday, July 29, 2022 6:56 PM > To: tho...@monjalon.net; david.march...@redhat.com; Randles, Ronan > ; honnappa.nagaraha...@arm.com; > ohily...@iol.unh.edu; Tu, Lijuan > Cc: dev@dpdk.org; Juraj Linkeš > Subject: [PATCH v4 4/9] dts: add ss