Merge pull request #1533 from greenqloud/pr-patchviasocket-convert-to-python
Convert patchviasocket to python (removes perl dependency for KVM agent)As requested here: https://github.com/apache/cloudstack/pull/1495 No scripts are using perl so that install requirement can be removed. The new scripts are using standard python packages only. Includes extensive unit test. Note: perl-modules requirement is missing (fixed in mentioned PR) so do not merge that onto master. * pr/1533: Revert "Add perl-modules as install dependency for cloudstack-agent" patchviasocket improve error handling Convert patchviasocket to python (removes perl dependency for KVM agent) Signed-off-by: Will Stevens <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/b03a629c Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/b03a629c Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/b03a629c Branch: refs/heads/master Commit: b03a629c6a60dff46f4daf5792500bb4ad8c5825 Parents: 9456aa0 15da0c2 Author: Will Stevens <[email protected]> Authored: Wed May 25 22:57:08 2016 -0400 Committer: Will Stevens <[email protected]> Committed: Wed May 25 22:57:08 2016 -0400 ---------------------------------------------------------------------- debian/control | 2 +- .../kvm/resource/LibvirtComputingResource.java | 4 +- scripts/installer/windows/client.wxs | 2 +- scripts/vm/hypervisor/kvm/patchviasocket.pl | 58 -------- scripts/vm/hypervisor/kvm/patchviasocket.py | 76 ++++++++++ .../vm/hypervisor/kvm/test_patchviasocket.py | 144 +++++++++++++++++++ 6 files changed, 224 insertions(+), 62 deletions(-) ----------------------------------------------------------------------
