Commit Graph

492 Commits

Author SHA1 Message Date
Frank 6d005313bc Move schema files to setup/db directory in line with DB upgrade code 2011-03-30 12:14:42 -07:00
Murali Reddy 1b251a5fc8 Bug 4061: support for Microsoft Hyper-V changes- part 1 2011-03-30 18:48:51 +05:30
alena 2af46789cb bug 9192: multiple improvementes to listVms command.
1) No longer do multiple searches involving "domain" table; only one join with domain is being done.
2) Do join with domain table only when command is executed by domainAdmin
3) Added index for "path" field in "domain" table
4) No longer do joins with account table as account_id is already present in vm_instance table.
2011-03-29 19:18:30 -07:00
Kelven Yang 64148f46f4 bug 8713: supporting structures for SSVM load management 2011-03-29 18:52:54 -07:00
alena 46a80a599a bug 9192: multiple improvementes to listVms command.
1) No longer do multiple searches involving "domain" table; only one join with domain is being done.
2) Do join with domain table only when command is executed by domainAdmin
3) Added index for "path" field in "domain" table
4) No longer do joins with account table as account_id is already present in vm_instance table.
2011-03-29 18:42:44 -07:00
will 38e95455d1 rollbacked create-schema foreign key constraint until we can figure out a way to make sure server-setup.xml isn't broken by this for developers. 2011-03-29 17:23:18 -07:00
will 0cd415c8d2 rollbacked create-schema foreign key constraint until we can figure out a way to make sure server-setup.xml isn't broken by this for developers. 2011-03-29 17:16:29 -07:00
Alex Huang 6bd978abfe bug 9192: fixes the caches that are gone due to configuration server uses the same dao without cache 2011-03-29 11:31:59 -07:00
Alex Huang f2e692099e bug 9192: fixes the caches that are gone due to configuration server uses the same dao without cache 2011-03-29 11:31:23 -07:00
prachi e87ffdec3e Database upgrade from 222 to 224 for Bug 6873 - disable/enable mode for clusters (and pods and zones and hosts)
- Adding column and index 'allocation_state' to clusters and pods and zones and hosts
2011-03-29 11:05:05 -07:00
prachi 5ded9af0f3 Database upgrade from 222 to 224 for Bug 6873 - disable/enable mode for clusters (and pods and zones and hosts)
- Adding column and index 'allocation_state' to clusters and pods and zones and hosts
2011-03-29 11:01:36 -07:00
alena d3357c6691 Set network limit to be 0 by default for Control/Management/Storage/Public networks (these networks are used by SSVM/ConsoleProxy/domR) 2011-03-28 15:48:11 -07:00
alena cf0020d1df Fixed 221-222 db upgrade. Fixes were added to 222-224 db upgrade script 2011-03-28 11:16:13 -07:00
alena fdf0f589af bug 8902: added Removed field to "cluster" table
status 8902: resolved fixed
2011-03-28 10:50:09 -07:00
alena 08036d5312 GuestIP field can be null in network_offerings table - fixed 221 to 222 upgrade script 2011-03-26 17:06:28 -07:00
alena 04551d59ea Added missing config value to 221-222 upgrade script. It was present in 223 branch, but missing in master 2011-03-26 16:52:28 -07:00
alena 530cb9e77b Fixed 221 to 222 upgrade script - guestIPType can be null in network offering 2011-03-26 16:32:45 -07:00
alena a8cc285ca9 bug 8934: set correct guest_type for default Xen Centos template. DB upgrade script is also updated.
status 8934: resolved fixed
2011-03-25 16:05:06 -07:00
alena 92f01ba143 2.1.x to 2.2.2 upgrade for Domain level vlans 2011-03-25 15:23:18 -07:00
alena 33fff1262e Changes to 222-224 db upgrade 2011-03-24 14:41:01 -07:00
anthony 6e60539427 bug 9140: 221to222 upgrade fix
INSERT INTO `cloud`.`guest_os` (id, category_id, display_name) VALUES (138, 7,
'None');

status 9140: resolved fixed
2011-03-24 14:05:40 -07:00
alena dee2e59fb3 bug 8798: delete zone is fixed
status 8798: resolved fixed
2011-03-24 13:32:31 -07:00
David Noland 978a9c7df4 Show more meaningful error message if db deployment fails when "mysql" is missing from PATH. 2011-03-24 12:26:37 -07:00
Kelven Yang bfc420f22e Fix sql syntax error, a coma is missing 2011-03-24 10:27:15 -07:00
prachi 923f562aa8 Bug 6873: disable/enable mode for clusters (and pods and zones and hosts)
- Added a new flag 'allocation_state' to zone,pod,cluster and host
- The possible values for this flag are 'Enabled' or 'Disabled'
- When a new zone,pod,cluster or host is added, allocation_state is 'Disabled' by default.
- For existing zone,pod,cluster or host, the state is 'Enabled'.
- All Add/Update/List  commands for each of zone,pod,cluster or host can now take a new parameter 'allocationstate'
- If 'allocation_state' is 'Disabled', Allocators skip that zone or pod or cluster or pod.
- For a root admin, ListZones lists all zones including the 'Disabled' zones. But for any other user, the 'Disabled' zones are not included in the response.
- For any usecase that creates/deploys/adds/registers a resource and takes in zone as parameter, now we check if the Zone is 'Disabled'. If yes then the operation cannot be performed by a user other than root-admin. Add volume, snapshot, templates are examples of this usecase.
- To enable the root admin to test a particular pod/cluster/host, deployVM command takes in 'host_id' parameter that can be passed in only by root admin.
If this parameter is passed in by the admin, allocators do not search for hosts and use that host only. StoragePools are searched in the cluster of that host.
If VM cannot be deployed to that host, allocators and deployVM fails without retrying
2011-03-23 22:15:35 -07:00
Frank a8a5d18d91 Clean async Job
align vm_template with new systemvm template
2011-03-23 16:06:52 -07:00
alena f84c81a47d bug 8533: all IP Address fields in DB have char(40) type
status 8533: resolved fixed
2011-03-22 14:06:14 -07:00
Alex Huang 7103d30f57 router restarted but needs template update 2011-03-22 09:46:41 -07:00
Alex Huang 109c4eae0e restarting domr is close to working 2011-03-21 17:56:00 -07:00
alena abb2e2b2ff bug 8831: partial checkin for Domain specific Networks (includes DB changes) 2011-03-21 15:05:07 -07:00
alena 505848bbbe Fixed unittest 2011-03-21 10:29:11 -07:00
prachi 5bbffcaa97 Changes to add 'cluster_id' to 'op_host_capacity' table for Db upgrade from 222 to 224 2011-03-18 12:14:48 -07:00
Alex Huang 8723727de1 added 2.2.2 to 2.2.4 2011-03-18 10:41:58 -07:00
Alex Huang d3ecf719ce looks like everything is working except for snapshots 2011-03-18 09:14:05 -07:00
Alex Huang f12f7da0ba fixed everyting to upgrade from 2.1.7 to 2.2.2 2011-03-17 16:33:42 -07:00
alena 579a9294bf Removed vm_type update in DB 217 to 221 upgrade 2011-03-16 15:57:41 -07:00
alena 6be1681647 DB upgrade for Basic zone: upgrade domR/ssvm/consoleProxy nics 2011-03-16 14:14:14 -07:00
Chiradeep Vittal 8d791777db Introduce zone (datacenter) details 2011-03-15 15:44:36 -07:00
Frank ffb900fc86 Bug 8208 - bare metal provisioning
Add useExternalDhcp option to createPodCmd
2011-03-14 16:42:59 -07:00
Edison Su eaf9414a52 bug 8939: add management.network.cidr
status 8939: resolved fixed
2011-03-09 16:32:18 -05:00
Chandan Krishna Reddy Purushothama 3b2d4c3fb5 Additions made to the script inorder to avoid VM login using "saved_password" string 2011-03-09 15:54:18 -08:00
Edison Su 163af9a3b6 do not detect ip when you just deploy database 2011-03-09 15:28:55 -05:00
alena a50950bbef 221 to 222 DB upgrade for InstanceGroup. Unit test is included 2011-03-09 08:34:08 -08:00
anthony c013d0a6c6 fixed unit test 2011-03-08 20:04:28 -08:00
anthony 9e9ec24c70 remove snapshot_policy_ref index 2011-03-08 18:03:16 -08:00
anthony b32e8f23a6 bug 8712: since we add multiple concurrent policy back in 2.2.3, we only support upgrade from 2.1.7 to 2.2.3, otherwise some policies will be removed silently
need test this upgarde
2011-03-08 17:10:27 -08:00
anthony 5b1a421e62 bug 8712: prepare from snapshot db migration 2011-03-08 17:10:27 -08:00
alena fe267c2cb2 Basic zone 221 to 222 DB upgrade. Unit test is included 2011-03-08 15:32:55 -08:00
Alex Huang 35275c1615 added user ip address upgrade 2011-03-07 17:53:43 -08:00
Kevin Kluge 69c4a59696 resolved fixed: 8853
update to handle multiple NICs and non-virtual-networking cases.
2011-03-07 13:26:01 -08:00
alena 94fb0612f2 Fixed DB upgrade script - vm_type field can be NULL
Conflicts:

	server/src/com/cloud/network/NetworkManagerImpl.java
2011-03-05 10:37:57 -08:00
Alex Huang bda3264a77 networks are generated now from the domr 2011-03-04 18:07:26 -08:00
Alex Huang f7ea6e17cd break upgrade fix upgrade 2011-03-04 18:07:26 -08:00
abhishek ade92456df bug 8601: merge from 2.2.2 to master 2011-03-04 16:31:58 -08:00
abhishek 5b0f247b46 bug 8601: more db migration 2011-03-04 14:08:51 -08:00
abhishek b6b0a22160 bug 8601: more db migration 2011-03-04 13:56:18 -08:00
alena 7cf4c375c2 cloud-set-guest-sshkey script (used by sshKey pair feature, has to be installed on the vm template) is a part of our code base now 2011-03-04 11:31:18 -08:00
Alex Huang 40db230095 more changes for db upgrade 2011-03-04 11:09:24 -08:00
keshav 1be21effc9 Changed password script to work even if multiple password servers are listening for requests 2011-03-03 11:52:53 -08:00
keshav 25cd4a5768 Changed password script to work with multiple NICs. 2011-03-02 18:30:19 -08:00
prachi 9ec4911285 Removing the scripts to add host_tags table from 21 to 22 DBUpgrade script, since 2.1.7 already has the necessary table. 2011-03-02 17:48:22 -08:00
abhishek efcc1b9aa8 bug 8601: another upgrade step for network offerings 2011-03-02 14:37:39 -08:00
abhishek e9d87d8d76 changes to security grps upgrade (ant unitttest passes) 2011-03-02 14:35:55 -08:00
nit e772bfa00b bug 8812: DB upgrade (2.1 - 2.2) changes for template. ant unittest successful
status 8812: resolved fixed
2011-03-02 13:39:03 -08:00
Alex Huang f3b58a4b0a removed a bunch of scripts that doesn't pass unittest 2011-03-02 00:16:54 -08:00
Alex Huang d0a5816999 Added Premium upgrade 2011-03-01 23:47:36 -08:00
abhishek 0f53f2a2c7 bug 8601: changing traffic_type to guest_type 2011-03-01 17:57:55 -08:00
abhishek d50a6a2e97 bug 8601: more upgrade fine tuning 2011-03-01 17:50:51 -08:00
abhishek a3986f6691 added another upgrade step 2011-03-01 16:22:29 -08:00
abhishek 7fe999da97 bug 8601: adding another upgrade step for networks table 2011-03-01 16:15:08 -08:00
abhishek dbb03006b7 adding a migration step from 221 to 222 using alex's framework. this should only be used for alex's upgrade from 217 to 22, for 221 to 222 for 222 release, we still are providing the bash script for upgrade. 2011-03-01 16:00:14 -08:00
abhishek 821277ecd1 reverting the change 2011-03-01 11:17:54 -08:00
abhishek 861874b51f adding netapp related tables for migration from 2.1.x to 2.2.1 2011-03-01 11:09:47 -08:00
abhishek f484c27a1f bug 8601: adding another step for network offerings table 2011-03-01 10:30:27 -08:00
abhishek 343e06d116 bug 8601: adding another upgrade for data center table
status 8601: resolved fixed
2011-03-01 09:36:22 -08:00
anthony 3537c7e1a0 fix schema 2011-02-28 18:05:44 -08:00
abhishek 1014f93009 adding migration scripts for sec grp related stuff for 2.1.7 to 2.2.1 2011-02-28 17:58:40 -08:00
prachi cf68ad7bc6 DB migration script for 2.1.7 to 2.2.1 - Changes needed for creating new host_tags table 2011-02-28 16:30:45 -08:00
anthony cd27202a26 bug 8216: create volume from snapshot can take a disk_offering_id, if disk_offering_id is not specified, use the one from original volume
status 8216: resolved fixed
2011-02-28 16:28:41 -08:00
Alex Huang 8571d04034 unit testing is working again 2011-02-28 16:21:19 -08:00
prachi 889827b63a Bug 7845 - Productize DeploymentPlanner
Bug 7723 - merge or re-write host tagging into master / 2.2
Bug 7627 - Need more logging for Allocators
Bug 8317 - Add better resource allocation failure messages

Changes for Deployment Planner to use host and storagePool allocators to find deployment destination.
Also has the changes for host tag feature.
Improved the logging for allocators.
2011-02-28 13:47:51 -08:00
abhishek 2a95a95d18 checking to see if mysql is running 2011-02-28 13:43:38 -08:00
anthony 1970161844 bug 8714: support paraleel recursive snapshot
snapshot doesn't depend on volume any more, volume can be removed even there are snapshots on this volume

status 8714: resolved fixed
2011-02-25 22:17:13 -08:00
abhishek 5c4078e296 bug 8601: adding the upgrade script from 2.2.1 to 2.2.2 2011-02-25 17:14:57 -08:00
abhishek 46994153a9 bug 8601: these are the 2 sql files for the cloud and cloud_usage db migration. I have tested some of the most common cases, as well as some uncommon cases (create a direct and virtual network in same zone). 2011-02-25 17:06:26 -08:00
Edison Su 8a40371288 refactor security group in advanced network mode: use direct tagged network instead of public network 2011-02-24 19:58:18 -05:00
alena 039b11b9ba 1) Added guestIpType to the network offering; create/listNetworkOffering apis got changed accordingly.
2) Set traffic Type to be Guest for Direct/Virtual non-system default network offerings. Use this guestIpType during the network creation/implementation
2011-02-24 15:36:01 -08:00
Alex Huang a6ac728761 cleanup script is also running now as well 2011-02-24 11:35:49 -08:00
kishan 8eb665246e bug 7935: Included hypervisor type to vm usage records
status 7935: resolved fixed
2011-02-24 20:08:12 +05:30
kishan f138552f36 bug 8603: Included netwrok_id in network usage records
status 8603: resolved fixed
2011-02-24 15:31:59 +05:30
Edison Su adbd20ca5a bug 8655: add security group for direct tagged network 2011-02-23 15:53:14 -05:00
Alex Huang 2002abd7c3 fixed copy and paste errors 2011-02-22 19:33:25 -08:00
Alex Huang b6056bc0b1 missing files 2011-02-22 19:12:10 -08:00
Alex Huang 78f5c6cc47 schema converted over. 2011-02-22 18:23:05 -08:00
Alex Huang c22b37e402 latest work on db migration 2011-02-22 18:23:05 -08:00
kishan 99b5f7279d added queries to handle unit MB to bytes change for volume usage 2011-02-22 17:12:22 +05:30
alena cd90bc7166 bug 8412: allow to delete network when it has dhcp/domRs
status 8412: resolved fixed

1) Don't count domR/Dhcp nic in active nics.
2) Removed domR cleanup thread; Network shutdown thread would shutdown domR/dhcp when network has no active vms
2011-02-18 10:31:59 -08:00
abhishek 2275d8d833 bug 8452: introducing a state for domain; blocking creation of accounts/users whilst domain is in an inactive state 2011-02-17 15:17:45 -08:00
Kelven Yang 45eb1b4d3c Fix syntax error in create-schema.sql 2011-02-17 11:26:34 -08:00
Alex Huang 6b0d4947ed bug 8529: propagated to master. Added junit test support to ant 2011-02-16 17:40:58 -08:00
kishan 70b5a7224f 2.2beta4 to GA upgrade changes 2011-02-16 13:43:42 +05:30
Edison Su 8887b6c443 add correct mdsum 2011-02-15 18:13:50 -05:00
Edison Su c6e84374cc direct boot info to vga console instead of serial console for user vm template 2011-02-15 18:04:24 -05:00
alena c11a9c18e2 bug 8381: disassociateIpAddress is async now 2011-02-15 12:24:18 -08:00
Kelven Yang d9d128ee9d Incremental refactoring - retire host_master table 2011-02-15 10:56:04 -08:00
alena d80caf24fd bug 8564: Changed implementation for static nat rules. Now we use separate interfaces instead of PortForwardingRules interfaces.
status 8564: resolved fixed
2011-02-15 10:45:28 -08:00
Alex Huang 7dd54f079b started vms with these latest 2011-02-11 17:03:04 -08:00
Alex Huang b0f0efa29b more changes to make it work better in a cluster 2011-02-11 17:03:04 -08:00
kishan 6e9ef0d988 2.2beta4 to GA db changes 2011-02-11 20:37:13 +05:30
nit e901ccfe07 bug 8498: Make osTypeId optional. Introdue a new OS type None to be shown for non bootable ISOs. Add check that when the ISO is bootable a valid osTypeId gets passed 2011-02-11 18:44:26 +05:30
alena 4054d7e2b5 Store ip address as String instead of Long in user_ip_address and port_forwarding_rules tables 2011-02-09 19:35:03 -08:00
abhishek da115c4281 adding index at end, removing redundant view 2011-02-09 18:47:14 -08:00
abhishek 133f0d9eb3 some more help 2011-02-09 17:35:23 -08:00
abhishek 487aa4becc more changes to the upgrade script 2011-02-09 16:58:17 -08:00
abhishek d8273c7feb adding the sql file for db migration from 22beta4 to 22GA. This has the schema and data changes for both cloud and cloud_usage databases. The corresponding java file is already checked in 2011-02-09 11:26:27 -08:00
kishan 77719be46a bug 8465: track network usage per router in user_statistics table
status 8465: resolved fixed
2011-02-09 18:38:41 +05:30
alena b4ee5fa1ea Renamed get_password_from_domr to cloud-set-guest-password 2011-02-08 17:31:54 -08:00
Frank c38aff60f4 Bug 8275 - SELinux error message provides incorrect directions
status 8275: resloved fixed
2011-02-07 13:39:35 -08:00
alena 54236677f3 bug 8419: changed domR password reset script to work with 2.1.x and 2.2 password scripts on userVm side
status 8419: resolved fixed
2011-02-07 11:04:55 -08:00
anthony 9199b59cc1 comment out snmp configuration in server-setup.xml 2011-02-04 20:09:04 -08:00
anthony e14b8311cc bug 7563: create snapshot in async create method
status 7563: resolved fixed
2011-02-04 19:20:47 -08:00
nit 5469916060 bug 7522 : Extract ISO/Template - By default these entities wouldnt be extractable, GLOBAL ADMINS - always allowed to extract, OTHERS - allowed to extract if - 1) Its own template and extractable=true 2) Its not its own template but public=true and extractable=true.
status 7522: resolved fixed
2011-02-04 17:51:42 +05:30
abhishek 5f9e379327 updating md5 checksums for new system vm templates 2011-02-02 12:35:29 -08:00
alena ff281af035 bug 8253: get_password_from_domr is a part of source code now. It should be located under /usr/bin/ directory on the Management server once cloudstack software is installed
status 8253: resolved fixed
2011-02-01 17:40:00 -08:00
alena f6f8a35c75 bug 8251: introduced "id" field for public IP address. In the DB id is a primary key in user_ip_address table; ip_address and source_network_id is a composite key
status 8251: resolved fixed
2011-02-01 12:16:18 -08:00
kishan 92bf106ab9 including host type in network stats 2011-01-31 19:36:32 +05:30
Alex Huang f9a9698d96 more unused fields removed 2011-01-28 15:37:00 -08:00
abhishek 5a008fb410 bug 8212: applying patch
status 8212: resolved fixed
2011-01-28 15:27:16 -08:00
abhishek e13e136f07 bug 8212: applying patch
status 8212: resolved fixed
2011-01-28 15:21:20 -08:00
anthony 68b86004ea remove preallocLun 2011-01-28 14:02:21 -08:00
abhishek 5d18c4c527 bug 8242: introducing the concept of work queue for storage; introducing storage states as opposed to using host states; using row locks as opposed to db table locks
status 8242: resolved fixed
2011-01-28 13:43:36 -08:00
anthony 96d9776c20 remove preallocatedLun 2011-01-28 12:36:31 -08:00
alena 6d72b45379 Set "msid" field to be unsigned for mshost table 2011-01-26 11:12:00 -08:00
alena 347fa866d8 Fixed constraint for op_ha_work table to use correct field name (msid instead of id) 2011-01-26 10:52:19 -08:00
alena 731e78937f Added 2 new api commands for 1-1 nat feauture: enable/disableOneToOneNat. Here is the 1-1 nat api summary:
* to enable 1-1 nat for ip/vm use enalbeOneToOneNat api
* to open port range (or multiple port ranges) use createIpForwardingRule api.
* to delete one port range use deleteIpForwardingRule api.
* to disable 1-1 nat use disableOneToOneNat api.
2011-01-26 09:35:32 -08:00
Alex Huang c70113835d removed unused columns 2011-01-26 09:16:57 -08:00
alena a96f8f9575 Refactored 1-1 NAT feature:
* added new fields to createIpForwardingRule api: startPort/protocol - required, endPort is optional
* updated "firewall_rules" table with a new field "is_one_to_one_nat" (being set when new rule is created)
2011-01-25 14:43:32 -08:00
Frank 38ab26bcb0 ovs tunnel network -- add lock entry in ovs_tunnel_account 2011-01-24 13:47:34 -08:00
nit 1bc05b8791 bug 8142: Making SystemVM and base CentOS template names consistent.
status 8142 : resolved fixed
2011-01-24 18:24:20 +05:30
Frank 276e37115b open vswitch - Implement gre tunnel based network that doesn't use vlan
it allows cross zone communication and no 4096 limitation introduced by vlan
2011-01-21 17:32:02 -08:00
abhishek dcdbd0f515 adding comments for migration 2011-01-19 17:22:45 -08:00
abhishek afcb202923 bug 7900: removing obsolete network domain param
status 7900: resolved fixed
2011-01-19 17:18:02 -08:00
Alex Huang 16bb33979d bug 7896: Added check for template constraint in template_spool_ref table. Removed On delete cascade on the template_host_ref table 2011-01-19 17:05:58 -08:00
nit 421d150f7f DB upgrade script from 2.2beta3 to 2.2beta4 2011-01-18 20:08:44 +05:30
Chiradeep Vittal 2e018d46be bug 7929: when account is deleted, ensure that related security groups are deleted 2011-01-13 15:40:29 -08:00
Ragnar B. Johannsson 4bb42e43cc Get UserVm details via UserVmDao.loadDetails().
Also, removed references to ssh public key in UserVmVO and the underlying
table and used user_vm_details instead.
2011-01-12 23:24:17 +00:00
Ragnar B. Johannsson 83b3580c32 Merge branch 'master' of git.cloud.com:/var/lib/git/cloudstack-oss
Conflicts:
	client/tomcatconf/commands.properties.in
	core/src/com/cloud/vm/UserVmVO.java
	server/src/com/cloud/configuration/DefaultComponentLibrary.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
2011-01-12 17:06:08 +00:00
Ragnar B. Johannsson 3e59707dd2 Added user_vm_details table and corresponding access objects.
Moved saved encrypted passwds for getVMPassword API cmd to this new table.
Removed SSH keypair id from UserVm - only public key is needed.
2011-01-12 16:32:36 +00:00
kishan 6bb4af8381 bug 6947: removed network type from service offering APIs
status 6947: resolved fixed
2011-01-12 19:13:09 +05:30
Frank 870d0835a5 bug 7722: open vswitch - add entities to tunnel table/vlan mapping table when
host connect, this make these tables lock free(for table lock)
2011-01-11 19:04:37 -08:00
Alex Huang 6e6e8ff876 better expunge and destroy of volumes 2011-01-11 18:02:09 -08:00
Alex Huang 7f597e594c added work list to vm start 2011-01-11 18:02:09 -08:00
Alex Huang ad4ed5b2fd added hypervisor type to vm 2011-01-11 18:02:09 -08:00
alena 5dfe399c1a bug 7803: introduces new parameter "is_default" for the network. DeployVm requires 1 default network to be specified, other networks (if any) have to be secondary
status 7803: resolved fixed

Fix overview:

1) Parameter "isDefault" should be defined as a part of createNetwork
* Virtual network is always default
* Parameter can be specified only for DirectNetwork
* Once parameter is set, there is no way to change it as we don't provide updateNetwork command.
2) Added isDefault parameter to listNetworks command so you can sort by that.
3) DeployVmCmd:
* at least one default network should be set
* if more than 1 default network is set - throw an error
4) Return isDefault information as a part of Nic object for the vm response in deploy/stop/start/listVm
2011-01-11 14:22:26 -08:00
Frank c6683c2eab bug 7722: open vswitch -
refine ovs plugin, create a separate plugin instead of messing with vmops
refine gre tunnel, maintains tunnel in database instead of plugin
fix an arp issue cause by overlap vlan range
2011-01-11 02:55:36 -08:00
Frank 9d2916ffcc it works 2011-01-08 16:28:47 -08:00
Frank c94b6acadf bug 7722: open vswitch - works at VM start time, need fullsync() and flow clean in next 2011-01-08 16:22:59 -08:00
Frank 5c01c42ba7 fix bug 7722, code complete basic architecture 2011-01-08 16:20:39 -08:00
Alex Huang e496a99c1c added processing for events 2011-01-07 13:42:43 -08:00
Ragnar B. Johannsson 32c68e1583 API cmds for SSH-keys manipulation and VM passwds retrieval.
These include five new API cmds as well as changes to deployVirtualMachine to
specify an optional name of an SSH key to pass to the VM when starting. When
an SSH key is specified with a password-enabled template the newly created
password is encrypted with the SSH public key and can be retrieved via the
getVMPassword cmd. It is then the user's responsibility to decrypt retrieved
passwords with the correct SSH private key.
2011-01-06 13:34:07 +00:00
alena 916b516d13 bug 7878: Fixed Basic zone functionality - uservm/systemvm/domR start
status 7878: resolved fixed
2011-01-06 15:44:13 -08:00
prachi b46a53579f DB schema changes that will be needed for the host tags feature. This commit does not include any code changes for the feature. 2011-01-05 14:03:44 -08:00
Kelven Yang ce517a890f Add cluster details to prepare supporting Xen host/cluster mode in vmware 2011-01-04 02:41:49 -08:00
Greenqloud 6dbf6fe67a adding ssh keypairs and passwords 2010-12-31 17:16:33 +00:00
Kelven Yang e7749afdfe Bug 7772: Add hypervisor type to snapshots table, fix issues with createVolumeFromSnapshot if snapshot was taken under data volume 2010-12-29 21:54:17 -08:00
keshav 3da09345c9 Changed schema to keep track of which public IP address and host a user statistics entry is for 2010-12-29 19:14:35 -08:00
Alex Huang a10ce22f99 remote access vpn from management server side is done 2010-12-29 12:13:35 -08:00
Alex Huang 090bc1edb4 more changes to fix up the merge 2010-12-29 09:32:54 -08:00
Alex Huang 544fa7ff1b remote access vpn, user ip address changes 2010-12-29 09:32:54 -08:00
alena 085824d524 1) Updated schema for data_center - provider fields can have NULL values.
2) Fixed deletePortForwarding/deleteIpForwardingRule commands to return false when delete rule fails.
2010-12-28 16:22:36 -08:00
alena 88afdb3313 Made NetworkId parameter required for Vlan, modified DB schema and corresponding Managers' methods. For Virtual and Direct untagged vlan networkId is got from default system Public/Public-DirectPodBased networks accordingly 2010-12-28 15:15:24 -08:00
abhishek cd73ff54a5 adding an upgrade script 2010-12-28 09:40:06 -08:00
abhishek 719f3984d2 changing domain.suffix to guest.domain.suffix, along with associated deps 2010-12-27 17:00:07 -08:00
alena 3775ba043e Added Services (dhcp, gateway, portForwarding, etc.) to NetworkOffering. 2010-12-23 09:40:15 -08:00
edison 882fe2e213 fix vmware template url 2010-12-22 11:04:28 -08:00
kishan a7626fc991 bug 7504: Added usage events 2010-12-22 12:28:05 +05:30
kishan fc8138bcfa bug 7504: Added new usage event table 2010-12-22 12:10:38 +05:30
abhishek 078a377b48 bug 7607: changing sizes for default disk offerings
status 7607: resolved fixed
2010-12-21 16:01:15 -08:00
anthony 57de81983f add XenServer 5.6 FP1 specific guest os type 2010-12-20 15:47:57 -08:00
edison 6c9d3da4fd bug 7500, 7447: add external url for template download
status 7500: resolved fixed
status 7447: resolved fixed
2010-12-20 11:19:53 -08:00
anthony c72527a747 add DB migration for cluster.type 2010-12-17 13:49:01 -08:00
anthony 6419e49977 add guid in cluster table 2010-12-16 16:28:56 -08:00
abhishek 8a002527de updating the config var name to the refactored value 2010-12-16 16:22:51 -08:00
abhishek cec26017a2 bug 6361: added some more comments 2010-12-16 15:37:19 -08:00
abhishek 5bb4abac93 bug 6361: changing the index file to updated table name 2010-12-16 15:37:19 -08:00
abhishek 5154ba1539 bug 6361: this is a good point to commit; 1st round of refactor is done, code is clean compiling and ms is deploying 2010-12-16 15:37:19 -08:00
Frank Zhang 032f321363 catch exception if mysqld has not been started when
perform 'cloud-setup-database'
2010-12-16 15:29:06 -08:00
Alex Huang e613ecaba0 unit test passed 2010-12-16 14:04:32 -08:00
Kelven Yang 65c094a2c0 Add a API to allow adding external hypervisor cluster 2010-12-16 10:00:42 -08:00
alena d673686f5f Added Availability field for NetworkOffering. Added updateNetworkOffering API command 2010-12-13 18:28:33 -08:00
alena 65f53e3910 1) Create default networks for zones specified in server-setup.xml file
2) Direct pod based netwoks is taken care by DirectNetworkGuru now
2010-12-13 14:03:19 -08:00
alena 3ceffaf5c3 Use "revoke" istead of "pending" field in load_balancer_vm_map table. 2010-12-10 17:53:04 -08:00
Alex Huang 7cfbd5b7e0 missing mac fields 2010-12-10 17:20:31 -08:00
Alex Huang 790bf40be6 Forgot what i change but must be important 2010-12-10 17:20:31 -08:00
alena 88d6ff2136 bug 7467: release IP address works now.
status 7467: resolved fixed

Fixed all load balancer commands to work with the latest networking code
2010-12-10 15:12:32 -08:00
abhishek 5d419be638 bug 7476: fixing the pod creation issue
status 7476: resolved fixed
2010-12-10 13:24:57 -08:00
Alex Huang 8ac694bf55 changes from testing 2010-12-10 09:29:23 -08:00
Alex Huang 68932929fb Changes to how public ip addresses are allocated 2010-12-10 08:38:20 -08:00
keshav 198cab4dee Added support code for external firewalls and loadbalancers. Added new host types and startup commands, and enabled NicVO to reserve IPs for external network resources. 2010-12-09 11:40:02 -08:00
alena 1f7d74dbec 1) Disabled updatePortForwardingRule api command.
2) Added vm information (id, name, display_text) to all port forwarding rule responses.
2010-12-08 14:28:37 -08:00