Interacting with a long-running asynchronous process requires the
use of non-blocking io. This change adds a helper class that can
launch a long-running process and read stdout and stderr in a
non-blocking fashion via eventlet.
This functionality is intended to support monitoring ovsdb via
a long-running and root-privileged invocation of ovsdb-client.
The complexity of the system interaction in this patch suggested
the addition of a functional test that validated actual behaviour.
The test was added under the neutron/tests/functional path which
is now included in the testr search path.
Reviewed: https:/ /review. openstack. org/45676 github. com/openstack/ neutron/ commit/ acf0209b28e21ee d60158967fab774 68eb195e7c
Committed: http://
Submitter: Jenkins
Branch: master
commit acf0209b28e21ee d60158967fab774 68eb195e7c
Author: Maru Newby <email address hidden>
Date: Mon Sep 9 01:29:54 2013 -0700
Add support for managing async processes
Interacting with a long-running asynchronous process requires the
use of non-blocking io. This change adds a helper class that can
launch a long-running process and read stdout and stderr in a
non-blocking fashion via eventlet.
This functionality is intended to support monitoring ovsdb via
a long-running and root-privileged invocation of ovsdb-client.
The complexity of the system interaction in this patch suggested tests/functiona l path which
the addition of a functional test that validated actual behaviour.
The test was added under the neutron/
is now included in the testr search path.
Partial-Bug: #1177973
Change-Id: I9969e556acecf7 a9e77d873371cc2 ec2647be011