CLOUDSTACK-7006: Restore template ID in ROOT volume usages

Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
datamigration for vlan uris
[UI] show isVolatile explanation text
[UI] filter out already connected networks when add network to vm
[UI] hide listHosts for stopped vm
[UI] add view instances in template/iso details page
COVERITY: Fixed Resource leak (RESOURCE_LEAK) 11.

overwrite_var: Overwriting "pstmt" in "pstmt = conn.prepareStatement("INSERT INTO `cloud`.`ldap_configuration`(hostname, port) VALUES(?,?)")" leaks the resource that "pstmt" refers to.

Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
COVERITY: Fixed issues reported by coverity NPEs, unwritten field access and self assignment

Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
COVERITY: Fixed few coverity issues unused assignments, boxing and unboxing of values etc.

Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
CLOUDSTACK-6665: A fix for vpc routers not releasing dhcp leases.

Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
CLOUDSTACK-6665: A fix for vpc routers not releasing dhcp leases.

Author: John Nielsen <john@betterservers.com>

Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
Merge branch '4.3' of https://git-wip-us.apache.org/repos/asf/cloudstack into 4.3
[UI] deploy vm to specified host in Infrastructure->Hosts page
[UI] show all secondary ips in VM NIC page
[UI] update vm nic information after add/remove NIC
[UI] bug fix: vpn configuration does not show ipsec presharedkey
[UI] bug fix: error message was not shown if fail to delete snapshot
CLOUDSTACK-6926: removed hard coded jdk dirs and setting java home using readlink and dirname

Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
CLOUDSTACK-7087: Latest OS X VPN client not working Downgrading openswan version to 1:2.6.37-3

Reviewed-by: Abhinandan

Signed-off-by: Sheng Yang
CLOUDSTACK-4725: if storage pool has different path, but the uuid is the same, then treat them as the same storage pool