CLOUDSTACK-5640: Correcting imports in test cases
CLOUDSTACK-5659: Creation of vm from iso failing with wrong file format.
The agent was always creating a disk with image format vhdx, but the
cloudstack management server defaults to image format vhd for hyperv.
Updated the agent code to be consistent with what cs expects. All disks
are now created with image format vhd.
CLOUDSTACK-5515: #cpu ,cpuspeed and ram is set to NULL in usage db(usage_vm_instance table) after vm stop and start Fixed populating usage event details in usage db on vm start/upgrade/dynamic_scale
Added Virtual-Network and Virtual-Machine Model unit test.

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
Apply proper license header and formatting to the new contrail tests
Apply proper license header and formatting to the new contrail tests #2
CLOUDSTACK-5640: Correcting imports in test cases

Conflicts:
	test/integration/component/test_security_groups.py
CLOUDSTACK-5560: Reattach of data disk fails for hyperv. When a data disk
is attached a hard disk drive is created on the scsi controller. On detach
the data disk is removed from the drive but the disk drive is left behind.
On reattach the agent was again trying to create a disk drive while it was
already present. Fixed the agent code to look up for disk drive while
attaching and if one is not found then only to create the drive for
attaching a data disk.
 CLOUDSTACK-5635: Fixed issue (Max volumes has been exceeded for domain during test)
CLOUDSTACK-3806: OS Preference can not be set.
CLOUDSTACK-5422: Changing  XenServer Tools Version 6.1 + doesnt work.
CLOUDSTACK-5606: UI > copy template, copy ISO action > when a template/ISO to be copied is not associated with a specific zone, UI does not pass sourcezoneid parameter to API.
CLOUDSTACK-5667: Shared Network - fails to launch router due to "
Multiple generic soure NAT IPs provided for network"

'getExistingSourceNatInNetwork' method was retruning source nat ip for
a particular account, resulting in multiple source nat ip's to be
assigned to a shared network on network implemen. Fix ensures that
account id is not considered for shared network implement.
CLOUDSTACK-5637: Detach volume before migrating
CLOUDSTACK-5447 [Automation] Volume migration failing with NullPointerException in vmware and KVM.

Instead of injecting object of VolumeOrchestrationService into VmwareResource, we now populate the command object (MigrateVolumeCommand here) with required information. Thus we dont need volume orchestration service to query that information from resource.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
CLOUDSTACK-5687 [Hyper-V] Remote Access VPN fails with Unsupported command while trying to configure VPN users
Fix check style error.
Fixing check style errors in HypervDirectConnectResource.java.
check vlans and other isolation types
isSameIsolationId