Use InetAddress for passing Remote Address instead of String
Fix UnitTest ApiServlet
Validate IPv4 address using Apache Commons Validator
Merge remote-tracking branch 'origin/inetaddress'

- Tested locally against unit tests
- TravisCI build passed: https://travis-ci.org/apache/cloudstack/builds/41990351
- Manual QA passed for basic auth and saml auth using default IDP settings

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	server/src/com/cloud/api/ApiServlet.java
CLOUDSTACK-7917: Validating Load Balancer Rule when updating LB + unit test

Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
(cherry picked from commit c919ff83d81528b89017b5f5731b2e46350e3dfa)
CLOUDSTACK-7915: Remove hard-coded values for Load Balancer algorithms in UI

Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
(cherry picked from commit ba6dfd84702eeef0362b94068add1328db84133a)
CLOUDSTACK-6465: vmware.reserve.mem is missing from cluster level settings

Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
(cherry picked from commit eae733817b3670b0151410c027325f78013392ad)
CLOUDSTACK-7965: Fix script related to force delete domain test case

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
CLOUDSTACK-7951: Limit amount of memory used by cloudstack-agent jsvc

The -Xms value specifies the minimum heap size the JVM should start with and
-Xmx is the maximum heap size it can grow. The previous fix imposed minimum
limit of 1G which is unreasonably for small deployments. The fix is to start
with 256MB and limit to 2G for cloudstack-agent process. This was tested on
DevCloud/KVM and then again on a ACS/KVM deployment on real hardware.

With these values, it's possible for the agent to work in a DevCloud/KVM
environment and if JVM needs it can increase the heap size to 2G. The fix also
ports these settings to Debian cloud-agent init.d script as well.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit bb81082e58d90da9971b7e06f4c3f8639446b2d2)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
CLOUDSTACK-7938: Marvin - Create a new section in test_data.py for configurable data and change test cases accordingly

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
CLOUDSTACK-7963: Fixed test case in test_dedicate_guest_vlan_ranges.py

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
CLOUDSTACK-7953: Fixed time wait period for verifying snapshot policy

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
CLOUDSTACK-7949: Fixing issue in test_base_image_updation.py

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
CLOUDSTACK-7942: Fixing account permission issue in test_template.py

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
CLOUDSTACK-7934: Fixed cleanup issues test_escalations_volumes.py

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
CLOUDSTACK-7933: test_escalations_instances.py - Fixed test_13_vm_nics for Vmware

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
CLOUDSTACK-7679: Bump rabbitmq client library to latest 3.4.1

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
CLOUDSTACK-7865:Wrongly skipping the test if the local storage is enabled.

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
sign release branch instead of release tree
edit checkstyle pom on rc creation
xapi release version dep
update debian package changelog on version upgrade

sign release branch instead of release tree

(cherry picked from commit dd508b3b9fd4a630545949685beb648115803a85)