Antoni Segura Puimedon has posted comments on this change.
Change subject: syncproc: Add blocking mode.
......................................................................
Patch Set 9: Verified+1 Code-Review+1
verified in ipython:
In [1]: from vdsm.utils import execCmd
In [2]: p = execCmd('ip -o -d monitor link'.split(), sync=False)
In [3]: p.blocking = True
In [4]: for line in p.stdout:
...: print line
...:
5: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN \ link/ether
92:e5:56:4d:4a:64 brd ff:ff:ff:ff:ff:ff
6: foo: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN \ link/ether
6e:18:84:f6:33:f8 brd ff:ff:ff:ff:ff:ff
Deleted 6: foo: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN \ link/ether
6e:18:84:f6:33:f8 brd ff:ff:ff:ff:ff:ff
6: foo: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN \ link/ether
6e:18:84:f6:33:f8 brd ff:ff:ff:ff:ff:ff
And it kept going.
--
To view, visit
http://gerrit.ovirt.org/21897
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Id406249bfd63f59f273d27614a38a43595f1d7e1
Gerrit-PatchSet: 9
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Saggi Mizrahi <smizrahi(a)redhat.com>
Gerrit-Reviewer: Antoni Segura Puimedon <asegurap(a)redhat.com>
Gerrit-Reviewer: Barak Azulay <bazulay(a)redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer(a)redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei(a)redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: No