Min Chen
30941c2d31
api: Refactoring ListEventsCmd and EventResponse, and create Event db view.
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-07 16:54:45 -08:00
Min Chen
acf7afd7f5
api: Refactor ResourceTagResponse and ListTagsCmd, add db view for ResourceTag.
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-07 09:57:52 -08:00
Min Chen
2bbd023eb6
api: Add SecurityGroup DB view creation into db create_schema and fix a bug in ListSecurityGroupsCmd
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-07 09:45:16 -08:00
Min Chen
b0ce8fd4ff
api: Optimize and improve api, db call perfomance
...
This is part 1 of list API refactoring. Commands covered:
listVmsCmd, listRoutersCmd Response covered:
UserVmResponse, DomainRouterResponse. DB views created:
user_vm_view, domain_router_view.
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-05 20:06:20 -08:00
Edison Su
e436d4327f
create volume from template unit test is passed
2012-11-26 11:42:34 -08:00
Edison Su
550f4fbcdc
create template/primary data store is done
2012-11-20 18:57:19 -08:00
Vijay Venkatachalam
527b5c8ee2
Autoscale: Supporting network element independent counter parameters Reviewed-By:Devdeep
2012-11-16 10:57:00 +05:30
Vijay Vekatachalam
35b0e086d4
enable Autoscale VMs to be named as Autoscale-LB-<lbname>
2012-11-16 10:56:59 +05:30
Vijay Venkatachalam
58db4d0d88
CS-15729:AutoScale. Aligning the NetScaler response time counter, and correcting duration check against interval
2012-11-16 10:56:57 +05:30
Deepak Garg
25b853b7d5
CS-16052 Introducing data-base indexes for autoscale db schema
2012-11-16 10:56:56 +05:30
Vijay
f96810b9ae
AutoScale. Adding default counters
...
Conflicts:
server/src/com/cloud/server/ConfigurationServerImpl.java
setup/db/create-schema.sql
setup/db/db/schema-304to305.sql
2012-11-16 10:56:44 +05:30
Vijay
dda4d39b55
AutoScale changes in Apache master
2012-11-16 10:56:44 +05:30
Alex Huang
50f175e3f9
Finally got rid of create-index-fk.sql. Merged everything into create-schema.sql
2012-11-01 13:40:16 -07:00
Rohit Yadav
6c6d036447
CLOUDSTACK-196: cloud-set-guest-password enhancement to support Debian
...
(and derivatives)
Synced fix on setup/bindir/cloud-set-guest-password.in too.
Note: we've duplicate files, one in tools
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-10-28 15:39:42 +05:30
Rohit Yadav
3663af1434
cloud-setup-databases: modify try-except-finally for < python 2.4
...
Make cloud-setup-databases compatible to python 2.4 and before.
Add code Prasanna Santhanam <tsp@apache.org>
Partially revert a6dcd7af49 which removed
the fix for CLOUDSTACK-199: Fix how cloud-setup-databases parses
Patch splits by right most @ in supplied argument to get
user:password and host substrings.
Less than python <2.4 the following is unsupported and produces a
SyntaxError.
try:
...code ...
except ValueError:
...code ...
finally:
...code ...
Workaround is the following
try:
try:
...code ...
except ValueError:
...code ...
finally:
Credits to Prasanna Santhanam <tsp@apache.org>
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-10-26 14:20:37 +05:30
Edison Su
ad3e98c1eb
@DB works on spring
2012-10-25 10:27:22 -07:00
Rohit Yadav
947d8cc6de
CLOUDSTACK-374: Allow users to choose mgmt server host
...
Users can now explicitly specify cluster management server node IP.
Example:
cloud-setup-database user:passwd@dbhost -i 192.168.1.10, or
cloud-setup-database user:passwd@dbhost --mshost 192.168.1.10
Also, strips off trailing whitespaces.
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-10-22 16:56:50 +05:30
Edison Su
b57be3389e
add apidocs/devcloud projects
2012-10-21 00:01:47 -07:00
Kishan Kavala
f0f33bf4da
Added Mock ApiServer, Regions API calls with api keys
2012-10-17 14:16:36 +05:30
Hugo Trippaers
c07d6d28ee
Merge branch 'nicira-l3support'
...
This commit merges the nicira-l3support branch with master. This
effectively adds nicira nvp l3 support to master. The NiciraNVP Provider
can support the following services with this modification: Connectivity,
SourceNat, StaticNat and PortForwarding
Testing done:
Create, Delete network offerings with Nicira Element
Use Gui to add, modify, remove Nicira Element and Provider
Provision, deprovision SourceNat networks
Provision, deprovision Portforwarding and StaticNat rules
Tested with Nicira NVP release 2.1.0, 2.2.0 and 2.2.1 (2.2.x recommended)
2012-10-12 14:15:17 +02:00
Kelven Yang
5fee891162
merge from master
2012-10-11 17:42:25 -07:00
Ilya Musayev, CloudSand.com
77ba46e322
CLOUDSTACK-321: Fixed a bug in cloud-set-guest-*.in
...
Fixed a bug in cloud-set-guest-sshkey.in to properly check the
SSHKEY_SERVER_IP variable
2012-10-12 01:20:15 +05:30
Alena Prokharchyk
339aa41442
CLOUDSTACK-304: Synchronization support for createSnapshot command - don't sent more than "concurrent.snapshots.threshold.perhost" createSnapshots commands to the backend host.
...
Conflicts:
core/src/com/cloud/async/AsyncJobVO.java
core/src/com/cloud/async/SyncQueueVO.java
server/src/com/cloud/api/ApiDispatcher.java
server/src/com/cloud/api/ApiServer.java
server/src/com/cloud/async/AsyncJobManagerImpl.java
server/src/com/cloud/async/SyncQueueManager.java
server/src/com/cloud/async/SyncQueueManagerImpl.java
server/src/com/cloud/async/dao/SyncQueueDao.java
server/src/com/cloud/storage/snapshot/SnapshotSchedulerImpl.java
server/test/com/cloud/async/TestSyncQueueManager.java
setup/db/create-schema.sql
2012-10-10 13:40:00 -07:00
Hugo Trippaers
4e1a2e4ab3
[CLOUDSTACK-283] Add Nicira NVP calls to the api docs
2012-10-08 23:07:43 +05:30
Alex Huang
13d771e57e
it's 1.9.0 not 1.9....duh
2012-10-08 01:52:02 -07:00
Alex Huang
135f5dcfe9
Fixed more problems with aws
...
Conflicts:
setup/bindir/cloud-setup-encryption.in
2012-10-08 00:59:47 -07:00
Alex Huang
0ec3422122
Changed the jar file to 1.9
2012-10-08 00:07:19 -07:00
Alex Huang
0827fb7029
Checked in the license
2012-10-08 00:07:10 -07:00
frank
a6dcd7af49
CloudStack CLOUDSTACK-257
...
AWS Api is not correctly deployed
fix cloud-setup-databases for awsapi
2012-10-08 00:06:04 -07:00
John Kinsella
a964d7859e
Ensuring system user has password set.
2012-10-07 12:51:52 -07:00
frank
7282f4355a
port fix for CS-16214
2012-10-05 19:41:51 -07:00
Edison Su
62153bba86
CLOUDSTACK-273: backport fixes from 3.0.x branch: 70d41f103b
2012-10-05 19:21:38 -07:00
Hugo Trippaers
f6ab8b4344
[CLOUDSTACK-268] Add quotes to input
2012-10-06 00:00:59 +02:00
Kishan Kavala
89779cceb8
Merge branch 'master' into regions
...
Conflicts:
api/src/com/cloud/api/ApiConstants.java
api/src/com/cloud/api/ResponseGenerator.java
client/tomcatconf/commands.properties.in
core/src/com/cloud/user/UserVO.java
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/user/AccountManagerImpl.java
setup/db/create-schema.sql
2012-10-03 14:09:01 +05:30
Hugo Trippaers
dd68a00338
Persist the uuid of the logical router once created
2012-09-27 22:16:11 -07:00
Kishan Kavala
4fcf64dd74
updated regions branch with changes from master
2012-09-27 17:04:59 +05:30
Rohit Yadav
f2e0fa230d
CLOUDSTACK-199: Fix how cloud-setup-databases parses user:password@host
...
Patch splits by right most @ in supplied argument to get user:password
and host substrings.
Signed-off-by: Rohit Yadav <rohit.yadav@citrix.com>
2012-09-26 15:40:21 +05:30
Mice Xia
7e75140537
CLOUDSTACK-204 Setting global config 'consoleproxy.service.offering' causes mgmt failed to start
2012-09-26 14:05:37 +08:00
David Nalley
d9757eb45e
updating version number in api documentation
2012-09-25 20:21:00 -04:00
Hugo Trippaers
21ee8982a1
Add a proper contraint to the nicira nic map
2012-09-22 11:29:39 +02:00
Alex Huang
387c6fc135
Merge branch 'master' into javelin
2012-09-17 15:31:37 -07:00
Prasanna Santhanam
6e9d7aa45b
property files and build file fixes for simulator db changes
2012-09-17 17:33:26 +05:30
Jie Feng
c9aa08350a
[DOC] docbook conversion - choosing a deployment architecture
2012-09-13 16:12:06 -04:00
Alex Huang
db9cc97ab3
Brought over new changes from master
2012-09-13 11:43:22 -07:00
Manikanta Kattamuri
cfc2b85651
Removing eclipse .classpath and .project files as they are configured to ant build and adding the entries into .gitignore to stop further comitting of the files
...
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2012-09-13 14:18:14 -04:00
Saksham Srivastava
a56631bc66
bug CS-15278: Added global setting login.attempts.allowed which defines the maximum incorrect password attempts allowed.
...
Also after the maximum attempts are reached the user account is disabled
2012-09-12 19:35:24 +05:30
Koushik Das
2404d3493d
CS-14277
...
Support for local data disk. Currently enable/disable config is at zone level, in subsequent checkins it can be made more granular.
Following changes are made:
- Create disk offering API now takes an extra parameter to denote storage type (local or shared). This is similar to storage type in service offering.
- Create/delete of data volume on local storage
- Attach/detach for local data volumes. Re-attach is allowed as long as vm host and data volume storage pool host is same.
- Migration of VM instance is not supported if it uses local root or data volumes.
- Migrate is not supported for local volumes.
- Zone level config to enable/disable local storage usage for service and disk offerings.
- Local storage gets discovered when a host is added/reconnected if zone level config is enabled. When disabled existing local storages are not removed but any new local storage is not added.
- Deploy VM command validates service and disk offerings based on local storage config.
- Upgrade uses the global config 'use.local.storage' to set the zone level config for local storage.
(cherry picked from commit 62710aed37606168012a0ed255a876c8e7954010)
2012-09-11 17:38:15 -07:00
Prachi Damle
176259e7d5
deadlock on host_details: Missed adding the unique key constraint needed on host_details table in create_schema
2012-09-11 17:33:01 -07:00
Koushik Das
65eeeaf071
CS-14277
...
Support for local data disk. Currently enable/disable config is at zone level, in subsequent checkins it can be made more granular.
Following changes are made:
- Create disk offering API now takes an extra parameter to denote storage type (local or shared). This is similar to storage type in service offering.
- Create/delete of data volume on local storage
- Attach/detach for local data volumes. Re-attach is allowed as long as vm host and data volume storage pool host is same.
- Migration of VM instance is not supported if it uses local root or data volumes.
- Migrate is not supported for local volumes.
- Zone level config to enable/disable local storage usage for service and disk offerings.
- Local storage gets discovered when a host is added/reconnected if zone level config is enabled. When disabled existing local storages are not removed but any new local storage is not added.
- Deploy VM command validates service and disk offerings based on local storage config.
- Upgrade uses the global config 'use.local.storage' to set the zone level config for local storage.
(cherry picked from commit 62710aed37606168012a0ed255a876c8e7954010)
2012-09-11 17:22:43 +05:30
Prachi Damle
5629165877
deadlock on host_details: Missed adding the unique key constraint needed on host_details table in create_schema
2012-09-06 16:35:28 -07:00
Alex Huang
1d0a10c69e
Merged master over to javelin to get new poms and maven build
2012-09-05 14:31:24 -07:00
Edison Su
caebc0ce74
fix rpm installation
2012-09-04 22:30:24 -07:00
Mice Xia
dd07d1598f
Fix Bug CloudStack-9 can not change OS preference from OS to none
2012-09-04 20:51:03 +08:00
Hugo Trippaers
afb05ef3dc
Fix the right file
2012-08-31 14:30:25 +02:00
Hugo Trippaers
db4a435a84
Add mysql-connector-java to the classpath
2012-08-31 13:26:38 +02:00
Alex Huang
6309253de1
Deleted some useless files
2012-08-30 09:59:25 -07:00
Gavin Lee
d3921139ed
Patch from Gavin Lee: Change license to ASL2.0 in server and tools
...
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2012-08-30 10:36:29 -04:00
Hugo Trippaers
0d7601d2d7
Add a limit statement to the subquery
2012-08-27 09:14:38 +02:00
Kelven Yang
9a51ff3bfc
Maven worksplace fixes/patches from Darren
2012-08-23 14:26:27 -07:00
Abhinandan Prateek
cebd9444be
fixing the xen systemvm template guest os to reflect the right one
2012-08-23 12:25:46 +05:30
Chip Childers
e0f505e36f
Patch from Greg Burd: Improve portability of the build-apidoc.sh script by replacing readlink
...
Review: https://reviews.apache.org/r/6733/
Testing: Applied patch, and ran 'ant clean-all build-apidocs'
on both OSX and Ubuntu 12. Initial testing confirmed the issue
that Greg discovered on OSX. After the patch, the docs built
correctly.
2012-08-22 15:33:17 -04:00
Sheng Yang
6ec5bdbab6
S2S VPN: CS-16035: Add missing global configuration items
2012-08-17 16:52:06 -07:00
Edison Su
87378c3f3a
add db upgrade for ha.workers
2012-08-17 13:15:49 -07:00
Alena Prokharchyk
0c0165e19b
CS-16037: db upgrade - fixed component/category/description fields for several global configs
2012-08-16 15:03:16 -07:00
Sheng Yang
cbcd5cace1
S2S VPN: Add db upgrade
2012-08-13 17:37:51 -07:00
Alena Prokharchyk
7120ce0717
Fixed version number in upgrade script comment (replaced 3.0.3 with 3.0.2)
2012-08-13 16:50:06 -07:00
Alena Prokharchyk
4433c5a51a
Database upgrade from 302 to 40
2012-08-13 16:20:09 -07:00
Sheng Yang
48b46fce5c
S2S VPN: Fix db schema issue
2012-08-13 10:26:34 -07:00
Alena Prokharchyk
32f55f3e3c
Merge branch 'master' into vpc
2012-08-12 10:22:54 -07:00
Koushik Das
9adf91f7b9
CS-15879 Removed safe update flag as it is a client only setting
2012-08-12 16:34:02 +05:30
Alena Prokharchyk
ccac505944
Merge branch 'master' into vpc
2012-08-10 10:47:49 -07:00
Chip Childers
0ad8118562
Fixed three .classpath license header issues
2012-08-09 14:21:06 -04:00
Kelven Yang
3a6d890741
Commit for review-request: https://reviews.apache.org/r/6458/
2012-08-08 17:18:31 -07:00
Alena Prokharchyk
048c5e50cf
Merge branch 'master' into vpc
...
Conflicts:
utils/test/com/cloud/utils/component/MockComponentLocator.java
2012-08-08 11:50:39 -07:00
Mice Xia
a74c6e3104
fix CS-15814 Description of global configuration 'encode.api.response' is incorrect
2012-08-08 16:29:53 +08:00
Chip Childers
cc46d1cf3b
Adding setup/.classpath
2012-08-07 14:52:20 -04:00
Alena Prokharchyk
5a72044dc7
Merge branch 'master' into vpc
2012-08-03 14:30:54 -07:00
Chip Childers
2930eef00c
License header updates for the setup folder.
2012-08-03 09:49:02 -04:00
Alena Prokharchyk
0e0b75a041
Merge branch 'master' into vpc
...
Conflicts:
api/src/com/cloud/api/ApiConstants.java
2012-08-02 18:45:37 -07:00
mice xia
895b6a3e4b
CS-15780 Global configuration 'account.cleanup.interval' is used by event purge thread
...
changes:
add a new global configuration event.purge.interval for event purge thread
leave account.cleanup.interval only for account cleanup thread.
2012-08-02 21:50:44 +05:30
Alena Prokharchyk
ce9f1afa78
Merge branch 'master' into vpc
...
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
2012-08-01 19:04:28 -07:00
Koushik Das
3f571684aa
CS-15631 : Support for up to 16 VDIs per VM on XS 6.0 and above
...
Support for up to 16 VDIs per VM on XS 6.0 and above (16 VDIs => root + cd + 14 data volumes). Currently in CS number of data disk that can be attached to VM is hard-coded to 6. Made this setting configurable by moving it to hypervisor capabilities. Although XS 6.0 and above supports upto 16 VDIs but while testing on XS 6.0.2 found that only 13 data volumes can be attached to a VM. So for XS 6.0 and 6.0.2 max_data_volumes_limit is set to 13 currently.
Signed-off-by: Koushik Das <Koushik.Das@citrix.com>
2012-08-01 19:39:30 +05:30
Nitin Mehta
85398bb2e0
bug CS-13935: correcting description for create.volume.from.snapshot.wait global setting
...
Reviewed-by: Kishan
2012-08-01 18:16:01 +05:30
Alena Prokharchyk
7706a9c32f
Merge branch 'master' into vpc
...
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/rules/RulesManagerImpl.java
2012-07-31 13:37:28 -07:00
Prasanna Santhanam
3610401edc
Fail with non-zero exit code when toc category missing
2012-07-31 17:23:41 +05:30
Prasanna Santhanam
911261a2ce
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack
2012-07-31 16:40:04 +05:30
Rohit Yadav
b4b1a38f7e
Fix typo in create-schema.sql. comma at EOL
2012-07-31 16:39:50 +05:30
Hugo Trippaers
420f08ab4a
Add changes in rrq 5839 to the update script
2012-07-31 09:41:14 +02:00
David Nalley
0829ee164a
removing lots of web tracking stuff from apidocs stylesheets
2012-07-30 10:42:53 -04:00
David Nalley
048bd2e498
fixing copyright notices on apidocs
2012-07-30 10:32:07 -04:00
Hugo Trippaers
894407caa9
rrq 5839: This table should not have a contraint on device and physical network id. This is dealt with in the code and by using the removed field.
2012-07-30 08:46:56 +02:00
Wido den Hollander
5789cd94a5
setup: Update 3.0.3 to 4.0.0 SQL update file
...
I noticed that we have pending changes for the resource tags and Nicira integration.
Adding them as a precaution, so they don't get lost.
2012-07-27 23:37:45 -04:00
Sheng Yang
72a4b2f410
S2S VPN: Add name field for customer gateway
...
Easier for user to identify the correct gateway
2012-07-27 16:27:36 -07:00
Alena Prokharchyk
a39fd61249
Merge branch 'master' into vpc
...
Conflicts:
server/src/com/cloud/network/rules/RulesManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineGuru.java
2012-07-27 13:47:46 -07:00
Wido den Hollander
38a140ecb4
setup: Update 3.0.3 to 4.0.0 SQL update file
...
I noticed that we have pending changes for the resource tags and Nicira integration.
Adding them as a precaution, so they don't get lost.
2012-07-27 08:53:44 +02:00
Wido den Hollander
bf2e3d6ae1
setup: Initiate SQL upgrade file from 3.0.3 to 4.0.0
...
This only adds the user_info column to the storage_pool table, but we'll probably have more SQL changes coming up.
They can all go into this file.
2012-07-26 23:03:34 +02:00
Wido den Hollander
406fd95d87
Add RBD support for primary storage
...
This patch adds RBD (RADOS Block Device) support for primary storage in combination with KVM.
To get this patch working you need:
- libvirt-java 0.4.8
- libvirt with RBD storage pool support (>0.9.13)
- Qemu with RBD support (>0.14)
The primary storage does not support all the functions of CloudStack yet, for example snapshotting is disabled
due to the fact that backupping up a RBD snapshot is not possible in the way CloudStack wants to do it.
Creating templates from RBD volumes goes well, creating a VM from a template however is still a hit-and-miss.
NFS primary storage is also still required, you are not able to run your System VM's from RBD, they will need
to run on NFS.
Other then these points you can run instances with RBD backed disks.
2012-07-26 22:22:26 +02:00
Sheng Yang
7d68e33323
S2S VPN: Use source NAT ip address for VPN gateway
...
Conflicts:
api/src/com/cloud/api/commands/CreateVpnGatewayCmd.java
server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManagerImpl.java
server/src/com/cloud/network/vpc/VpcManagerImpl.java
2012-07-23 14:44:05 -07:00
Sheng Yang
671475242c
S2S VPN: Add domain and account for VPN
...
Admin can add VPN connection for others
Conflicts:
api/src/com/cloud/api/commands/CreateVpnConnectionCmd.java
server/src/com/cloud/api/ApiResponseHelper.java
setup/db/create-schema.sql
2012-07-23 14:40:26 -07:00
Sheng Yang
52c145dc46
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-23 14:36:22 -07:00
Alena Prokharchyk
a1acfd3bfa
Merge branch 'master' into vpc
...
Conflicts:
api/src/com/cloud/api/ApiConstants.java
api/src/com/cloud/network/Network.java
client/tomcatconf/components.xml.in
plugins/network-elements/elastic-loadbalancer/src/com/cloud/network/lb/ElasticLoadBalancerManagerImpl.java
server/src/com/cloud/consoleproxy/AgentBasedConsoleProxyManager.java
server/src/com/cloud/consoleproxy/ConsoleProxyManagerImpl.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/guru/GuestNetworkGuru.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
server/src/com/cloud/storage/secondary/SecondaryStorageManagerImpl.java
setup/db/create-schema.sql
2012-07-13 13:52:58 -07:00
Hugo Trippaers
79c7da07ab
Phase 1 of Nicira integration
2012-07-11 17:16:06 -07:00
Alena Prokharchyk
7cb4ab5e60
VPC: added State to vpc_gateways
2012-07-11 12:05:42 -07:00
Alena Prokharchyk
911ed25fbc
Merge branch 'master' into vpc
2012-07-09 18:31:28 -07:00
Alena Prokharchyk
21519070fc
VPC: added vpc_id to private_ip_address table to indicate which vpc the ip belongs to
...
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/vpc/VpcManager.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
server/test/com/cloud/network/MockNetworkManagerImpl.java
2012-07-09 18:23:35 -07:00
Edison Su
fa414bbf0a
It's due to replace.properties is missing, by default the password is cloud for user cloud
...
Revert "removing unneeded password from cloud-dev setup-script"
This reverts commit f157b702e4 .
2012-07-09 11:48:43 -07:00
David Nalley
f157b702e4
removing unneeded password from cloud-dev setup-script
2012-07-08 22:14:20 -04:00
Alena Prokharchyk
63d6941bdc
ResourceTags: respect tag parameter in listTemplates/listIsos commands
...
Conflicts:
server/src/com/cloud/storage/dao/VMTemplateDao.java
server/src/com/cloud/storage/dao/VMTemplateDaoImpl.java
2012-07-06 16:59:14 -07:00
Alena Prokharchyk
353423acec
Merge branch 'master' into vpc
...
Conflicts:
api/src/com/cloud/api/commands/ListFirewallRulesCmd.java
api/src/com/cloud/api/response/FirewallResponse.java
api/src/com/cloud/api/response/IPAddressResponse.java
server/src/com/cloud/api/ApiDBUtils.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/dao/FirewallRulesDaoImpl.java
server/src/com/cloud/network/dao/NetworkDaoImpl.java
server/src/com/cloud/server/ManagementServerImpl.java
2012-07-06 12:04:10 -07:00
Alena Prokharchyk
85677b71fe
Resource tags: CS-15473 - fixed delete/list by resourceId when UUID is specified as a value
...
Conflicts:
server/src/com/cloud/network/dao/FirewallRulesDaoImpl.java
server/src/com/cloud/network/vpc/Dao/StaticRouteDaoImpl.java
server/src/com/cloud/network/vpc/Dao/VpcDaoImpl.java
server/src/com/cloud/projects/dao/ProjectDaoImpl.java
2012-07-06 11:43:31 -07:00
Alena Prokharchyk
d33429783f
Fixed deploydb
2012-07-06 11:18:16 -07:00
Alena Prokharchyk
234ae447ee
VPC: added field networkacl_service_provided to physical_network_service_providers table
2012-07-06 11:08:39 -07:00
Edison Su
27e9cdbece
add console proxy support for devcloud
2012-07-03 23:38:39 -07:00
Alena Prokharchyk
31f9d718fb
Merge branch 'master' into vpc
...
Conflicts:
server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
2012-07-03 17:32:50 -07:00
Edison Su
57927c9f23
From: jason.bausewein@tier3.com
...
Updated script to create cloud_usage database similar to deploy-db-dev.sh.
2012-07-03 15:16:51 -07:00
kishan
6a1b0f3ecf
Add Region APIs
2012-07-03 13:05:19 -07:00
Alena Prokharchyk
b565f63e42
VPC: listPrivateGateways command is available for regular user too (he needs to know the gatewayId for the static route creation)
...
Conflicts:
api/src/com/cloud/api/ResponseGenerator.java
server/src/com/cloud/api/ApiResponseHelper.java
2012-07-02 17:44:28 -07:00
Sheng Yang
78b31bb7db
CS-6840: Add tables for site to site VPN use.
2012-07-02 16:20:53 -07:00
Alena Prokharchyk
1f01d923ca
Merge branch 'master' into vpc
2012-06-28 17:44:08 -07:00
Alena Prokharchyk
634cd78baa
Merge branch 'master' into vpc
...
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/ListNetworksCmd.java
api/src/com/cloud/api/response/NetworkResponse.java
api/src/com/cloud/event/EventTypes.java
api/src/com/cloud/network/NetworkService.java
client/tomcatconf/commands.properties.in
scripts/network/domr/getDomRVersion.sh
scripts/network/domr/ipassoc.sh
scripts/network/domr/l2tp_vpn.sh
scripts/network/domr/networkUsage.sh
scripts/network/domr/router_proxy.sh
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/network/NetworkManagerImpl.java
server/src/com/cloud/network/dao/IPAddressDao.java
server/src/com/cloud/network/dao/IPAddressDaoImpl.java
setup/apidoc/gen_toc.py
setup/db/create-schema.sql
wscript
2012-06-28 17:41:40 -07:00
Alena Prokharchyk
c19639e4a2
Static route can be created for generic VpcGateway now, not just Private gateway
2012-06-28 17:17:44 -07:00
Edison Su
5f6387e113
add clouddev
2012-06-27 23:28:34 -07:00
David Nalley
fc3ac862dc
applying the commits from Chip Childers licensing cleanup
2012-06-26 10:44:04 -04:00
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