From Dan Kenigsberg <danken(a)redhat.com>:
Dan Kenigsberg has submitted this change and it was merged.
Change subject: net: Introduce a simplified cmd exec implementation
......................................................................
net: Introduce a simplified cmd exec implementation
The network package is frequently utilizing the execCmd function to
execute shell based commands.
This patch introduces a simplified version of execCmd, focused on the
limited needs of the network package.
The new cmd module exposes a blocking exec function (exec_sync) and a
systemd exec function.
In the following patches, the users of execCmd will get migrated to the
new cmd module implementations, reducing the dependency on the generic
VDSM libs.
Change-Id: I37380d51b648bd64792b6c26419dd33c96392ddd
Signed-off-by: Edward Haas <edwardh(a)redhat.com>
---
M lib/vdsm/network/Makefile.am
A lib/vdsm/network/cmd.py
A tests/network/cmd_test.py
M vdsm.spec.in
4 files changed, 104 insertions(+), 0 deletions(-)
Approvals:
Jenkins CI: Passed CI tests
Dan Kenigsberg: Looks good to me, approved
Edward Haas: Verified
Objections:
Petr Horáček: I would prefer that you didn't submit this
--
To view, visit
https://gerrit.ovirt.org/77288
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I37380d51b648bd64792b6c26419dd33c96392ddd
Gerrit-PatchSet: 7
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Edward Haas <edwardh(a)redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Edward Haas <edwardh(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Petr Horáček <phoracek(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>