Commit Graph

1193 Commits

Author SHA1 Message Date
anthony 99e46e4c2f VPC : add vpc_ipassoc.sh vpc_snat.sh
Conflicts:

	wscript
2012-06-18 10:35:32 -07:00
anthony 53f6739900 CS-12972 : cap is per domain/VM
Conflicts:

	core/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
2012-06-15 11:07:46 -07:00
anthony 52b2408c5f only destroy CDROM for system VMs on current host 2012-06-15 10:51:53 -07:00
anthony 6ce7daf494 CS-15155 : need to eject CD before destroy vbd
reviewed-by : kelven
2012-06-15 10:46:46 -07:00
anthony 89332d2816 CS-15155 : after system VMs boot up, destroy CD virtual device for System VM
when reconnect XenServer host, try to destroy CD virtual device for System VM, this is for upgrade

Reviewed-By : kelven
2012-06-15 10:46:12 -07:00
Alena Prokharchyk aaf0d24a83 Merge branch 'vpc-3.0.x' into 3.0.x
Conflicts:
	api/src/com/cloud/api/ApiConstants.java
	api/src/com/cloud/api/BaseCmd.java
	api/src/com/cloud/api/ResponseGenerator.java
	api/src/com/cloud/api/commands/AssociateIPAddrCmd.java
	api/src/com/cloud/api/commands/EnableStaticNatCmd.java
	api/src/com/cloud/event/EventTypes.java
	api/src/com/cloud/network/NetworkService.java
	api/src/com/cloud/network/rules/RulesService.java
	client/tomcatconf/commands.properties.in
	core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
	scripts/vm/hypervisor/xenserver/xenserver56fp1/patch
	server/src/com/cloud/api/ApiDBUtils.java
	server/src/com/cloud/api/ApiResponseHelper.java
	server/src/com/cloud/configuration/DefaultComponentLibrary.java
	server/src/com/cloud/consoleproxy/ConsoleProxyManagerImpl.java
	server/src/com/cloud/network/NetworkManagerImpl.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
	server/src/com/cloud/network/rules/RulesManagerImpl.java
	server/src/com/cloud/server/ManagementServerImpl.java
	server/src/com/cloud/storage/secondary/SecondaryStorageManagerImpl.java
	server/src/com/cloud/upgrade/dao/Upgrade2214to30.java
	server/test/com/cloud/network/MockNetworkManagerImpl.java
	server/test/com/cloud/vm/MockVirtualMachineManagerImpl.java
	setup/db/create-schema.sql
	wscript
2012-06-14 19:04:59 -07:00
Edison Su 402ee953b2 CS-14826
fix typo
Reviewed-by: sheng
2012-06-14 14:04:33 -07:00
Alena Prokharchyk 9c01ca2785 VPC: ipAssoc consists of 3 parts: plug nic (if needed), associateIp, enableSourceNat(if ip is source nat ip) 2012-06-12 10:58:20 -07:00
anthony 8712199cfd VPC : bug fix 2012-06-11 17:15:16 -07:00
anthony a159255e36 VPC : many debug fix 2012-06-07 17:53:12 -07:00
anthony 657a40ad30 VPC : get correct guest gateway 2012-06-06 18:22:09 -07:00
anthony 2619492b6e VPC : use routerProxy to call l2tpVpn 2012-06-06 17:19:52 -07:00
anthony 1b81342354 VPC : use routerProxy to call networkUsage.sh 2012-06-06 16:36:47 -07:00
anthony a015a9203e VCP : use routerProxy to call checkrouter script 2012-06-06 16:08:14 -07:00
Kelven Yang 400602ee9f CS-15080: VMware control network is CloudStack management network, correct the way to send down a correct traffic label to VMware resource
Reviewed-by: Anthony
2012-06-06 15:14:03 -07:00
Kelven Yang c89422cfb6 bug CS-15119: check previously named datastore before we mount new one to support backwards compatibility
Reviewed-by:Anthony
2012-06-06 15:13:31 -07:00
anthony 6310b051d8 VPC : implement SetupGuestNetworkCommand 2012-06-05 18:49:00 -07:00
anthony 076a876f80 VPC : introduce router_proxy.sh, resource should use this as a proxy to call scripts inside domr
already did this for ipassoc and getDomRVersion
2012-06-05 17:26:19 -07:00
anthony 5700510c26 VPC, implement plug/unplug nic 2012-06-05 15:38:25 -07:00
Alena Prokharchyk 3ae5b0b5c8 Modified virtual router startup procedure - initial start happens with control nic only; then we plug Public and then Guest nic to it 2012-06-05 11:33:31 -07:00
Alena Prokharchyk 460bab4a7d Support for adding private network 2012-06-05 10:57:29 -07:00
Sateesh Chodapuneedi fb85787a76 CS-14956 Support for rate limiting policies in Nexus dvSwith feature for CloudStack
Removed global parameters that are not required. Cleanup.
Reviewed-by: Devdeep
2012-05-26 05:22:03 +05:30
Sateesh Chodapuneedi 484077f4c1 CS-15073 Nexus vSwitch: Source NAT is being programmed on the wrong nic on the Virtual Router
Reviewed-by: Devdeep
2012-05-25 18:03:45 +05:30
Edison Su 6618101d5a CS-14826, CS-14996: fix the md5 checksum 2012-05-24 15:07:32 -07:00
Kelven Yang b66873d2b2 bug CS-14964: use shorter UUID for datastore names 2012-05-24 15:03:07 -07:00
Kelven Yang ae2b599b8d CS-15080 - add support for private network on a VLAN under VMware 2012-05-24 11:40:43 -07:00
Alena Prokharchyk 2014cb0feb Plug nic support 2012-05-23 16:18:41 -07:00
Sheng Yang 1ab26e11de Revert "bug 10946: Add default buffer length for compressed request"
This reverts commit e3d30c6be6.

This fix CS-14646.
2012-05-23 12:11:37 -07:00
kishan 242ddfb23b bug CS-15004: Do not collecting network usage while stopping Direct network Virtual Router in VMware
status CS-15004: resolved fixed
reviewed-by: Nitin
2012-05-23 18:50:22 +05:30
kishan c85117078f bug CS-14982: Make traffic sentinel metering zones configurable. Global config default will be used when no zones are listed while adding Traffic Sentinel Host
status CS-14982: resolved fixed
reviewed-by: Nitin
2012-05-23 18:39:05 +05:30
Alena Prokharchyk 9fb9149c99 1) Added new element - VpcVirtualRouterElement. Extends VirtualRouter + has plug/unplug nics support
2) Added services api support for plugging/unplugging the nics to VpcElement
2012-05-22 16:53:27 -07:00
Vijayendra Bhamidipati 99a546191f CS-15024: NullPointerException thrown while executing GetVmStatsCommand
Description:

	Fixing incorrect non-null object check.
2012-05-21 22:30:41 -07:00
Alena Prokharchyk e4458cf5b7 1) Added start logic to the VPC
2) VirtualRouterManagerImpl - refactored deployVirtualRouter method
3) Added vpcId to domain_router/user_ip_address tables and corresponding vo objects
2012-05-21 14:29:34 -07:00
Sateesh Chodapuneedi b0ffdd5faa CS-15010 Nexus vSwitch: Advanced Zone - System VMs failed to deploy due to Start Command Failure
CS-15016 SSH connections to VSM are not cleared [Once the connections are exceeded it failed to connect to VSM]
2012-05-21 17:39:27 +05:30
Alena Prokharchyk 492e41c462 Removed network_id reference from domain_router table as now VirtualRouter can be associated with multiple networks (VPC case). Code modifications were done accordingly to the places where this field was used.
Router->Networks (one to many) are held in router_network_ref table now
2012-05-18 17:25:04 -07:00
Vijayendra Bhamidipati 8d6bb176f4 CS-14937: System VMs and Router VMs does not come up after upgrading from 3.0 to Bonita
Description:

	Reverting my earlier fix for bug 14937. The fix is
	not needed.
2012-05-17 19:14:54 -07:00
Vijayendra Bhamidipati 624312a830 Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-05-17 18:12:44 -07:00
Vijayendra Bhamidipati 099ed1af6c CS-14937: System VMs and Router VMs does not come up after upgrading from 3.0 to Bonita
Description:

	Putting in fix for bug 14937. Please note however,
	that this fix may be modified later.
2012-05-17 18:10:54 -07:00
Sheng Yang 6a07a19d98 CS-14869: Fix KVM fail to apply DNS/ROUTER option of the network 2012-05-17 16:22:33 -07:00
anthony 2c1dc421c2 CS-14784 support multiple subnets
resolved fixed
2012-05-16 16:41:45 -07:00
Sateesh Chodapuneedi 9dbf4ae956 CS-14937 System VMs and Router VMs does not come up after upgrading from 3.0 to Bonita
Enabling virtual NIC association with distributed vNetwork only in Nexus dvSwitch is enabled.
2012-05-16 23:17:05 +05:30
Sateesh Chodapuneedi 951b5688af CS-9919 Support for Nexus Swiches (Cisco Vswitches)
Avoid detection of public traffic label for basic zones. Check switch types along with global parameter for enabling a particular vmware vswitch types. Move credentials information into resource and load during resource configuration. Cleanup.
2012-05-16 19:50:35 +05:30
Edison Su ba98c063ba bug CS-14833: if iso is xen/vmware tools, attach it to vm; status CS-14833: resolved fixed 2012-05-15 13:04:10 -07:00
Sateesh Chodapuneedi b82c8b87e1 CS-9919 Support for Nexus Swiches (Cisco Vswitches)
Added VSM credentials to AddClusterCmd(optonal params only).
Cleanup.
2012-05-15 09:35:32 -07:00
Sateesh Chodapuneedi c3c326b8b5 CS-9919: Support for Nexus Swiches (Cisco Vswitches)
Description:

	Instance configuration to join distributed vNetwork.
2012-05-14 18:57:20 -07:00
Sateesh Chodapuneedi c9331e5d21 CS-9919 Support for Nexus Swiches (Cisco Vswitches)
Description:

	Portprofile shaping policies will be fetched
	from nexus vswitch instead of vcenter.
	ACLs and Policies won't be synced to vCenter.
	Get physical network label while adding cluster.
	Cleanup.
2012-05-14 18:55:08 -07:00
Sateesh Chodapuneedi ac74adb465 CS-9919 Support for Nexus Swiches (Cisco Vswitches)
Description:

	Retreving physical network configuration from
	database. Passing configuration down to resource.
	Cleanup.
2012-05-14 18:52:30 -07:00
Vijayendra Bhamidipati f8437196aa CS-9919 Support for Nexus Swiches (Cisco Vswitches)
Description:

	1. Removed CiscoNexusVSM.java.

	2. Put in invocation of Netconfhelper's
	   connect method to a VSM, in
	   CiscoNexusVSMDeviceManagerImpl.java.
2012-05-14 18:48:42 -07:00
Sateesh Chodapuneedi 413a1112d3 CS-9919 - Support for Nexus Swiches (Cisco Vswitches)
Description:

	Code changes to manage Cisco Nexus 1000v in CloudStack.
	VmwareResource has been modified to leverage Nexus vSwitch.

	Providing following global configuration parameters,

vmware.use.nexus.vswitch -
	This would decide whether Nexus vSwitch in the VMware
	cluster environment would be used/managed by CloudStack
	for it's network infrastructure needs.

vmware.guest.network.vswitch.type -
	This setting would enable CloudStack to use Nexus vSwitch
	in the VMware cluster environment for guest traffic.

vmware.private.network.vswitch.type -
	This setting would enable CloudStack to use Nexus vSwitch
	in the VMware cluster environment for private traffic.

vmware.public.network.vswitch.type -
	This setting would enable CloudStack to use Nexus vSwitch
	in the VMware cluster environment for private traffic.

Functional Specification -
	http://wiki.cloudstack.org/display/RelOps/Cisco+Nexus+1000v+Support+in+CloudStack+-+Functional+Specification

Documentation / README for usage instructions -
	http://wiki.cloudstack.org/display/RelOps/Configuration+instructions+for+CloudStack+Deployment+with+Nexus+vSwitch
2012-05-14 18:45:25 -07:00
Vijayendra Bhamidipati 685427b1b7 Bug CS-9919: Support for Nexus Swiches (Cisco Vswitches)
Description:

        1. Changed AddCiscoNexusVSMCmd to:
             a. Extend BaseCmd instead of BaseAsyncCmd.
             b. Take in more required parameters (viz
                vCenterDCName and vCenterIpAddress)

        1a. Changed DeleteCiscoNexusVSMCmd to also
            extend BaseCmd.

        2. Put in changes that will ensure that
           When a VSM is added, it is disabled by default.

        3. Fixed code that was leading to exceptions
           related to DB reads/writes to VSM related tables.

        4. Added new API Constants in ApiConstants.java.
           NOTE - Always initialize new attributes in
           ApiConstants.java to values in small case.
           Never put in upper case there. Also regardless
           of what names you give attributes in the
           *Cmd.java's class, you pass in parameters via
           API calls by specifying <key>=<value> where the
           <key> is taken from the value you specified in
           ApiConstants.java.

        5. Modified the addCiscoNexusVSM() function in
           CiscoNexusVSMDeviceManagerImpl.java to write VSM
           records to the db.
2012-05-14 18:25:55 -07:00