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 <smizr...@redhat.com> Gerrit-Reviewer: Antoni Segura Puimedon <asegu...@redhat.com> Gerrit-Reviewer: Barak Azulay <bazu...@redhat.com> Gerrit-Reviewer: Dan Kenigsberg <dan...@redhat.com> Gerrit-Reviewer: Nir Soffer <nsof...@redhat.com> Gerrit-Reviewer: Yaniv Bronhaim <ybron...@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: No _______________________________________________ vdsm-patches mailing list vdsm-patches@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches