DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Using devbind.py for automated testing
@ 2020-01-29 10:55 Waqqas Jabbar
  2020-01-30 23:13 ` David Christensen
  0 siblings, 1 reply; 3+ messages in thread
From: Waqqas Jabbar @ 2020-01-29 10:55 UTC (permalink / raw)
  To: users

Hi

I am new here, so please bear with me. I am trying to automate the
process of bind/unbinding NICs between kernel and DPDK for automated
testing.

The devbind.py script is not very friendly to script. I have to run
the status command, parse the output (using regex) and then run the
script with the correct parameters to bind/unbind and parse output
again to verify the results.

My idea is to run the devbind.py as a REST API server and expose the
devices and operations through JSON input and output. I can get the
list of devices, using the GET request and bind/unbind it using the
PUT request on a device. The output would a JSON object with an
updated result. Automating it would be easy, leading to a more robust
solution.

My questions are:
- Has anyone developed similar functionality? if yes, please share its details.
- Any better way to achieve the same functionality?


Thanks in advance
Waqqas

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-31  5:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-29 10:55 [dpdk-users] Using devbind.py for automated testing Waqqas Jabbar
2020-01-30 23:13 ` David Christensen
2020-01-31  5:02   ` Waqqas Jabbar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).