CLOUDSTACK-3617: Skip the test if config is not suitable

Provided a utility method to ensure the config is suitable for running
the test. If vm.instancename.flag is unset then skip the tests.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8b8cee52f09f9f2c1b612ece16fc7ffc4b2c9176)
=Disable the test and write a better one
CLOUDSTACK-3796: Fix the missing attribute for zoneid

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
Moved Configuration from api to utils and moved the package.  This was done by eclipse so I only ran the unit test to verify everything is fine
CLOUDSTACK-3769: Fixed variable name localMountPointPath in vmopsSnapshot plugin
test for Script

a unit test for the most frequently used methods in the Script class

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
CLOUDSTACK-3493: [storage ref] Attach volume to VM is failing in case of Primary-Localstorage .
Some existing scenarios for root and data volume combination was not working. These are
a. Local root + Shared data
b. Shared root + Local data

Enabled these scenarios as part of this fix
CLOUDSTACK-2933 Added vpc load balancing changes for vmware
CLOUDSTACK-3764: [EIP/ELB] [BasicZone] Unable acquire IP as non-ROOT
domain users

Since the basic zone network is owned by 'Root' domain, domain access
checkers will fail for the accounts in non-root domains while acquiring
public IP. So add an exception for the 'Basic' zone shared network with
EIP/ELB service.
For some reason cat is under /bin on some linuses

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b8129d6a8e6634f6a101e09d8f0a9620a2379d67)
Replaced virsh() by python-libvirt functions

Signed-off-by: Rene Diepstraten <rene@renediepstraten.nl>
Updating build_asf from the 4.1 branch, where I fixed a couple of things
Fix bunch of affinity group tests

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 2b0a97267617608e6695973bc768eec499b69eca)
Summary: Make vmdata_kvm.py concurrency friendly

Detail: Adds flocks, etc for calling this concurrently, since CLOUDSTACK-3484
made userdata, vmdata, start commands concurrent

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1374773177 -0600
Fix pep8 that broken marvin build 10 days ago :(

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
CLOUDSTACK-2481: the wait is in seconds in copycommand
CLOUDSTACK-3667:[Object_Store_Refactor][VMWare] System VMs StartCommand
failed due to Exception: java.lang.Exception Message: secondary storage
for dc 3 is not ready yet?
CLOUDSTACK-3811: Autoscale UI: Use templatefilter=executable fix apply button for non-admins
CLOUDSTACK-2536: fix the regression introduced by 4c81ea69c4e8326cc81a0e2607f6a6d99645ce5f
change associatesUcsProfileToBlade to async api