[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0d02dbf78a0ab9f149c0c70a8508560d22abeffe.camel@redhat.com>
Date: Mon, 15 Apr 2024 18:02:46 +0200
From: Paolo Abeni <pabeni@...hat.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
shuah@...nel.org, petrm@...dia.com, linux-kselftest@...r.kernel.org,
willemb@...gle.com
Subject: Re: [PATCH net-next 1/5] selftests: drv-net: define endpoint
structures
On Mon, 2024-04-15 at 07:19 -0700, Jakub Kicinski wrote:
> On Mon, 15 Apr 2024 10:57:31 +0200 Paolo Abeni wrote:
> > If I read correctly the above will do a full ssh handshake for each
> > command. If the test script/setup is complex, I think/fear the overhead
> > could become a bit cumbersome.
>
> Connection reuse. I wasn't sure if I should add a hint to the README,
> let me do so.
>
> > Would using something alike Fabric to create a single connection at
> > endpoint instantiation time and re-using it for all the command be too
> > much?
>
> IDK what "Fabric" is, if its commonly used we can add the option
> in tree. If less commonly - I hope the dynamic loading scheme
> will allow users to very easily drop in their own class that
> integrates with Fabric, without dirtying the tree? :)
I'm really a python-expert. 'Fabric' a python library to execute
commands over ssh:
https://www.fabfile.org/
>
No idea how much commont it is.
I'm fine with ssh connection sharing.
Thanks,
Paolo
Powered by blists - more mailing lists