fixing indentation problem in test_network.py
ResourceMetaData: added support for userIpAddress (publicIp) metadata
Fill the creationMonitors based on priority

If not priotity, append to the end of the list.

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
CLOUDSTACK-999: hyper-V: UI > Infrastructure > Secondary Storages > Add Secondary Storage > When provider is SMB, show SMB username/password/domain fields and send their value to url parameter of addImageStore API.
CLOUDSTACK-999: hyper-V: UI > Infrastructure > Secondary Storages > listView, detailView > remove password from URL property.
CLOUDSTACK-999: hyper-V: UI > Infrastructure > Secondary Storages > add protocol field to listView, detailView.
Add quiesce vm for vmware during vm snapshot
Fix redundant router failed to start

ResourceUnavailableException won't be catched by VirtualNetworkApplianceManager
after Alex's refactor, because VirtualMachineManager.start() would cover the
exceptions as well. So changed the calling to advanceStart() instead.
Redundant Router: Fix priority records in db
fixed indentation error in test_network.py
fix long cast to double

- the result of dividing long with long resulted in loss of precision both for network and IO
- unit tests included

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
license headers added

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
set the state field, not unused local

Signed-off-by: Dave Brosius <dbrosius@mebigfatguy.com>
CLOUDSTACK-5096. Corrupt template is left behind after the copy of a template from secondary to primary fails.
If HttpNfcLease initialization fails throw appropriate error
Catch throwable in addition to exceptions during file upload task while importing the OVA into vCenter
CLOUDSTACK-5122. System VMs are getting recreated with old template after upgrading to 4.2.
In VMware during VM start the existing disk information is used to configure the VMs. So even if a new disk is created using the new template VM continues to use the old disk.
Once the old root disk is marked for destroy force expunge it and sync the new disk into the VM folder before VM start
Test for DbUtil

test cases for
- isPersistable
- getColumnName

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
CLOUDSTACK-5121: There was one wrong initialization of cloudstackConnection.

The bug mentioned is causing test cases to fail.

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
Fixed few indentation errors and removed unwanted imports
Template/ISO download fails cause the object to disappear from UI in 4.2

Signed-off-by: Koushik Das <koushik@apache.org>
CLOUDSTACK-5080: Hypervisor Capabilities table missing entry for Simulator

Signed-off-by: Prasanna Santhanam <tsp@apache.org>