Alena Prokharchyk
6a9d5a7a0d
ResourceTags: respect tag parameter in listTemplates/listIsos commands
2012-07-06 16:37:40 -07:00
Sheng Yang
6f7a7c5e3e
CS-15470: Remove UNIQUE keyword for some fields
...
User can create/delete/create gateway again and again, then it would no longer
be unique. The unique should be guaranteed by API level.
2012-07-06 11:17:45 -07:00
Alena Prokharchyk
ed63a14d5e
Resource tags: CS-15473 - fixed delete/list by resourceId when UUID is specified as a value
2012-07-06 10:32:24 -07:00
Alena Prokharchyk
d8cdb89721
VPC: added field networkacl_service_provided to physical_network_service_providers table
2012-07-05 13:56:55 -07:00
Alena Prokharchyk
49d8b650e9
VPC: listPrivateGateways command is available for regular user too (he needs to know the gatewayId for the static route creation)
2012-06-29 15:17:17 -07:00
kishan
c4cf065a3f
bug CS-15221: Encrypt config value before changing category to Hidden. Regression due to af1fc1cf5d361cb6d43e0107a644c42f645a0ccc
...
status CS-15221: resolved fixed
reviewed-by: Nitin
2012-06-28 15:54:45 -07:00
kishan
5ac297f88e
bug CS-15091: Removed additional space in category for config param category. Regression due to af1fc1cf5d361cb6d43e0107a644c42f645a0ccc CS-14637
...
status CS-15091: resolved fixed
reviewed-by: Nitin
2012-06-28 15:54:29 -07:00
kishan
a6754a7906
bug CS-15170: Add default zone to account table in cloud_usage table for fresh install also
...
status CS-15170: resolved fixed
reviewed-by: Nitin
2012-06-28 15:52:53 -07:00
kishan
492c3dfe78
bug CS-15170: Add default zone to account table in cloud_usage table
...
status CS-15170: resolved fixed
reviewed-by: Nitin
2012-06-28 15:52:42 -07:00
kishan
e8a211f19c
bug CS-15168: Use cagetory from DB instead of Config.java, set category to Hidden during upgrade if they are not already
...
status CS-15168: resolved fixed
reviewed-by: Nitin
2012-06-28 15:52:29 -07:00
Alena Prokharchyk
90b96642a7
Static route can be created for generic VpcGateway now, not just Private gateway
2012-06-28 13:14:54 -07:00
Sheng Yang
c2c9306ee1
CS-6840: Add tables for site to site VPN use.
2012-06-27 19:05:29 -07:00
Alena Prokharchyk
a539c6e824
VPC: intermidiate checkin to Static Routes
2012-06-25 18:08:19 -07:00
Alena Prokharchyk
b407b8831c
VPC: initial checkin for Static Routes
2012-06-25 15:16:17 -07:00
Alena Prokharchyk
42c17e0131
Fixed apidoc build
2012-06-22 15:20:16 -07:00
Alena Prokharchyk
ba7fddac3b
VPC: implemented add/delete Private gateway
2012-06-22 15:06:58 -07:00
Alena Prokharchyk
0dbd487a22
VPC: implemented delete and list Network ACL(s)
2012-06-20 14:24:30 -07:00
Alena Prokharchyk
bb30a6b6bb
VPC: initial checkin for network ACLs
2012-06-20 12:48:00 -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
Alena Prokharchyk
0b5ed6ef57
Api docs: added category for resource tags commands
2012-06-14 15:26:27 -07:00
Alena Prokharchyk
c40839599c
Initial checkin for resource tags feature
2012-06-12 10:59:56 -07:00
Alena Prokharchyk
ebbbb3b343
Fixed create-schema.sql
2012-06-11 09:41:40 -07:00
Alena Prokharchyk
cf1882a2c8
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-10 12:31:47 -07:00
Alena Prokharchyk
460bab4a7d
Support for adding private network
2012-06-05 10:57:29 -07:00
Alena Prokharchyk
69274542c2
CS-15197: correct default value for service_offering.nw_rate
...
Reviewed-by: Will Chan
2012-06-04 19:20:50 -07:00
Vijayendra Bhamidipati
a234773d60
CS-15181: Remove stale global config parameters from upgrade script
...
reviewed-by: Vijay
Description:
Removing stale global config params.
2012-05-31 14:04:59 -07:00
Alena Prokharchyk
d3b1925e55
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-05-25 15:34:51 -07:00
Alena Prokharchyk
98f488e930
CS-15089: cloud-sysvmadm - fixed broken parsing in queryAsyncJobResult part of the code
...
reviewed-by: Frank Zhang
2012-05-25 10:15:39 -07:00
Vijayendra Bhamidipati
a48a3bbfbd
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.
2012-05-23 16:53:27 -07:00
Alena Prokharchyk
44b88e093f
CS-15070: remove invalid refs from storage_pool_host_ref
2012-05-23 14:50:03 -07:00
Ewan Mellor
42773d8a33
Added a category declaration for CiscoNexus (I put it in the Network category)
...
and improved the exception.
2012-05-23 12:03:48 -07:00
Devdeep Singh
5062643dd9
CS-9919: Changes to integrate UI changes for nexus feature.
...
Reviewed by: Sateesh, Pranav.
2012-05-23 18:56:49 +05:30
Vijayendra Bhamidipati
f3169e616f
CS-9919: Support for Nexus Swiches (Cisco Vswitches)
...
Description:
Modifying column names in db tables to
adhere to naming conventions.
2012-05-22 19:13:43 -07:00
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
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
Vijayendra Bhamidipati
77e914bc0a
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.
2012-05-21 12:25:13 -07:00
Alena Prokharchyk
0e1b5901dc
Set networkId as a join parameter in DomainRouterDaoImpl as networkId was moved to the helper table
2012-05-18 18:26:44 -07:00
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
Edison Su
59c382e4af
CS-14703 fixed
2012-05-18 15:04:10 -07:00
Alena Prokharchyk
978c2f414a
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
2012-05-17 18:08:03 -07:00
Edison Su
3ad0ea93a6
CS-14703 fixed
2012-05-17 14:30:58 -07:00
Edison Su
89cb26c4ea
CS-14703 fixed
2012-05-17 13:53:54 -07:00
Nitin Mehta
8d12f09c75
bug CS-14931: Put in 'Disk' during upgrade for putting in disk offerring
2012-05-16 18:46:52 +05:30
Nitin Mehta
b822de268c
bug CS-14249: cluster.localStorage.capacity.notificationthreshold text is incorrect
2012-05-16 11:27:27 +05:30
kishan
7730466738
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:28:35 +05:30
kishan
8407643da8
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
2012-05-15 12:02:52 +05:30
Sateesh Chodapuneedi
b7196a566e
CS-9919 Support for Nexus Swiches (Cisco Vswitches)
...
Description:
Cleanup upgrade script.
2012-05-14 18:49:19 -07:00
Sateesh Chodapuneedi
d8685d9e68
CS-9919 Support for Nexus Swiches (Cisco Vswitches)
...
Description:
Modified upgrade script to include new global
configuration parameters.
2012-05-14 18:48:10 -07:00
Vijayendra Bhamidipati
de30d66fd8
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-14 18:42:29 -07:00
Vijayendra Bhamidipati
978732ead9
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-14 18:41:02 -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
Vijayendra Bhamidipati
f43968c4a9
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.
2012-05-14 18:21:21 -07:00
Sheng Yang
5c8d968eea
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:43:07 -07:00
Salvatore Orlando
f33fb0f6ab
CS-14741: Reverting db upgrade script from 2.2.14 to 3.0 to commit 72b5a94af8
2012-05-09 13:59:36 +01:00
Rajesh Battala
44f3846168
Modified S3RestServlet to turn down request if enable.s3.api is false. Changed upgrade script for S3 API Feature
2012-05-09 15:25:39 +05:30
prachi
53ff666788
Changes to Upgrade script for EC2 API feature.
2012-05-08 16:13:04 -07:00
Abhi
637ed8ce26
bug CS-14515: adding centos 5.7 to supported os, supported in xen 6.0.2
2012-05-03 12:30:32 +05:30
JohnZ
ef2c7423f1
S3 API merged branch
2012-05-02 15:51:10 +01:00
Salvatore Orlando
486d962f09
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 13:14:47 +01:00
Nitin Mehta
9b1fd4d414
bug CS-10789: Some upgerade change that tdidnt get merged.
2012-05-02 11:47:32 +05:30
Nitin Mehta
77f1db5e41
bug CS-10789: Some upgerade change that tdidnt get merged.
2012-05-02 11:41:53 +05:30
Nitin Mehta
540f4e1431
bug CS-10789: Put zone id in the volumehost ref table. make list volume to show the percent uploaded.
2012-05-01 18:36:31 +05:30
Edison Su
1926df31e5
fix db upgrade
2012-05-01 13:34:56 +01:00
Alena Prokharchyk
0077234576
Fixed unittest and some issues with 2.2.14-3.0 upgrade
2012-05-01 13:34:05 +01:00
Alena Prokharchyk
3a3dbd2465
2.2.x-3.0 upgrade - column name change
2012-05-01 13:15:22 +01:00
Likitha Shetty
6ab04076b5
Implementation of api 'markDefaultZoneForAccount'(to enable a user to mark a zone as default for an account).
...
reviewed-by: prachi
2012-04-30 17:08:32 -07:00
frank
e6a60dfdc3
CS-14610
...
Management server not able to connect to DB when there is no password set for cloud user/ if password is set to anything other than 'cloud'
fixed
2012-04-30 17:08:22 -07:00
frank
0f542545e3
fix cloudbridge setup database script
2012-04-30 17:08:21 -07:00
frank
2f87c2212f
merge cloud-setup-bridge-db to cloud-setup-databases
2012-04-30 17:08:08 -07:00
Nitin Mehta
6a056ad139
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-30 11:14:43 +05:30
Nitin Mehta
2d7471adb5
Bug 10808: More changes for uploadVolume. Create framework for upload volume progress communication between MS and SSVM.
2012-04-30 09:46:23 +05:30
Alena Prokharchyk
f27a0a0386
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:15:58 -07:00
Salvatore Orlando
ce56ddf75a
CS-14606: Restoring config parameter which was accidentally removed
2012-04-27 17:13:10 +01:00
Salvatore Orlando
6e024e945d
CS-14606: Change name for config parameter
2012-04-27 16:38:33 +01:00
Alena Prokharchyk
62093a4308
CS-14633: db upgrade - remove config values that no longer exist on fresh setup
2012-04-26 11:05:50 -07:00
Alena Prokharchyk
7e4c5e1267
CS-14637: db upgrade - fixed inconsistencies in category/component fields for a bunch of global config variables
2012-04-26 10:09:53 -07:00
Alena Prokharchyk
12255db122
CS-14629: added missing global config variables
...
Conflicts:
setup/db/db/schema-301to302.sql
2012-04-25 13:43:40 -07:00
Salvatore Orlando
fc3eaad0c6
CS-14605: OVS cleanup
...
DB scripts cleanup
2012-04-25 18:11:04 +01:00
Alena Prokharchyk
319d4c5cfd
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:14 -07:00
Salvatore Orlando
56d496ac60
CS-14619: Add missing INSERT statements
2012-04-24 15:58:57 +01:00
Salvatore Orlando
5c58aeaa04
CS-14613: syntax error in create-schema.sql for 3.0.x
2012-04-24 10:34:12 +01:00
Salvatore Orlando
2459b16b81
Adding ovs_tunnel_interface to schema;
...
adding new tables to update script (3.0.2 to 3.0.3)
Conflicts:
setup/db/db/schema-2214to30.sql
setup/db/db/schema-302to303.sql
2012-04-24 02:20:39 +01:00
Salvatore Orlando
8c398654d3
Open vSwitch tunnel manager
...
Applying patch with new ovs-tunnel-manager on top of cloudstack oss-master
Conflicts:
api/src/com/cloud/network/ovs/OvsCreateTunnelAnswer.java
2012-04-24 02:20:37 +01:00
Alena Prokharchyk
47a1527719
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:24 -07:00
Alena Prokharchyk
74aa4974c0
CS-14589: change engine and row_format for op_lock op_nwgrp_work during the db upgrade
2012-04-23 10:55:15 -07:00
Alena Prokharchyk
7d3eea8225
Fixed db upgrade for 2.1-3.0
2012-04-20 12:00:24 -07:00
Alena Prokharchyk
d51d018a1b
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:41 -07:00
Alena Prokharchyk
b142911515
Fixed spelling mistake in db upgrade script
2012-04-18 14:28:08 -07:00
Alena Prokharchyk
1584a26ef9
CS-14558: db upgrade - fixed inconsistencies fresh vs upgraded 3.0.2 build
2012-04-18 13:27:59 -07:00
Alena Prokharchyk
c652a4b15f
CS-14480: db upgrade 3.0.1-3.0.2 - fixed upgrade inconsistencies in default fields values
2012-04-16 16:04:32 -07:00
kishan
72b5a94af8
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:16:01 +05:30
Alena Prokharchyk
c5a9c6c556
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:58:49 -07:00
kishan
ff2252b347
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 13:54:12 +05:30
Alena Prokharchyk
6a30005493
Fixed 2.2.14 to 3.0. upgrade
...
Conflicts:
setup/db/db/schema-30to301.sql
2012-04-11 18:01:08 -07:00
frank
78e72df13f
set resource_state = allocation_state when doing DB upgrade
2012-04-11 17:47:42 -07:00
Sheng Yang
419faa1f90
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:32 -07:00
frank
2530ea17dd
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:15 -07:00
Sheng Yang
2252d6db1c
Fix foreign key "fk_domain_router__element_id" in the upgrade
2012-04-11 16:50:38 -07:00
frank
3e968d2b9d
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:41 -07:00
Alena Prokharchyk
be04f2bd63
Remove obsolete network_tags table as a part of db upgrade cleanup
2012-04-11 16:23:39 -07:00