cloudstack/server/src/com/cloud
Vijayendra Bhamidipati 32ba2ef17a CS-9919: Support for Nexus Swiches (Cisco Vswitches)
Reviewed by: Sateesh Chodapuneedi, Devdeep Singh

Description:

This is the first in a series of commits for integrating the
Cloudstack Management Server with the Nexus 1000v Virtual
Supervisor Module.

These changes introduce the necessary API command interfaces
to work with a Cisco N1KV VSM. The backend logic is still to
be put in and will be incorporated in subsequent commits.
Please do not attempt to use these APIs until then. Also,
these are not yet filled in into commands.xml, so they are
not currently exposed.

Additional APIs would be added if required.

These changes will not break any current management server
functionality.

Given below is a description of the changes put in here:

	Added Cisco N1KV commands to core/api:
	    These are the added commands -

		AddCiscoNexusVSMCmd
		DeleteCiscoNexusVSMCmd
		ConfigureCiscoNexusVSMCmd
		ListCiscoNexusVSMCmd
		ListCiscoNexusVSMNetworksCmd

	Added a Network Element service file for Cisco N1KV.

	Declared the interface functions that we'll need for
	the N1KV VSM.

	Defined a DeviceVO file for the Cisco Nexus Element.

	Created a response file for Cisco Nexus VSM.

	Created new event types for external Switching Management devices.

	Put in logic to call interface methods in ListCiscoNexusVSMNetworksCmd
	and ListCiscoNexusVSMCmd

NOT VSM RELATED:
	Fixed minor typo in some of the event types for external load balancers.

       Added properties of a VSM in the VSM VO class.

       Replaced the "url" input parameter by "ipaddress"
       in the AddCiscoNexusVSMCmd API.

       Added a new file - CiscoNexusVSMElement.java to
       contain the implementation of the functions
       declared in the VSMElementService interface, and
       put in implementations of the functions for the
       Nexus VSM API commands. These functions are
       defined in the CiscoNexusVSMElement class.

       Added a class for Port Profiles (PortProfile.java).
       The fields in this class are still not correctly
       declared as of now. We'll make the required changes
       going forward.

	Added CiscoNexusVSMDeviceManagerImpl class.

	Added CiscoNexusVSMResource class.

	Created a new class to provide a package to
	connect to Cisco Nexus VSMs. This will be a
	set of Java wrapper functions that allow us
	to connect/disconnect and send commands and
	receive the results of those commands via
	XML-RPC. These functions are yet to be
	implemented, and will be checked in in future
	commits.

	Added two new classes, VSMCommand and
	VSMResponse, to encapsulate XML-RPCcommands
	and responses to and from a Ciscon Nexus VSM.

	Put in the following function stubs inside the
	CiscoNexusVSMService class:

		connectToVSM()
		disconnectFromVSM()
		executeVSMCommand()

	Added new field in the Type enum of the "Host"
	interface, for Cisco Nexus VSMs.

	Added two parameters to AddCiscoNexusVSMCommand
		vsmName
		zoneId

	Modified the CiscoNexusVSMDeviceVO constructor to
	take in an zoneId as a parameter when creating
	the VO object.

	Added new interface and class for the DeviceDao
	implementation for Cisco Nexus VSM devices:
		CiscoNexusVSMDeviceDao
		CiscoNexusVSMDeviceDaoImpl

	Removed the vsmvCenterDomainId property, since it's
	going to the same as vsmDomainId, which is the VSM's
	switch Domain Id.

	Have started putting in the following query functions
	in the CiscoNexusVSMDeviceDao interface:

	Put in DAO implementations of some of the above functions in the CiscoNexusVSMDeviceDaoImpl class.

	Added a vsmName parameter to the CiscoNexusVSMDeviceVO class.
2012-05-25 17:05:15 -07:00
..
account Switch to Apache license 2012-04-03 04:50:05 -07:00
acl Switch to Apache license 2012-04-03 04:50:05 -07:00
agent bug CS-15095: vm cpu freq <= host cpu freq 2012-05-25 11:17:55 -07:00
alert bug CS-14530: Whenver adding a new capacity check the state of the resource - if its disabled/enabled. 2012-04-19 14:24:12 +05:30
api CS-9919: Support for Nexus Swiches (Cisco Vswitches) 2012-05-25 17:05:15 -07:00
async some reformatting and a new way to get vos into the system 2012-04-12 11:04:38 -07:00
baremetal bug 14615: deployVm can work 2 diff ways now: 1) Default way - create and start the vm. 2) Create the vm without starting it. Note that vm's volumes stay in Allocated state -not created on the backend till the point where vm starts 2012-04-06 11:30:48 -07:00
capacity bug CS-14530: Whenver adding a new capacity check the state of the resource - if its disabled/enabled. 2012-04-19 14:24:12 +05:30
certificate/dao Switch to Apache license 2012-04-03 04:50:05 -07:00
cluster fixing line endings in server 2012-04-07 20:13:10 -04:00
configuration Merge awsapi related changes to CloudStack 2012-05-25 14:40:53 -07:00
consoleproxy bug CS-14862: EIP/ELB - SSVM and CPVM should be given an ip address from the public ip address range. 2012-05-21 20:18:37 +05:30
dao Switch to Apache license 2012-04-03 04:50:05 -07:00
dc bug 14449: added logging to createVlanIpRange 2012-04-10 11:24:36 -07:00
deploy bug 14622: introduced ha tagging for host 2012-04-09 15:18:01 -07:00
domain fixing line endings in server 2012-04-07 20:13:10 -04:00
event Switch to Apache license 2012-04-03 04:50:05 -07:00
ha bug 14622: introduced ha tagging for host 2012-04-09 15:18:01 -07:00
host/dao bug 14622: introduced ha tagging for host 2012-04-09 15:18:01 -07:00
hypervisor CS 14006: log fix 2012-05-21 11:46:04 -07:00
keystore Switch to Apache license 2012-04-03 04:50:05 -07:00
maint Switch to Apache license 2012-04-03 04:50:05 -07:00
migration fixing line endings in server 2012-04-07 20:13:10 -04:00
netapp Switch to Apache license 2012-04-03 04:50:05 -07:00
network CS-9919: Support for Nexus Swiches (Cisco Vswitches) 2012-05-25 17:05:15 -07:00
offerings Open vSwitch tunnel manager 2012-04-23 22:32:16 +01:00
projects Switch to Apache license 2012-04-03 04:50:05 -07:00
resource Hacking for demo 2012-04-23 22:33:19 +01:00
resourcelimit Switch to Apache license 2012-04-03 04:50:05 -07:00
secstorage Switch to Apache license 2012-04-03 04:50:05 -07:00
server send ssh key to kvm host, even if it's developer env 2012-05-16 14:51:04 -07:00
service fixing line endings in server 2012-04-07 20:13:10 -04:00
servlet Support console access through rebooting with XAPI session re-negotiation 2012-05-16 17:02:22 -07:00
storage Merge awsapi related changes to CloudStack 2012-05-25 14:40:53 -07:00
template CS-14237 GC commands only sent to UP host 2012-05-16 17:21:36 -07:00
test Switch to Apache license 2012-04-03 04:50:05 -07:00
upgrade bug CS-14763: Added missing 301 to 302 path for 2.2.10 upgrade 2012-05-04 16:08:01 +05:30
usage fixing line endings in server 2012-04-07 20:13:10 -04:00
user CS-15025 2012-05-21 15:35:10 -07:00
uuididentity fixing line endings in server 2012-04-07 20:13:10 -04:00
vm CS-14753: When Vm is deployed with a Security Group , it also gets associated with the default security group. 2012-05-25 14:40:31 -07:00