Commit Graph

1202 Commits

Author SHA1 Message Date
Alena Prokharchyk ce876e24de VPC: intermidiate checkin to Static Routes
Conflicts:

	api/src/com/cloud/api/ApiConstants.java
2012-06-25 21:00:57 -07:00
Alena Prokharchyk d35eb73c9b VPC: initial checkin for Static Routes
Conflicts:

	api/src/com/cloud/api/ApiConstants.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2012-06-25 20:59:33 -07:00
Alena Prokharchyk 11de5d4fbe Fixed apidoc build
Conflicts:

	setup/apidoc/gen_toc.py
2012-06-25 20:56:45 -07:00
Alena Prokharchyk 030458a37b VPC: implemented add/delete Private gateway
Conflicts:

	client/tomcatconf/commands.properties.in
	server/src/com/cloud/api/ApiResponseHelper.java
	server/src/com/cloud/dc/DataCenterVO.java
	server/src/com/cloud/network/NetworkManagerImpl.java
2012-06-25 20:54:14 -07:00
Vijayendra Bhamidipati 5697ff2baf CS-15181: Remove stale global config parameters from upgrade script
Description:
    Removing stale global config params.
2012-06-21 13:55:52 -07:00
Alena Prokharchyk ccec9192a2 VPC: implemented delete and list Network ACL(s) 2012-06-20 17:20:04 -07:00
Alena Prokharchyk 374a600746 VPC: initial checkin for network ACLs
Conflicts:

	client/tomcatconf/commands.properties.in
2012-06-20 17:19:49 -07:00
Alena Prokharchyk c653b22d94 Api docs: added category for resource tags commands 2012-06-20 15:45:08 -07:00
Alena Prokharchyk 62d45b9670 Initial checkin for resource tags feature
Conflicts:

	api/src/com/cloud/api/ApiConstants.java
	client/tomcatconf/commands.properties.in
	server/src/com/cloud/api/ApiDBUtils.java
	server/src/com/cloud/uuididentity/dao/IdentityDao.java
	server/src/com/cloud/uuididentity/dao/IdentityDaoImpl.java
	setup/db/create-schema.sql
2012-06-20 15:45:08 -07:00
Alena Prokharchyk c6364dfdf0 Fixed create-schema.sql 2012-06-15 14:27:14 -07:00
Alena Prokharchyk aa84256542 1) Added VpcVirtualNetworkApplianceService interface
2) Pass dns1/dns2 to setupGuestNetworkCommand
3) Network implement - don't get source nat ip address for Vpc if it already has one
2012-06-15 14:27:00 -07:00
Alena Prokharchyk 0a7faa9838 Support for adding private network
Conflicts:

	server/src/com/cloud/network/NetworkManagerImpl.java
	server/src/com/cloud/upgrade/dao/Upgrade2214to30.java
2012-06-15 14:20:34 -07:00
Alena Prokharchyk 9ec8526281 1) Added VPC restart support - new api command RestartVPC. The purpose of the call is to shutdown and start VPC including VPCVirtualRouter restart, rules re-implement, etc
2) Only networks created from offerings with conserveMode=false, can participate in VPC
2012-06-15 14:10:09 -07:00
Alena Prokharchyk f4060c3c1d 1) Added new element - VpcVirtualRouterElement. Extends VirtualRouter + has plug/unplug nics support
2) Added services api support for plugging/unplugging the nics to VpcElement

Conflicts:

	api/src/com/cloud/network/NetworkService.java
	core/src/com/cloud/vm/VMInstanceVO.java
	server/src/com/cloud/network/NetworkManagerImpl.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
	server/test/com/cloud/network/MockNetworkManagerImpl.java
2012-06-15 14:04:09 -07:00
Alena Prokharchyk 9debd3a5df 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

Conflicts:

	server/src/com/cloud/network/IPAddressVO.java
2012-06-15 13:56:05 -07:00
Alena Prokharchyk afd2d0331f Set networkId as a join parameter in DomainRouterDaoImpl as networkId was moved to the helper table 2012-06-15 13:55:01 -07:00
Alena Prokharchyk 998cf66e6c 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-06-15 13:54:48 -07:00
Alena Prokharchyk 60b52f90dd Initial checkin for VPC feature:
1) Added API frameworks for the feature. New commands:
* CreateVPCCmd
* ListVPCsCmd
* DeleteVPCCmd
* UpdateVPCCmd
* CreateVPCOfferingCmd
* UpdateVPCOfferingCmd
* DeleteVPCOfferingCmd
* ListVPCOfferingsCmd

2) New db tables:

* `cloud`.`vpc`
* `cloud`.`vpc_offerings`
* `cloud`.`vpc_offering_service_map`

and corresponding VO/Dao objects.

Added vpc_id field to `cloud.`networks` table - not null when network belongs to VPC

3) New Manager and Service interfaces- VpcManager/VpcService

4) Automatically create new VpcOffering (if doesn't exist) on system start

5) New Action events:

* VPC.CREATE
* VPC.UPDATE
* VPC.DELETE

* VPC.OFFERING.CREATE
* VPC.OFFERING.UPDATE
* VPC.OFFERING.DELETE

Conflicts:

	api/src/com/cloud/api/ApiConstants.java
	client/tomcatconf/commands.properties.in
	server/src/com/cloud/api/ApiDBUtils.java
	server/src/com/cloud/network/NetworkManagerImpl.java
	setup/db/create-schema.sql
2012-06-15 13:53:59 -07:00
Alena Prokharchyk d390261710 CS-15197: correct default value for service_offering.nw_rate
Reviewed-by: Will Chan

Conflicts:

	setup/db/db/schema-302to303.sql
2012-06-05 15:09:46 -07:00
Vijayendra Bhamidipati 15d0cf782a CS-9919: Support for Nexus Swiches (Cisco Vswitches)
Description:

	Removed the vcenter_dc_name and vcenter_ipaddr
	fields from the virtual_supervisor_module
	table, the CiscoNexusVSMDeviceVO, addClusterCmd,
	and all other references to these two fields.

	Fixing null pointer exceptions when checking
	for nexus related global parameter values in
	addClusterCmd.

Conflicts:

	api/src/com/cloud/api/commands/AddClusterCmd.java
2012-05-25 18:37:20 -07:00
Devdeep Singh 1593900402 CS-9919: Changes to integrate UI changes for nexus feature.
Reviewed by: Sateesh, Pranav.

Conflicts:

	ui/scripts/system.js
2012-05-25 18:33:53 -07:00
Vijayendra Bhamidipati 63de97e63c CS-9919: Support for Nexus Swiches (Cisco Vswitches)
Description:

	Modifying column names in db tables to
	adhere to naming conventions.
2012-05-25 18:28:34 -07:00
Vijayendra Bhamidipati a31aa29423 Bug CS-15020: DB inconsistencies after upgrade from Acton to Bonita
Description:

	Putting in table creation DMLs in upgrade script
	when upgrading from Acton (3.0.2) to Bonita (3.0.3).
	Please note that the field names in the tables need
	to be changed as per naming conventions. Those changes
	will be checked in in an upcoming commit.

Conflicts:

	setup/db/db/schema-302to303.sql
2012-05-25 18:22:41 -07:00
Sateesh Chodapuneedi 04898a0bf9 CS-9919 Support for Nexus Swiches (Cisco Vswitches)
Description:

	Cleanup upgrade script.
2012-05-25 17:29:44 -07:00
Sateesh Chodapuneedi 8ba1d62b50 CS-9919 Support for Nexus Swiches (Cisco Vswitches)
Description:

	Modified upgrade script to include new global
	configuration parameters.
2012-05-25 17:29:28 -07:00
Vijayendra Bhamidipati 781f0b4966 Bug CS-9919: Support for Nexus Swiches (Cisco Vswitches)
Description:

	1. Added the PortProfile infrastructure:

	    a. PortProfileVO : The VO class to represent a db
	    record of the table port_profile. Each db record
	    represents one port profile.

	    b. PortProfileDao: The interface that declares search
	    functions on the port_profile table.

	    c. PortProfileDaoImpl: The class that defines the
	    interfaces declared in PortProfileDao.

	    d. PortProfileManagerImpl: The class that contains
	    routines that will add or delete db records from
	    the port_profile table. If you want to create/delete
	    a portprofile, call functions from this class.

	    e. Changes to create-schema.sql to create the port_profile
	    table.

	2. Cleaned up code:

	    a. Removed a number of unused Dao and Manager objects in
	    CiscoNexusVSMDeviceManagerImpl.

	    b. Removed the ListCiscoNexusVSMNetworksCmd command.

	    c. Removed a bunch of import statements in a few files.
2012-05-25 17:17:56 -07:00
Vijayendra Bhamidipati 0f28222cce Bug CS-9919: Support for Nexus Swiches (Cisco Vswitches)
Description:

	1. Modify addCiscoNexusVSMCmd to enable a VSM
           by default, when it is added to a cluster.

	2. Put in two new APIs exposed to the user -
                a. EnableCiscoNexusVSMCmd
                b. DisableCiscoNexusVSMCmd

        Disabling a VSM does not delete it. It only
        prevents the Management Server from using that
        VSM. This is useful if the VSM is in
        maintenance mode.
2012-05-25 17:17:37 -07:00
Vijayendra Bhamidipati 037ac6592e 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-25 17:17:18 -07:00
Vijayendra Bhamidipati 5109902c9f CS-9919: Support for Nexus Swiches (Cisco Vswitches)
Description:

	Update create-schema.sql to create tables for
	VSM and VSM-Cluster mapping.

	Fixed an incorrect exception path in
	CSExceptionErrorCode.

Conflicts:

	utils/src/com/cloud/utils/exception/CSExceptionErrorCode.java
2012-05-25 17:11:49 -07:00
prachi 49cdc2317b merge awsapi build script changes to master 2012-05-25 14:40:56 -07:00
Alena Prokharchyk 4b67937556 CS-15089: cloud-sysvmadm - fixed broken parsing in queryAsyncJobResult part of the code
reviewed-by: Frank Zhang
2012-05-25 10:15:51 -07:00
Alena Prokharchyk 96d7dca68b CS-15070: remove invalid refs from storage_pool_host_ref
Conflicts:

	setup/db/db/schema-302to303.sql
2012-05-23 14:50:48 -07:00
Ewan Mellor 93ce302db3 Added a category declaration for CiscoNexus (I put it in the Network category)
and improved the exception.
2012-05-23 12:06:45 -07:00
Nitin Mehta 09b711b131 bug CS-14931: Put in 'Disk' during upgrade for putting in disk offerring 2012-05-16 18:48:42 +05:30
Nitin Mehta c01d03e53f bug CS-14249: cluster.localStorage.capacity.notificationthreshold text is incorrect 2012-05-15 19:58:30 +05:30
kishan d82158d0ae bug CS-14890: Set vnc password for removed Vms as empty. vnc_password is not null column.
status CS-14890: resolved fixed
reviewed-by: Nitin
2012-05-15 15:27:42 +05:30
Murali reddy 3b1aca19b3 bug CS-14291: support EIP with multiple NetScalers in basic zone
This fix will enable support for multiple NetScaler devices providing EIP service in same zone.

    - Introduced global setting "eip.use.multiple.netscalers" to turn multiple netscaler support
    - Enhanced configureNetscalerLoadBalancer API to take the PBR setup between the POD's subnet
      and NetScaler device
    - logic to pick a NetScaler (based on the guest IP and corresponding pod) while configuring INAT rule
2012-05-15 14:00:32 +05:30
kishan ca5683e29d bug CS-14890: Set vnc password for removed Vms as null. vnc_password is not used once the Vm is removed.
status CS-14890: resolved fixed
reviewed-by: Nitin

Conflicts:

	setup/db/db/schema-2214to30.sql
2012-05-15 12:05:25 +05:30
Sheng Yang ccc737e8c0 Remove the extra drop sql line
This would result in 3.0.1 to 3.0.2 upgrade failed, due to index not found.
2012-05-10 14:44:01 -07:00
Abhi 69c4438df3 bug CS-14515: adding centos 5.7 to supported os, supported in xen 6.0.2 2012-05-03 12:32:17 +05:30
Nitin Mehta f49628df1d bug CS-10789: Some upgerade change that tdidnt get merged. 2012-05-03 10:50:59 +05:30
Nitin Mehta 688f715b2c bug CS-10789: Some upgerade change that tdidnt get merged. 2012-05-03 10:50:46 +05:30
Nitin Mehta 9097b53eab bug CS-10789: Put zone id in the volumehost ref table. make list volume to show the percent uploaded. 2012-05-03 10:46:02 +05:30
Salvatore Orlando a794e49545 CS-14724 : Making the default network label configurable, improving exception management
Please also see notes added to wiki.cloudstack.org/display/QA/Open+vSwitch+Tunnel+Manager
2012-05-02 15:16:10 +01:00
Alena Prokharchyk 6165f89a13 Mark local storages as removed when they have no ref in storage_pool_host_ref
Conflicts:

	setup/db/db/schema-301to302.sql
2012-04-27 13:17:01 -07:00
Salvatore Orlando 469ed78a58 CS-14606: Restoring config parameter which was accidentally removed 2012-04-27 17:17:49 +01:00
Salvatore Orlando 8080bc2d26 CS-14606: Change name for config parameter 2012-04-27 17:17:34 +01:00
Alena Prokharchyk 4cbc148a52 CS-14633: db upgrade - remove config values that no longer exist on fresh setup 2012-04-26 11:06:40 -07:00
Alena Prokharchyk 5da0fdaecb CS-14637: db upgrade - fixed inconsistencies in category/component fields for a bunch of global config variables 2012-04-26 10:10:05 -07:00
Alena Prokharchyk 83eae0c4bf CS-14629: added missing global config variables
Conflicts:

	setup/db/db/schema-301to302.sql
2012-04-25 13:44:07 -07:00
Salvatore Orlando 1b42828f1a CS-14605: OVS cleanup
DB scripts cleanup
2012-04-25 11:42:50 +01:00
Alena Prokharchyk eaf9d3d820 Catch all exceptions when change engine and row_format - can fail when table is full. Just skip as its not a critical fix 2012-04-24 15:49:28 -07:00
Salvatore Orlando bbd2e06366 CS-14619: Add missing INSERT statements 2012-04-24 15:56:23 +01:00
Salvatore Orlando f5952ef685 Adding ovs_tunnel_interface to schema;
adding new tables to update script (3.0.2 to 3.0.3)
2012-04-23 22:34:38 +01:00
root 3513551ae3 Hacking for demo 2012-04-23 22:33:19 +01:00
Abhi b62c26c606 bug 14218: fixing category for redhat 2012-04-23 22:32:16 +01:00
Salvatore Orlando 9f321ffeac Open vSwitch tunnel manager
Applying patch with new ovs-tunnel-manager on top of cloudstack oss-master
2012-04-23 22:32:16 +01:00
Alena Prokharchyk 61a10de627 CS-14591: added XenServer 6.0.2 and VmWare 5.0 as supported hypervisors to fresh 3.0.2 and to the 3.0.1-3.0.2 db upgrade
Conflicts:

	setup/db/db/schema-301to302.sql
2012-04-23 11:19:58 -07:00
Alena Prokharchyk 051416ec5a CS-14589: change engine and row_format for op_lock op_nwgrp_work during the db upgrade 2012-04-23 10:55:08 -07:00
Nitin Mehta 6fd42b831d bug CS-10789: upgrade changes for the new table and custome disk offering. 2012-04-23 21:10:36 +05:30
Nitin Mehta 4434aa0d2d bug CS-10789: More changes for the imageformat, introdueced new column in db for the format, created scripts for doffernt hypervisors ...and the list goes on. 2012-04-23 13:44:34 +05:30
Nitin Mehta 564cef8ddf More changes for uploadVolume. Create framework for upload volume progress communication between MS and SSVM. 2012-04-23 12:14:35 +05:30
Alena Prokharchyk e4e0fff2eb Fixed db upgrade for 2.1-3.0 2012-04-20 12:00:37 -07:00
Alena Prokharchyk d7f4d5d4ec CS-14553: db upgrade - for default network offerings:
1) Change display text to match fresh 3.0.2
2) Delete lb service for the offerings using VR as a provider and not having source nat service
2012-04-18 17:10:52 -07:00
Alena Prokharchyk 92c8c80978 Fixed spelling mistake in db upgrade script 2012-04-18 14:28:16 -07:00
Alena Prokharchyk 0508090090 CS-14558: db upgrade - fixed inconsistencies fresh vs upgraded 3.0.2 build 2012-04-18 13:28:09 -07:00
Alena Prokharchyk 01274e3af4 CS-14480: db upgrade 3.0.1-3.0.2 - fixed upgrade inconsistencies in default fields values 2012-04-16 16:04:45 -07:00
kishan 35c8c01e9c bug CS-14431: query to drop event table already exists. reverting earlier commit
status CS-14431: resolved fixed
reviewed-by: Nitin
2012-04-16 17:15:08 +05:30
Alena Prokharchyk b2be0039cb Usage db upgrade from 2.2.14 to 3.0 - don't drop the same fields twice from network_usage table 2012-04-13 13:59:01 -07:00
kishan 7e186fefb6 bug CS-14430, CS-14431: Dropped unused columns in usage_network table, drop event table in cloud_usage db
status CS-14430, CS-14431: resolved fixed
reviewed-by: Nitin
2012-04-13 12:05:20 +05:30
Alena Prokharchyk 14f973ba8c Fixed 2.2.14 to 3.0. upgrade
Conflicts:

	setup/db/db/schema-30to301.sql
2012-04-11 18:01:37 -07:00
frank 726aac5161 set resource_state = allocation_state when doing DB upgrade 2012-04-11 17:47:20 -07:00
Sheng Yang eb20d63f12 Revert "Fix foreign key "fk_domain_router__element_id" in the upgrade"
This reverts commit 52e334cefc.

Conflicts:

	setup/db/db/schema-301to302.sql
2012-04-11 17:37:46 -07:00
frank 9684ea7397 CS-14429 Cloud db schema differences between fresh installed 3.0.2 & upgraded 3.0.2
do check befor droping index i_host__allocation_state`(`allocation_state`)
2012-04-11 17:25:35 -07:00
Sheng Yang 6c9fd606ab Fix foreign key "fk_domain_router__element_id" in the upgrade 2012-04-11 16:51:18 -07:00
frank d91fbab9cf CS-14429 Cloud db schema differences between fresh installed 3.0.2 & upgraded 3.0.2
drop index i_host__allocation_state`(`allocation_state`)
2012-04-11 16:42:12 -07:00
Alena Prokharchyk 8084318e5e Remove obsolete network_tags table as a part of db upgrade cleanup 2012-04-11 16:23:51 -07:00
Alena Prokharchyk 85b35978de Db upgrade path for 3.0.2 to 3.0.3 2012-04-09 15:50:10 -07:00
Alena Prokharchyk 98fd5cf959 bug 14622: introduced ha tagging for host
status 14622: resolved fixed

Conflicts:

	server/src/com/cloud/host/dao/HostDao.java
2012-04-09 15:18:01 -07:00
Alena Prokharchyk 2d1a6b0b35 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
status 14615: resolved fixed
2012-04-06 11:30:48 -07:00
Alena Prokharchyk b14bac0977 bug 14539: 1) introduced 2 new config parameters defining default offerings for ssvm and cpvm - consoleproxy.service.offering and secstorage.service.offering
2) Added new api - changeServiceForSystemVm - to support service offering upgrade for system vms
3) Removed global config parameters that are not in use anymore: consoleproxy.ram.size, consoleproxy.cpu.mhz, secstorage.vm.ram.size, secstorage.vm.cpu.mhz
2012-04-03 10:52:32 -07:00
frank 2f634c0913 Switch to Apache license 2012-04-03 04:50:05 -07:00
prachi 23915b7481 Bug 14536 - DB exception while trying to delete physical network
Reviewed-By: Sheng Yang

Changes:
Added 'removed' column to physical_network_service_providers to avoid the Foreign Key constraint error.

Conflicts:

	setup/db/db/schema-30to301.sql
2012-03-29 10:15:30 -07:00
Alena Prokharchyk ca981e209a bug 14169: show error on the console in addition to logging it when restart operation fails for ssvm/consoleProxy/domR
status 14169: resolved fixed
2012-03-28 16:17:24 -07:00
frank eb8975670f Bug 14497 - 3.0->3.0.1Upgrade: Defualt value for "resource_state" field in host table differs from upgraded to fresh installed 3.0.1 schema.
status 14497: resolved fixed
reviewed-by: edison

Conflicts:

	setup/db/db/schema-30to301.sql
2012-03-26 14:55:27 -07:00
Alena Prokharchyk ce8e9a9f51 bug 14500: set default value for is_system field as a part of 3.0 to 3.0.1 upgrade
status 14500: resolved fixed
reviwed-by: Frank Zhang

Conflicts:

	server/test/com/cloud/network/MockNetworkManagerImpl.java
	setup/db/db/schema-30to301.sql
2012-03-26 10:27:15 -07:00
Nitin Mehta 2a837c3ebd Bug 14345: DB discrepecy for capacity.check.period, cluster.memory.allocated.capacity.disablethreshold, pool.storage.allocated.capacity.disablethreshold, pool.storage.capacity.disablethreshold.
Reviewed-By: Kishan
2012-03-22 10:01:49 +05:30
kishan e84f29e37b bug 14290: in 3.0 upgrade insert CentOS 5.6 template with ID 5
status 14290: resolved fixed
2012-03-21 17:25:38 +05:30
Alena Prokharchyk 81d7f9bdbf bug 14407: update network count for account/domain as a part of 3.0 to 3.0.1 upgrade
status 14407: resolved fixed
2012-03-20 10:40:32 -07:00
Alena Prokharchyk 8dafe972fe bug 14341: fixed issue #3
status 14341: resolved fixed
2012-03-19 16:41:12 -07:00
Sheng Yang 32c0068ae3 bug 14341: Fix #2 2012-03-19 15:18:31 -07:00
Alena Prokharchyk c01ed2f754 Added upgrade path from 3.0.x to 3.0.1 2012-03-19 13:38:38 -07:00
Alena bb5a99f017 bug 14345: fixed #1,8,14 and 15 2012-03-19 10:56:13 -07:00
Alena Prokharchyk 167b0367b3 bug 14305: set name for the guest network in basic zone
status 14305: resolved fixed
2012-03-15 11:57:13 -07:00
Edison Su a1e85cdd6d bug 14201: delete duplicate guest os type. status 14201: resolved fixed 2012-03-14 11:49:15 -07:00
Abhi d71ab32900 bug 14218: fixing category for redhat 2012-03-14 17:22:49 +05:30
Abhi 0c180a2cf6 bug 14217: added the missing guest oses 2012-03-14 15:15:53 +05:30
U-aprateek-PC\aprateek 52c3d5c792 bug 14219: 6.0 is now not in beta 2012-03-14 15:06:12 +05:30
Alena Prokharchyk ad1192e264 bug 14239: limit number of Isolated account specific networks per account
status 14239: resolved fixed

Conflicts:

	api/src/com/cloud/api/commands/CreateNetworkCmd.java
	server/src/com/cloud/network/NetworkManagerImpl.java
	server/test/com/cloud/network/MockNetworkManagerImpl.java
2012-03-12 15:53:30 -07:00
kishan 14e2dd67bc Bug 14195: Changed category of Usage and Secure configs 2012-03-12 16:10:05 +05:30
Alena Prokharchyk 681f80cc4d bug 14221: fixed description for default network offering
status 14221: resolved fixed
2012-03-09 11:38:06 -08:00
Alena Prokharchyk 2fb4a97837 bug 14195: fixed category for Project related global config values 2012-03-09 11:19:08 -08:00
Nitin Mehta ce8787ec80 Bug 14199: Add allocated workd to the config values.
Reviewed-By: Kishan
2012-03-09 12:19:36 +05:30
Alena Prokharchyk 8155b63c88 bug 14199: added missing config values during the db upgrade 2012-03-08 14:29:39 -08:00
Alena Prokharchyk 69d269df08 bug 14200: remove skip.steps config param as a part of 2.2.x-3.0 upgrade. Fixed the name for vm.destroy.forcestop config as well 2012-03-08 14:12:24 -08:00
frank e358c45e8a Bug 14170 - 2.2.14(KVM) - 3.0.1 Upgrade: DB inconsistencies after Upgrade
default resource_state should be Enabled
2012-03-08 10:25:34 -08:00
Sheng Yang 5f387762ed bug 14170: Fix issue #7 2012-03-07 16:54:12 -08:00
Alena Prokharchyk 686761686f bug 14170: fixed #4-6 and #9-13 2012-03-07 16:37:24 -08:00
Alena Prokharchyk 4f741c833c bug 14170: issues #1-#3 are fixed 2012-03-07 13:37:16 -08:00
frank 4ff6fdf05f 2214to30 DB upgrade:
directly put simulator_network_label, ovm_network_label when creating physical_network_traffic_types
table
2012-03-06 11:11:48 -08:00
frank a1e0771616 set xen.storage.network.device1 xen.storage.network.device2 to null when upgrade 2012-03-05 15:38:13 -08:00
frank 8890fbd1f8 Bug 14068 - Db upgrade: resource_state is incorrect for the host in UP state after the db upgrade from 2.2.x to 3.0
fix typo
2012-03-05 15:37:53 -08:00
frank 77ba5d0f8e Bug 14068 - Db upgrade: resource_state is incorrect for the host in UP state after the db upgrade from 2.2.x to 3.0
Bug 14099 - Db upgrade for storage network

status 14068: resovled fixed
status 14099: resovled fixed
2012-03-05 15:37:46 -08:00
kishan de997c1e45 Bug 13952: Changed category of Usage configs
Status 13952: resolved fixed
Reviewed-By: Abhi
2012-03-05 18:58:49 +05:30
Alena Prokharchyk 6a1d7e309d More fixes to 2.2.x - 3.0 db upgrade 2012-03-01 18:31:50 -08:00
Sheng Yang 6e95f8a4a0 bug 14085: Upgrade: Update domain_router's Role
status 14085: resolved fixed
2012-03-01 14:58:40 -08:00
kishan 3bf242c664 Drop security group usage table and add again for upgrade 2012-02-29 14:44:58 +05:30
Alena Prokharchyk e01088f4a6 DB upgrade: added missing account_details table 2012-02-28 17:19:17 -08:00
Edison Su 8fb378ac53 fix db upgrade 2012-02-28 17:03:18 -08:00
Edison Su 215bcb1ce6 fix db upgrade 2012-02-28 16:38:53 -08:00
Alena Prokharchyk 6ac729e294 Add is_system field to user_ip_address table during the db upgrade 2012-02-28 16:30:56 -08:00
Sheng Yang 0d2693c1c4 Add element_id for 3.0 upgrade 2012-02-28 16:19:38 -08:00
Edison Su 66b4351caf fix db upgrade 2012-02-28 15:39:32 -08:00
Alena Prokharchyk 9b6c3867c7 Updated test data for db upgrade unittest 2012-02-28 15:27:03 -08:00
Alena Prokharchyk 2eaefc4aa8 Fixed unittest and some issues with 2.2.14-3.0 upgrade 2012-02-28 15:17:14 -08:00
anthony b16eb44a9c bug 13975: use correct hypervsor_version
status 13975: resolved fixed

reviewed-by : edison
2012-02-23 17:05:44 -08:00
Alena Prokharchyk 80a48e7a1a 2.2.x-3.0 upgrade - column name change 2012-02-22 16:38:52 -08:00
Alena Prokharchyk 2e9511e2ae Changed isElastic to isSystem for the publicIpAddress assigned during the vm deployment in EIP enabled network
Reviewed-by: Chiradeep
2012-02-21 15:39:49 -08:00
Sheng Yang 2c27de0042 bug 12974: Update system template info in templates.sql
status 12974: resolved fixed

Reviewed-by: Frank Zhang
2012-02-21 13:50:17 -08:00
frank e7d51ed5b6 Bug 13568 - secondary storage VM's static route for nfs server breaks things!
add DB upgrade script.
Now storage network requires gateway when adding range

reviewed-by: Sheng Yang
2012-02-17 16:24:47 -08:00
frank a1fa313902 Bug 13568 - secondary storage VM's static route for nfs server breaks things!
status 13568: resolved fixed
reviewed-by: Sheng Yang
2012-02-17 16:24:32 -08:00
kishan ced6fd46b8 Bug 12954: Added usage for security groups. Usage will be generated for each security group that is assigned to a Vm.
Status 12954: resolved fixed
Reviewed-By: Nitin
2012-02-17 13:50:18 +05:30
Jessica Tomechak 4d517435b8 Update documentation headers for v3.0 in API Reference. 2012-02-16 02:04:30 -08:00
frank ede4c502f2 Bug 13662 - OVM host remain in Alert state, Unable to create deployment for OVM instance
Bug 13641 - OVM add host to OVM cluster results in host remaining in state: Alert
Bug 13652 - OVM add primary storage to OVM cluster FAIL

making Ovm work on Acton

status 13662: resolved fixed
status 13641: resolved fixed
status 13652: resolved fixed

reviewed-by: edison
2012-02-14 15:12:46 -08:00
Edison Su 1ab89dd436 add cert chain in db, and also open the api to upload a cert chain 2012-02-09 14:56:40 -08:00
Ewan Mellor 22119a33b5 Added build-apidocs-zip build target that generates HTML versions of the
API docs.  Uses XML/XSLT generation system originally by Abhinandan Prateek
(I think).  CSS updates from Jessica Tomechak.  gen_toc.py and build script
changes by me.
2012-02-08 20:40:29 -08:00
prachi 05af078358 Bug 8791 - user dispersing allocator
Changes:
To migrate systems using 'use.user.concentrated.pod.allocation' as true and 'vm.allocation.algorithm' as true, we need to
add following changes:

- There will be 5 values to 'vm.allocation.algorithm': 'random', 'firstfit', 'userdispersing', 'userconcentratedpod_random', 'userconcentratedpod_firstfit'
- 'userconcentratedpod_random' means we apply user concentration to pods and clusters. To hosts and pools we use random ordering.
- 'userconcentratedpod_firstfit' means we apply user concentration to pods and clusters. To hosts and pools we use firstfit ordering.
2012-02-08 17:03:38 -08:00
frank 2b9fe25fcd Bug 13529 - Multiple Management Servers: cloud-setup-databases script fails to execute
status 13529: resolved fixed
2012-02-08 16:58:17 -08:00
Sheng Yang 9317eb6bc3 Revert dynamic cidr change 2012-02-08 15:54:22 -08:00
Sheng Yang 18ec438793 Revert zone guest cidr setting 2012-02-08 15:54:16 -08:00
prachi d0e63bc377 Bug 13099 - table physical-network-traffic-types needs to be updated when xen network device setting is modified in the global settings
Changes:
- DB upgrade changes
-- make the global setting hidden.
-- During upgrade set network labels from global config
2012-02-07 18:41:29 -08:00
Alena Prokharchyk c17e9344a7 bug 13508: fixed inconsistencies in key names during db upgrade
status 13508: resolved fixed
Reviewed-by: Will Chan

Conflicts:

	setup/db/db/schema-2213to2214.sql
2012-02-07 13:40:53 -08:00
Alena Prokharchyk c2bca1a424 bug 13489: when add foreign key, index is created automatically
status 13489: resolved fixed
reviwed-by: Will Chan

Conflicts:

	setup/db/create-schema.sql
2012-02-07 09:47:14 -08:00
Nitin Mehta ce26703e5c Bug 13059: Make DB changes to list top consumed resources for enabled resources only. For this introdiuced a new state called capacity state in the op_host_capacity table and would be updated on every operation of zone pod cluster and host
Reviewed-By: Kishan
2012-02-07 20:53:25 +05:30
Alena Prokharchyk d7b290cb9c bug 13474: fixed 1) 2) and 4)
reviewed-by: Frank

Conflicts:

	server/src/com/cloud/upgrade/dao/Upgrade2213to2214.java
	setup/db/db/schema-2213to2214.sql
2012-02-06 18:35:51 -08:00
Alena Prokharchyk baddd97732 bug 13433: fixed db upgrade for domain_router table
status 13433: resolved fixed
reviewed-by: Sheng Yang

Conflicts:

	setup/db/db/schema-2213to2214.sql
2012-02-06 16:00:52 -08:00
frank 074d33d9f3 DB upgrade for Bug 6849 - Randomize systemvm passwords 2012-02-03 17:40:07 -08:00
kishan 531906f039 Bug 13407: sanity check interval is not applicable in 2214. Moved insert query to 30 upgrade
Reviewed-By: Abhi
2012-02-03 18:01:30 +05:30
kishan a388ed792f Bug 13326: Added is_elastic flag to IP address usage. Added new column in usage_ip_address, defaults to false. size column will contain is_elastic info in cloud_usage table
Status 13326: resolved fixed
Reviewed-By: Nitin
2012-02-03 18:01:30 +05:30
Nitin Mehta deadf815ca Bug 13423: Drop i_op_vm_ruleset_log__instance_id, u_op_vm_ruleset_log__instance_id key (if exists) and re-add u_op_vm_ruleset_log__instance_id again.
Reviewed-By: Kishan
2012-02-03 15:54:48 +05:30
Alena Prokharchyk a8476ac0de bug 12361: 2214-3.0 db upgrade for redundant routers 2012-02-02 14:43:37 -08:00
abhi 44f248b9a5 bug 13407: adding missing conf variables
reviewed-by: kishan
2012-02-02 13:34:03 +05:30
Alena Prokharchyk 78f6fc9e43 bug 12361: Inermediate checkin to 2.2.14-3.0 db upgrade 2012-02-01 16:46:56 -08:00
Alena Prokharchyk 2f17d465dc Fixed 2.2.14-3.0 db upgrade for usage
Added unittest as well
2012-02-01 13:33:53 -08:00
prachi 08bb9eaf47 Bug 11426 - UpdateResourceCount api: don't recalculate the resources for System account
Changes:
- Throw error is anyone tries to update the resource limits for ROOT domain using updateResourceLimit API
- For ROOT domain always return -1 (infinite) limit
- DB upgrade: remove any limits set for ROOT domain
2012-01-31 14:21:03 -08:00
Kelven Yang cb959aa377 bug 13369: recycle roger hung worker VMs in vCenter 2012-01-30 14:21:56 -08:00
Alena Prokharchyk 9219d4c41d bug 12361: more fixes to DB upgrade for network_offerings table
Added unittest for testing network offerings db upgrade
2012-01-30 11:20:13 -08:00
Alena Prokharchyk 3b1db5fa20 bug 13203: removed firewall.rule.ui.enabled global config
status 13203: resolved fixed
2012-01-25 16:49:31 -08:00
anthony 48943f52bf retire centos5.3
introduce centos5.6 with xs-tools
2012-01-24 20:09:00 -08:00
Alena Prokharchyk 8bcf30da85 bug 12869: more changes to NAAS feature 2012-01-20 14:16:30 -08:00
anthony 99cbef154d bug 13187: remove duplicate Red Hat Enterprise Linux 6 os type
status 13187: resolved fixed
2012-01-20 10:54:55 -08:00
Alena Prokharchyk 212c22b256 Added isElastic flag to ip address 2012-01-19 13:58:35 -08:00
Alena Prokharchyk 1d0ffc4575 EnableStaticNat for newly allocated address - if eIp is enabled, and the target vm already assigned to the ip, reassign the vm to the new ip 2012-01-19 13:58:35 -08:00
Alena Prokharchyk 6325d21c50 Get new elasticIp when releaseIpAddress is called for elasticIP of the vm 2012-01-19 13:58:35 -08:00
Alena Prokharchyk ff1e8413f1 1) Added StaticNat/Firewall/Lb capabilities to Netscaler element. Renamed it to "NetscalerElement" from NetscalerLoadBalancingElement as it serves more services now
2) Added elasticIp and elasticLb network capabilities. Provided support to create network offering with these capabilities.
3) Added one more default network offering having elasticip and elasticlb
4) Public network support to Basic zone. You can associate/disassociate IP addresses now
2012-01-19 13:56:59 -08:00
kishan 5d266b3b4b Bug 12072: Add premium configs if they do not exist. Upgrades from OSS will be missing there configs.
Status 12072: resolved fixed
Reviewed-By: Nitin
2012-01-19 12:05:52 +05:30
kishan a068475dcb Bug 12477: Adding missing wait configs to upgrade script
Status 12477: resolved fixed
Reviewed-By: Nitin
2012-01-18 11:32:01 +05:30
Kelven Yang b1376e1f04 bug 13021: add a global configuration variable to let control default network adapter type inside system VMs 2012-01-12 14:21:11 -08:00
kishan b589e49263 Bug 12929: Added domain_id to event table. Populate domain_id while persisting events. Cleanedup EventUtils.
Status 12929: resolved fixed
Reviewed-By: Nitin
2012-01-12 16:16:06 +05:30
frank 20f0e1f86a Bug 13034 - Error when executing cloud-setup-databases
fix typo
2012-01-11 21:02:05 -08:00
frank 676ac955cb Bug 13034 - Error when executing cloud-setup-databases
status 13034: resolved fixed
2012-01-11 20:41:48 -08:00
frank 52610ffcb3 add copyright header to shell scripts 2012-01-11 18:41:53 -08:00
frank 9c1b8ef673 add copyright delcartion to all sql files 2012-01-11 17:31:10 -08:00
frank 82cf4e2a31 Bug 12777 - Add storage network configuration into CloudStack
add DROP statement for new tables according to our code convention guide
http://docs.cloud.com/CloudStack_Documentation/Design_Documents/Coding_Conventions
2012-01-11 13:57:39 -08:00
Nitin Mehta 2ce205725d Change of description text for some global configs 2012-01-11 17:30:24 +05:30
Sheng Yang fb596aa003 bug 12974: Update system template in template.sql 2012-01-10 15:01:28 -08:00
Alena Prokharchyk adaea570e4 bug 12934: added name to physical network
status 12934: resolved fixed
2012-01-09 14:20:37 -08:00
frank 1355a7d622 Bug 12777 - Add storage network configuration into CloudStack
DB upgrade:

update networks set guru_name='StorageNetworkGuru' where traffic_type='Storage';
2012-01-06 16:47:36 -08:00
frank 0526a8f337 Bug 12777 - Add storage network configuration into CloudStack
add DB upgrade schema
2012-01-06 16:08:37 -08:00
frank 51dc4aff80 Bug 12777 - Add storage network configuration into CloudStack
move cidr from op_dc_storage_network_ip_address to dc_storage_network_ip_range
2012-01-06 11:06:18 -08:00
frank f72940e041 Bug 12777 - Add storage network configuration into CloudStack
most finish
2012-01-06 11:06:18 -08:00
frank 0b01c5dc1a Bug 12777 - Add storage network configuration into CloudStack
create APIs
2012-01-06 11:06:17 -08:00
Sheng Yang aa8bf6c135 Make networkoffering.conserve_mode not a required parameter for API
Also fix some NPEs
2012-01-06 11:02:13 -08:00
Sheng Yang d3b4163dac Add conserve_mode change in db upgrade 2012-01-05 21:12:39 -08:00
Sheng Yang 5e60228d2b bug 12656: Add conserve mode for network offering
Conserve mode means, we can use same IP for different purposes, in order to
"conserve" ip resources. But in this offering, all the service providers should
be the same, and the network created from this offering may be prohibited from
update to different network offering whose services are provided by different
service providers - because different service providers would need different IPs
for different services.

If user want to update the "conserve mode" network with the network offering
that has different service providers, each public IP should have only one usage,
only them the update is allowed.
2012-01-05 21:08:23 -08:00
Kelven Yang dcdd87b30f bug 12709: add management server active fencing 2012-01-05 15:00:35 -08:00
kishan 151bbf286d Bug 11823: Added cloud-setup-encryption script for encryption upgrade
Status 11823: resolved fixed
2012-01-05 17:11:35 +05:30
anthony 6c953ebe48 SWIFT : db upgrade 2011-12-28 16:01:10 -08:00
Alena Prokharchyk 1d0429233d bug 12361: db upgrade for network offering22s 2011-12-28 15:52:43 -08:00
frank 54613c3989 add `host`.`update_count` to 2214to30 upgrade script 2011-12-28 15:36:59 -08:00
frank 25c6dac464 deploy cloud_usage when ant deploydb
correct fix
2011-12-28 14:45:16 -08:00
anthony 1f7a811bac SWIFT : sync swift with secondary storage 2011-12-28 11:47:55 -08:00
Alena Prokharchyk ff93f7ec54 Fixed db upgrade for security_group_rules table - at the moment when indexes are dropped, the table is already renamed 2011-12-28 10:34:29 -08:00
Alena Prokharchyk ba1f21c29e Unittest for db upgrade 2011-12-28 10:34:29 -08:00
Naredula Janardhana Reddy 93fcd024a5 Bug 12679: Database Upgrade script added for rp_filter from 2.2.12 to 2.2.13 2011-12-22 11:46:14 +05:30
Abhinandan Prateek 3e5e36e767 bug 12583: updated scripts 2011-12-20 13:24:52 +05:30
Prasanna Santhanam 18f865fc3e Reviving the simulator
* SSVM to act as a direct connect agent
* Storage Resources handle SSVM commands
* create-schema.sql already has simulator_network_label. removing the label from create-schema-simulator.sql
2011-12-19 15:03:19 +05:30
Prasanna Santhanam c3903673bc upgrade schema changes for simulator_name_label on physical_network_traffic_type 2011-12-19 15:03:19 +05:30
Edison Su e60f356f62 set the cpu weight based on cpu * cores 2011-12-15 15:13:33 -08:00
Sheng Yang 67fe67ea8c Fix simulator_network_label in db
Commit 4f904d5fd9dbe5252b7a6075f712e9254059e2c0 "Changes to
PhysicalNetworkTrafficType to accomodate the simulator hypervisor type" broke
master. This patch fixes it.
2011-12-15 11:03:43 -08:00