CLOUDSTACK-1065: cloudstack UI - regions menu - implement create region action.
CLOUDSTACK-1608: don't support attach volume between different storage scopes
CLOUDSTACK-1608: enable attach a volume created on zone wide storage to a vm created on cluster or host wide storage
CLOUDSTACK-1641: fix NPE during migrate volume
CLOUDSTACK-1729: a partical resolution for user authenticators to unblock developers who are currently working on and relying on the fix
CLOUDSTACK-1668: Fix IP conflict in VPC tier

Currently, allPossibleIps return the Ip lists which include the gateway,
so we need to remove gateway ip from this list.

Now, for non-VPC network it works, because NetUtils.getAllIpsFromCidr
return the Ip lists which do not include the first IP of the network
(like 192.168.0.1).
We need too add the first IP into the returned Ip list, because it can
be used for VM if it is not the gateway IP (for example, VPC networks).

The corresponding patch for 4.0.1 has been posted on
https://reviews.apache.org/r/9923/

Signed-off-by: Chip Childers <chip.childers@gmail.com>
CLOUDSTACK-1511 and CLOUDSTACK-1446
CLOUDSTACK-1729: a partical resolution for user authenticators to unblock developers who are currently working on, for non-oss version
simulator: removing cyclic dependency from simulator

The database creator caused a cyclic dependecny in the simulator which
is removed with this commit. Additionally the simulator profile is now
merged with developer profile and a test for server health is included

Steps to run:
$ mvn -Pdeveloper clean install
$ mvn -Pdeveloper -pl developer -Ddeploydb
$ mvn -Pdeveloper -pl developer -Ddeploydb-simulator
$ mvn -pl client jetty:run

To deploy an adv. zone and test the server health:
$ mvn -Pdeveloper,marvin -Dmarvin.config=`find . -name simulator.cfg` -pl :cloud-marvin test

Conflicts:
	pom.xml

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
marvin logging: write to tmp to adjust for mac-osx

/var/log is not available on OSX. This breaks the simulator run.
CLOUDSTACK-1308 and CLOUDSTACK-807
run the test lifecycle only when config is specified
jvmArgs is invalid here

jvmArgs are unaffected in the jetty:run configuration. Use MAVEN_OPTS
for this instead.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
remove dependence on dsl iso

No need to download the 50MB iso for every test. It is sufficient to use
a dummy iso. This dummy iso was generated using mkisofs for test
purposes.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
cli: Fix nonetype issue with cachemaker and exit after printing version

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
cli: Run onecmd if any arg is passed

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
simulator: by default don't start the simulator discoverers

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
CLOUDSTACK-1738 :
    Adding code for StatsCollector initialization using spring framework. This was not initialized and hence stats were not colleced on vm, host and storage in CS.
CLOUDSTACK-664 Health monitoring for NetScaler load balanced instances
Fixing class names added to command list.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
CLOUDSTACK-1065: cloudstack UI - AWS Style Regions - implement region switching action triggered by region dropdown on top menu.