CLOUDSTACK-7505:

  if VM is created from ISO, don't change platform metadat for VM on XS
CLOUDSTACK-7514-[Automation] - Automate ACL test cases relating to listSnapshots()
CLOUDSTACK-7033-[Automation] - Automate ACL test cases relating to isolate Network for deleteNetwork() api
CLOUDSTACK-7261: related UI change after lsitSystemVMs/listRouters API were fixed to return hypervisor property while state is running.
removed unused class
engine/schema/src/com/cloud/upgrade/PremiumDatabaseUpgradeChecker.java
CLOUDSTACK-6898: [Hyper-V] fixed rdp console freezing during reboot.

Console was freezing because we read data from socket in blocking mode.
During reboot it was blocking infintely.
To fix issue, now we are reading data in non-blocking mode.
In non-blocking mode I set the timeout to 5 seconds.
CLOUDSTACK-7503: Fixed few coverity issues
CLOUDSTACK-7517: loading ftp modules in VR
CLOUDSTACK-7519: Using bound/unbound methods instead of directly calling API methods from test case

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
CLOUDSTACK-7528: More verbose logging when sending alert fails

When sendAlert is called on an AlertManager impl, if it fails it logs that
something was wrong but does not log the body of the issue/error. This means
we tell the user/admin that there was an issue but don't share the "issue"
with them at all as the email alert fail (or that they were not initialized).

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 885c02dbd8b40d654f4a84fca8474ff88bc7ca5e)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	server/src/com/cloud/alert/AlertManagerImpl.java
	usage/src/com/cloud/usage/UsageAlertManagerImpl.java
CLOUDSTACK-7520: [UI] keep advanced search parameters visible after search has been run.

- Preserve the advanced search parameters, so that when the advanced search box is shown again,
it is populated with the values selected/entered previously, unless they have navigated away from the search results page,
or applied any additional filters/search parameters.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
Added "usageid" parameter to the "listUsageRecords" API call. Can be used only together with "type" parameter specified

Signed-off-by: Ilia Shakitko <i.shakitko@tech.leaseweb.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
CLOUDSTACK-6099 live migration is failing for vm deployed using dynaic compute offerings with NPE
SAML2UserAuthenticatorTest: Fix test, make sure encoded password length > 0

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
CLOUDSTACK-7351: Passing hypervisor type while deploying VM using ISO

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
Rules and visitors for Load Balance Rules
Adding new behaviour to the apply load balancing rules method. The whole chain has been implemented and we will now test it.
Extract general behavior to Router and Vpc delegates
Fix dependency problem. Extract and unify router deployment stuff
Adding Firewall Rules to comply with the Visitor pattern implementation; refactoring the applyRules so we can reuse it.