updating svg
adding license headers
CLOUDSTACK-1293: resetpasswordforVm shows "passsd reset to undefined"
CLOUDSTACK-724: add zone wide storage, createstoragepoolcmd doesn't need cluster/pod any more
CLOUDSTACK-420: listZones missing name parameter

When calling the listZones API command, you can now supply a name to pull a specific zone by name.

Updated two classes to include name paramater and query data centers/zones by name if suppled:
- server/src/com/cloud/api/query/QueryManagerImpl.java
- api/src/org/apache/cloudstack/api/command/user/zone/ListZonesByCmd.java

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
Reduce RAT errors in developer environment due to generated python files

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
CLOUDSTACK-1350 Management server Stop and start causes previously downloaded ISOs to redownload
db: Give option to specify region id while setting up database

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
CLOUDSTACK-1340: Install scripts and packages which were in previous systemvm

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
CLOUDSTACK-1340: Shrink the final virtual disk, vmdk was not supported, use vdi

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
CLOUDSTACK-1340: During cleanup deluser vagrant, sync after zero-ing the disk

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
CLOUDSTACK-1340: Correct paths used to create cloud-script.tar, fix debug msgs

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
CLOUDSTACK-1340: Fix path issues in postinstall.sh, zerodisk on all partitions

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
CLOUDSTACK-820-documentation for event framework
CLOUDSTACK-657 VMware vNetwork Distributed Virtual Switch support in CloudStack

This is 1st patch for feature 'Support for VMware dvSwitch in CloudStack'.

This contains 3 newly introduced classes. Added apache license header for all 3 files.
[1]TrafficLable and [2]VmwareTrafficLabel classes are to define and encapsulate virtual switch type per traffic type along with other network label fields (VLAN ID and physical network).
[3]DistributedVirtualSwitchMO class is wrapper class for vSphere API calls specific to a distributed virtual switch in a vCenter datacenter.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
CLOUDSTACK-657 VMware vNetwork Distributed Virtual Switch support in CloudStack

Added following tests,
1) Test fetching dvSwitch object from vCenter
2) Test for presence of dvPortGroup
3) Test presence of dvPortGroup
4) Test get existing dvPortGroup
5) fetch dvPortGroup configuration
6) Test compare dvPortGroup configuration
7) Test update dvPortGroup configuration

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
CLOUDSTACK-657 VMware vNetwork Distributed Virtual Switch support in CloudStack

This is 3rd patch for feature 'Support for VMware dvSwitch in CloudStack'.

This patch contains few helper functions (get dvswitch reference, check the type of a port group). Also added method getType() to VirtualSwitchType enum.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
Re-basing with latest master.

CLOUDSTACK-657 VMware vNetwork Distributed Virtual Switch support in CloudStack

This is 5th patch for feature 'Support for VMware dvSwitch in CloudStack'.

This patch contains
1)Changes to addCluster done in vmware discoverer to support vswitch type provided as parameters. Also performing validation of vswitch type parameter provided with addCluster api call. Checks for physical network configuration for vmware cluster is added.
2)Changes to vmware resource to use specified vswitch type while preparing network for guest and public traffic types.
3)Changes to vmware manager to introduce new global parameter vmware.ports.per.dvportgroup. Some cleanup.
Virtual switch type could be chosen at zone level or at cluster level for specific traffic type.
autoExpand of dvPortGroup is available in code but disabled as its breaking because vCenter 4.1 does not support autoExpand feature. Would be enable once vSphere 5.1 SDK support is added to CloudStack.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
Re-basing with latest master.

CLOUDSTACK-657 VMware vNetwork Distributed Virtual Switch support in CloudStack

This is 2nd patch for feature 'Support for VMware dvSwitch in CloudStack'.

This patch introduces 2 new global configuration parameters
"vmware.use.dvswitch" - Enable dvswitch functionality.
"vmware.ports.per.dvportgroup" - Default number of ports per Vmware dvPortGroup.

This patch introduces 4 optional parameters to AddCluster API
guestvswitchtype - Type of vSwitch to use for guest traffic
guestvswitchname - Name of vSwitch to use for guest traffic
publicvswitchtype - Type of vSwitch to use for public traffic
publicvswitchname - Name of vSwitch to use for public traffic

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
CLOUDSTACK-1340: Fix typos, paths, create user cloud and make 'em invincible

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>