Commit Graph

610 Commits

Author SHA1 Message Date
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
Frank a9728998ff Bug 8208 - bare metal provisioning
Successfully add start entry into LinMin PXE server
2011-02-25 18:58:07 -08:00
abhishek bae62f844d bug 8742,8216: reverting to use org vol's disk off id whilst creating vol from snapshot. Also changing event generation so that an event is generated @ data vol creation (as opposed to attaching to vm). we will correspondingly generate an event at data vol's deletion 2011-02-25 12:00:27 -08:00
abhishek 8062d8d273 bug 8725: making disk offering id a reqd param; as we create vol from either 1. disk offering 2. snapshot (which takes in a snapshot id + private disk offering id) 2011-02-25 08:41:03 -08:00
kishan 0b9fa1cc8a bug 5747: Added action events for system Vms commands
status 5747: resolved fixed
2011-02-25 16:29:16 +05:30
kishan 44d60576f9 bug 8606: changed network offering event names. Use Assign/remove instead of create/delete
status 8606: resolved fixed
2011-02-25 15:26:55 +05:30
Frank 5035778b1a Bug 8208 - bare metal provisioning
StartCommand cloud reach to BareMetalResrouce
2011-02-24 19:22:34 -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
Frank f82dec999d Bug 8208 - bare metal provisioning
complete createVirtualMachine method
2011-02-24 14:07:10 -08:00
Edison Su 2e91b702fc fix createzone parameters 2011-02-24 15:35:35 -05:00
Edison Su cf6d430f66 return security group status per zone 2011-02-24 14:16:35 -05:00
alena b0aabc1b20 bug 8682: implemented search by id in listPortForwardingRules
status 8682: resolved fixed
2011-02-24 09:55:03 -08:00
alena 1f1e393b03 Release vnet during network shutdown for guest networks only 2011-02-23 18:50:23 -08:00
alena 6424042cac bug 8659: deleteNetwork is async now
status 8659: resolved fixed
2011-02-23 18:01:33 -08:00
Frank 828f8c9493 Bug 8208 - bare metal provisioning
Able to add cluster and host
2011-02-23 17:20:43 -08:00
Edison Su 0a1af426df remove test code 2011-02-23 16:01:00 -05:00
Edison Su 2f284d92b5 fix typo 2011-02-23 15:58:24 -05:00
Edison Su adbd20ca5a bug 8655: add security group for direct tagged network 2011-02-23 15:53:14 -05:00
keshav ed465500a2 Added capability to keep track of what IPs a load balancing rule can be made on. 2011-02-23 11:44:14 -08:00
Frank b313b7c852 Add bare metal stuff to addHost command
add ipmi.py
2011-02-22 19:07:07 -08:00
Alex Huang c22b37e402 latest work on db migration 2011-02-22 18:23:05 -08:00
abhishek 1afc62e98f bug 8216: creating a vol from a snapshot will take in a priv disk offering id, which is used only for the tags; size is still taken from the original vol which the snapshot is based off of 2011-02-22 12:06:00 -08:00
nit d8e5fe7f12 bug 8664: Enforcing maximum pagesize limit to 500 to avoid DOS attack against the server. 2011-02-23 01:05:06 +05:30
abhishek 25f27674ce bug 8641: adding a volume state in addition to volume status
status 8641: resolved fixed
2011-02-22 09:55:08 -08:00
alena e4765fb32b bug 6969: return jobId/jobStatus for IpAddress and SecurityGroup as ids for these objects were introduced in 2.2.x 2011-02-22 09:09:55 -08:00
nit b5152e27ec bug 8664: Enforcing maximum pagesize limit to 500 to avoid DOS attack against the server. 2011-02-22 19:25:53 +05:30
alena 15f59e6f58 bug 8637: throw ResourceAllocationException when resource limit is exceeded.
status 8637: resolved fixed
2011-02-18 12:26:58 -08:00
Kelven Yang 8695e7250c Update template and storage manager to allow hypervisor based command delegation 2011-02-18 11:37:50 -08:00
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
alena 504ab73ae5 Sync on network instead of ipAddressId when do create PF/StaticNat/LB rules 2011-02-17 16:13:28 -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
alena 8978839d96 bug 8617: Disable firewall/lb/vpn service for Direct network offering, so when user tries to create PF/LB rule for direct IP address, it fails.
status 8617: resolved fixed
2011-02-17 14:31:05 -08:00
Kelven Yang 77ac07430e Make Command be able to carry hypervisor or environment related info to help support dispatching same command towards multiple targets 2011-02-16 16:44:33 -08:00
Jessica Wang eb7d531456 bug 8577: Make listAlerts API take in id parameter. 2011-02-16 15:35:34 -08:00
Jessica Wang 35397d7176 bug 8577: Make listEvents API take in id parameter. 2011-02-16 15:20:05 -08:00
Jessica Wang c475aacc08 bug 8578: make listRouters API take in id parameter. 2011-02-16 15:06:11 -08:00
alena 1c97126f8c Removed unused imports 2011-02-16 10:51:53 -08:00
alena e573e66074 bug 8502: allow to edit pod name in all the cases; even when pod has resources allocated
status 8502: resolved fixed
2011-02-16 10:51:53 -08: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
alena 08c377ea55 Access static fields in static way. 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
abhishek 5d1d9ec387 bug 8263: allowing a private zone to be made public 2011-02-11 11:35:07 -08:00
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
alena 7b13c89956 bug 8493: Don't allow to create a snapshot policy with max value exceeding domain/account snapshot limit
status 8493: resolved fixed

Also increase/reduce resource count when recurring snapshot is taken/removed
2011-02-09 19:35:03 -08:00
Edison Su 08285af33f fix capacity caclulation issue after migration 2011-02-09 13:33:42 -05:00
nit 82506ff8d0 bug 8493: Check for resource limit for manual snapshots. 2011-02-09 19:01:39 +05:30
nit 67a92e3f1d bug 8493: Check for resource limit for copy templates/ISO between zones. 2011-02-09 15:49:33 +05:30
nit 3bd3dacf9e bug 8493: Check for resource limit for create template from volume/snapshot. 2011-02-09 15:49:32 +05:30
alena ab6ea4d6ef bug 8491: remove corresponding record from resource_limits table when limit is updated with -1 value
status 8491: resolved fixed
2011-02-08 19:08:35 -08:00
abhishek 2d3b6cc310 changing the disk offering response object, to always return the disk size in gb 2011-02-08 15:43:52 -08:00
Alex Huang b92fc074aa added forced paramter to stop apis 2011-02-08 15:38:26 -08:00
Chiradeep Vittal 711c4eeaae bug 8209,8370,8459: cleanup scripting 2011-02-08 12:10:07 -08:00
abhishek 73eb597ba6 bug 8335: adding the security group objects to the list virtual machines response 2011-02-08 11:48:39 -08:00
will 22d15d2624 bug 8335: Fixed UI to make use of the change from securitygrouplist to securitygroupids 2011-02-08 10:40:55 -08:00
alena 44607a8960 bug 8473: fixed NPE in listUserVms - do "includingRemoved" when search for vm's host.
status 9473: resolved fixed
2011-02-08 09:43:03 -08:00
abhishek cb5b1e60f3 bug 8439: changes in service/disk offerings
status 8439: resolved fixed
2011-02-07 17:11:28 -08:00
alena 0082b8435a Fixed account security checks for domain admins in following commands:
* listPortForwardingRules
* listIpForwardingRules
* listRemoteAccessVpns
* listVpnUsers
2011-02-07 16:24:34 -08:00
Alex Huang c6fe6f2f45 Removed all the stats command/answer from debug logging 2011-02-07 12:50:22 -08:00
Alex Huang bee6953e09 ha done? needs testing 2011-02-07 10:58:25 -08:00
alena e299402243 Perform security check for deleteNetwork inside the management server method instead of api command itself 2011-02-07 10:02:10 -08:00
anthony e14b8311cc bug 7563: create snapshot in async create method
status 7563: resolved fixed
2011-02-04 19:20:47 -08:00
Alex Huang 86e51eb536 Made changes to the exceptions thrown by NetworkManagerImpl 2011-02-04 11:56:20 -08:00
Alex Huang 0105c03a27 initial HA work 2011-02-04 11:51:14 -08:00
alena 84fef40ce2 Refactored "allocate vlan to account" code 2011-02-04 09:54:16 -08:00
kishan 56f3343911 Added action events for VM, volume, Ip and snapshot actions 2011-02-04 19:59:41 +05:30
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
kishan a9fd67cab6 bug 8362: Included VmId in event description
status 8362: resolved fixed
2011-02-04 11:52:35 +05:30
alena 6f55c4dd7e bug 8270: Synchronize on 1) ipAddress object when create/delete ipForwarding/portForwardingRule and vpn service 2) on networkId when assignTo/removeFrom/deleteLoadBalancer
status 8270: resolved fixed
2011-02-03 18:45:49 -08:00
Edison Su fd0752e995 bug 5811, 8261: When delete host, send a shutdownCommand to kvm agent, then kvm agent will not automatically reconnect to mgt server
status 5811: resolved fixed
status 8261: resolved fixed
2011-02-03 13:40:07 -05:00
keshav 66cb75ded3 Changed external network provider names to be model specific. 2011-02-03 11:55:39 -08:00
abhishek 2a38a58be0 bug 8335: changing the deployVm flow to take in a list of security group ids instead of a list of security group names 2011-02-03 11:37:49 -08:00
kishan 5bedf10cbf Added action events for Ip and net rules 2011-02-03 18:13:23 +05:30
anthony b226861783 bug 8194: add new storage pool type PreSetup,
1. user setup SR for xenserver pool
2. in UI, add a new storage pool as PreSetup
   server: "ip of storage "
   path:"name of the SR"
2011-02-02 19:33:08 -08:00
alena 848cff6318 Use static inner class instead of enum for Param parameter (used in VirtualMachineProfile) 2011-02-02 15:55:04 -08:00
abhishek 24acc66124 bug 8331: changing the revoke logic to work by taking in the entity id. All other params are obsolete at this point
status 8331: resolved fixed
2011-02-02 13:49:56 -08:00
alena 9aa9c34029 bug 8340: return networkId for private/public/guest networks in listRouters response. Implemented search by networkId
status 8340: resolved fixed
2011-02-02 13:25:28 -08:00
alena 5d2cc07768 bug 8201: accept "any" value for protocol when open port range for staticNat rule
status 8201: resolved fixed
2011-02-02 12:57:14 -08:00
Murali Reddy 86398a8546 bug 8290: Instance Limit set at account level however was able to create more vms than limit
adding additional exception handling
2011-02-02 02:40:26 -08:00
alena d4b1831bf4 Added "status" field to listPublicIpAddresses response 2011-02-01 14:20:45 -08:00
alena 6544820e74 Moved networkRestart to the NetworkManager as it's up to the manager (not network elements) to decide what to do on restart (IpAssoc/ruleApply/etc..) 2011-02-01 12:16:19 -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
Kelven Yang a8fb44a148 Use exports for jar dependecy 2011-02-01 11:10:37 -08:00
will 49858cf189 - Exported all thirdpart jars in the deps project to make it available to other projects. 2011-02-01 10:59:11 -08:00
nit 98cb458bf1 bug 8257: ListVM's API - adding the functionality to invoke this api with the hypervisor filter.
status 8257: resolved fixed
2011-02-01 18:00:39 +05:30
Alex Huang c38238c614 some improvements in checkSR 2011-01-31 17:48:24 -08:00
Alex Huang b98961bcb1 fixed all the broken thirdparty stuff 2011-01-31 10:51:01 -08:00
nit f53e18b0ab bug 8257: Returning hypervisor type in Listvm command so that volume gets attached to the corresponding vm's 2011-01-31 19:10:56 +05:30
Alex Huang 60518dc226 storage rewrite 2011-01-28 15:37:00 -08:00
Alex Huang f9a9698d96 more unused fields removed 2011-01-28 15:37:00 -08:00
Alex Huang ea59085ae7 added type to startup commands to be used later 2011-01-28 15:37:00 -08:00
Alex Huang 4dd2e6df72 remove some methods from volume 2011-01-28 15:37:00 -08:00
keshav 1e591e1963 Added API constants for external networking. 2011-01-28 14:37:49 -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
Kelven Yang 4696b16d10 Normalize name convention for vmware hypervisor 2011-01-28 11:16:30 -08:00
alena 52dd679d95 bug 8185: fixed java part of password reset feature. There are still changes needed in backend scripts (bugs 8253 and 8254 are filed separately)
status 8185: resolved fixed
2011-01-27 17:24:09 -08:00
Edison Su f8778ea4c6 add sharedmountpoint storage pool to support all kinds of clustered file system 2011-01-28 04:37:31 -05:00
keshav f8dddd6192 Changed inner class to be static. 2011-01-27 14:21:03 -08:00
alena 77e89b72ca bug 8187: retreive DNS information from DataCenter instead of resetting it for the network. After the DNS is reset, all networks in the zone have to be restarted. Console proxy and secondary vm should be restarted too.
status 8187: resolved fixed
2011-01-26 19:08:56 -08:00
Kelven Yang 244d8c198b Cleanup UserContext after execution for better security 2011-01-26 17:06:14 -08:00
alena 402506e8a0 Disable static nat for the IP address when corresponding vm gets expunged 2011-01-26 14:17:08 -08:00
Kelven Yang 34178bec61 1) add destroySystemVm command to allow destroying of system VMs
2) add consoleproxy.launch.max to allow specifying a configured max number of console proxy VM that can be launched within a zone(if not specified, default is 10), this is to prevent possible DoS attacks or uncontrolled usage of system resources
3) Remove some unused code.
2011-01-26 12:08:35 -08:00
alena 46e1f6279a Return vm information in listPublicIpAddress api response for the static nat ips 2011-01-26 12:03:30 -08:00
alena 976ec54eb3 Changed api command name from "enable/disableOneToOneNat" to "enable/disableStaticNat" 2011-01-26 11:02:35 -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
Edison Su fc97034000 refactor vmstatelistener 2011-01-26 11:01:43 -05: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
will 11b9733f0c Removed sleep call that was accidentally checked in. 2011-01-25 11:36:40 -08:00
Kelven Yang 8f138d9330 Remove unused code in ConsoleProxyManager 2011-01-25 11:36:07 -08:00
kishan a705b104e7 bug 8197: entity owner for create command is caller account id
status 8197: resolved fixed
2011-01-25 23:27:19 +05:30
alena 3a008ee699 Changed restartNetwork command flow:
* API requires network id to be passed in (it was optional before)
* restartNetwork calls restart() method of all network elements in the system, and it's up to the element to decide which actions to take on the restart (for example, for Virtual Router it's IPAssoc/applyPF/applyLBRules).
2011-01-24 18:37:57 -08:00
Alex Huang 9d3eedaf01 removed gateway and guestzonemacaddress from domr 2011-01-24 17:50:32 -08:00
Alex Huang 3dd7301fb2 removed unused gateway 2011-01-24 17:50:32 -08:00
Alex Huang 68464d6f66 removed unused dns 2011-01-24 17:50:32 -08:00
abhishek b714f1170c bug 8097: introducing an optional zoneId param whilst listing hypervisors
status 8097: resolved fixed
2011-01-24 17:24:31 -08:00
alena 0e4196448a bug 7811: Start domR/Dhcp if it's not running when do userVmReboot
status 7811: resolved fixed

Other fixes:
* vmExpunge: cleanup LB/PF rules after vm was marked as Expunging in the DB to avoid the situation when user recovers a vm in the middle of expunge job.
2011-01-24 17:04:23 -08:00
Alex Huang 4589446930 removed unused domain_router_id from uservm 2011-01-24 16:56:00 -08:00
Alex Huang 20891ae6f9 removed unused guest ip fields from uservm 2011-01-24 16:55:59 -08:00
Alex Huang a55d395b86 removed unused vnet field 2011-01-24 16:55:59 -08:00
Alex Huang fc33ef2be2 Removed several unused fields after the refactoring 2011-01-24 16:18:40 -08:00
Frank 38ab26bcb0 ovs tunnel network -- add lock entry in ovs_tunnel_account 2011-01-24 13:47:34 -08:00
alena 58b17b963e Added no args constructor to LoadBalancerCommand to avoid gson deserialize exception 2011-01-24 11:08:38 -08:00
alena 6304a92c23 bug 7881: fixed publicIpAllocation to an account.
status 7881: resolved fixed

Also fixed the issue with account delete when nonSourceNat ip addresses were not being released
2011-01-24 10:03:18 -08:00
kishan 057e76c65b use caller account Id for entity owner id for create pf rule 2011-01-24 12:39:52 +05:30
kishan 956b678ed4 bug 7857: Added netwrork usage create command to router start command
status 7857: resolved fixed
2011-01-24 12:20:38 +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 3b46dbf26a introducing an embedded response obj for account (user) 2011-01-21 15:43:37 -08:00
abhishek 61ce43bdff bug 7892: introducing recursive listings for various artifacts based on the domain id and the isRecursive flag 2011-01-21 15:25:18 -08:00
alena 4d0d47f6fc listVlanIpRanges api: for Account specific Virtual ip range return account information taken from account_vlan_map table instead of taking it from corresponding network 2011-01-21 10:57:14 -08:00
anthony cd0f5e7c20 bug 7976: if the snapshot is empty, still create a snapshot entry which has the same backupSnapshotId even though nothing is backed up to secondary storage
status 7976: resolved fixed
2011-01-21 10:45:09 -08:00
alena 671cce23ad bug 7704: network_rate is a part of network offering now. It's optional parameter; if not specified - global config param is used.
status 7704: resolved fixed
2011-01-21 09:54:27 -08:00
abhishek 31c9cce6c3 bug 7949: changing security group code to use ids instead of name
status 7949: resolved fixed
2011-01-20 14:21:32 -08:00
alena a4cfe20db8 bug 7389: implemented listPortForwardingRules by ip/account/domainId. Also fixed broken pagination for this call
status 7389: resolved fixed
2011-01-20 11:35:40 -08:00
Alex Huang 2ec5bef63f eclipse workspace changes 2011-01-20 10:31:18 -08:00
Alex Huang 57def20cf6 moved all agent commands to api. 2011-01-20 09:54:05 -08:00
kishan 94ec7bf27a bug 7842: events refactoring. Still wrok in progress 2011-01-20 21:49:50 +05:30
abhishek afcb202923 bug 7900: removing obsolete network domain param
status 7900: resolved fixed
2011-01-19 17:18:02 -08:00
kishan fa2ae5793a bug 7341: introduced search by id and vmId for listIpForwardingRules
status 7341: resolved fixed
2011-01-19 13:13:09 +05:30
alena 632d3c67f1 bug 6689: release source nat ip address as a part of domR/dhcp destroy
status 6689: resolved fixed

Changes to destroyNetwork process. Here are the steps:
* shutdown network - shutdowns all network elements (domRs/Dhcps)
* delete network - destroy all network elements, cleanup network's resources (vlans, ip ranges), mark network with Destroyed state and set Removed field
2011-01-18 19:31:04 -08:00
will 5c5563dfdd UI will now use the config param "allow.public.user.templates". If this is false, only admins will be able to set the "public" status of a template. 2011-01-18 19:08:31 -08:00
Edison Su b55e7a5bf4 bug 8032: for xen pv guest, if an iso is attached, then only when the iso's guest os type is equal to vm's os type, we boot from iso.
status 8032: resolved fixed
2011-01-19 05:00:40 -05:00
kishan 8b928bc6a4 bug 7488: change port to integer from string for portforwarding and load balancer rules
status 7488: resolved fixed
2011-01-18 14:35:23 +05:30
alena 50540b2bba Stop ConsoleProxy/SecondaryStorage vms: use the same code path as for user vms. 2011-01-14 17:57:15 -08:00
Alex Huang d43717eef8 merge changes 2011-01-14 15:12:13 -08:00
Alex Huang 19edfdfcdb migration code 2011-01-14 15:12:13 -08:00
Frank e736919494 allocate _poolIds before use 2011-01-14 13:45:59 -08:00
abhishek 7c2fffe67a bug 7989: fixing this regression
status 7989: resolved fixed
2011-01-13 17:07:03 -08:00
kishan a2752c6207 bug 7842: Move events to service layer from http api 2011-01-14 03:58:57 +05:30
kishan 388e689755 bug 7842: Move events to service layer from http api 2011-01-14 03:58:56 +05:30
Edison Su a56e95ed3f bug 7982: fix NPE
status 7982: resolved fixed
2011-01-14 07:13:15 -05:00
alena 80f6db937f bug 6694: trim spaces for destPortStart/destPortEnd
status 6694: resolved fixed
2011-01-13 13:39:30 -08:00
alena 877741030c bug 7957: set network domain for domain router based on Network networkDomain parameter. Default networkDomain is "cloud.internal"
status 7957: resolved fixed
2011-01-13 11:57:29 -08:00
nit be70b42722 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2011-01-13 16:03:31 +05:30
nit f9a6d476b4 bug 7519 : Adding the extractable attribute in ListTemplates/ISOs/Volumes command 2011-01-13 15:52:23 +05:30
alena 381717854c Fixed NPE in deleteAccount - search for all accounts (instead of searching for active accounts only) when do deleteNetwork 2011-01-12 16:34:56 -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
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
abhishek ff7bbe34cb better param desc for createUser 2011-01-11 17:26:20 -08:00
alena 620e7e0305 Implemented list by trafficType in listNetworks command 2011-01-11 16:06:58 -08:00
alena 6ebbff60f4 Fixed Api xml doc generator 2011-01-11 15:26:04 -08:00
abhishek 45805db737 adding descriptions to lun commands, to be consumed by the xsl transformer 2011-01-11 14:24:59 -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
abhishek a8da46845d adding some more descriptions, to be consumed by the xsl transformer 2011-01-11 10:46:07 -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
alena 0c38485c19 Added missing descriptions to a bunch of api commands 2011-01-10 20:30:29 -08:00
abhishek 73e9d5f2e2 adding some descriptions to be consumed by my xsl transform engine 2011-01-10 18:23:37 -08:00
Frank ec643c7e59 bug 7722: open vswitch - refine code; add normal flow makes vswitch work as
normal L2/L3, otherwise the output packet cannot find right output port
2011-01-08 16:28:47 -08:00
Frank 6f9f8b145b bug 7722: open vswitch - complete 2011-01-08 16:28:47 -08:00
Frank 9d2916ffcc it works 2011-01-08 16:28:47 -08:00
Frank 5c01c42ba7 fix bug 7722, code complete basic architecture 2011-01-08 16:20:39 -08:00
Kelven Yang 323fc6299d Use volume state to determine whether or not we need to send volume DestroyCommand to hypervisor hosts. 2011-01-07 05:41:28 -08:00
alena d0687f663f bug 7863: fixed router cleanup thread
status 7863: resolved fixed

Router cleanp thread is fixed, here is functionality description:

* Runs every "router.cleanup.interval" period of time (1 day by default)
* Stops only domRs running in Advance zone
* Thread Flow:
- gets all Running domRs/dhcps, get their networks, select network that
has to be checked (see criteria below):
- checks that there is only one nic in the op_networks table for the
network, and this nic belongs to domR/dhcp
- Stops domR/dhcp
* Criteria to choose the network:
- Network has to be non-system.
- Network should be one of the following: Guest Virtual (TrafficType=Guest; GuestType=Virtual); Direct Tagged (TrafficType=Public; GuestType=Direct)

Couple of other fixes:

* Added isShared parameter to listNetworks command
* Moved guestType from NetworkOffering to Network
2011-01-07 16:57:47 -08:00
Chiradeep Vittal 70241d78ec bug 6694: trim excess fat from passed in parameters
status 6694: resolved fixed
2011-01-07 14:43:52 -08:00
Alex Huang 6dc922408d unit test working 2011-01-07 13:42:43 -08:00
Alex Huang e496a99c1c added processing for events 2011-01-07 13:42:43 -08:00
Alex Huang 2e29f21e5a changes for injectors 2011-01-07 13:42:43 -08:00
Alex Huang 03128cadf6 got rid of monitor 2011-01-07 13:41:15 -08:00
alena 789912de6a Removed guestIpType parameter from listNetwork offerings command 2011-01-07 10:54:45 -08:00
Chiradeep Vittal d95c7a4ade hypervisor type is required, right now the parameter exception is thrown inside the resource svc 2011-01-07 10:51:14 -08:00
abhishek 274edf1478 fixing sec group rules creation, and also adding some description in commands. checking in so that ui work can begin. 2011-01-07 10:34:00 -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
abhishek f3e91de0bd bug 7824: implementing search for pools by id
status 7824: resolved fixed
2011-01-05 12:00:20 -08:00
anthony 57ee66a22d XenServer can tell if the VM is shutdowned from inside,
if VM is shutdowned from inside, a new state "Shutdowned" is reported to MS and this VM will not be restarted even HA is enabled for this VM
2011-01-04 17:40:13 -08:00
alena edfbc5a782 bug 7267: create/updateZone - guestNetworkCidr parameter is accepted only for zone of type Adanced.
status 7267: resolved fixed

As a part of the fix added cidr format validation to updateZone command.
2011-01-04 16:59:39 -08:00
Alex Huang 4eba6d10d7 Moved State into VirtualMachine like other States of objects 2011-01-04 15:01:34 -08:00
anthony 83f3884412 adding change VM guest os type api 2011-01-04 15:01:26 -08:00
kishan fb6310e993 bug 6947: removed network type from service offering APIs
status 6947: resolved fixed
2011-01-04 13:22:41 +05:30
kishan ce3c794bd3 bug 6916: check for removed account for ListVMs. Moved realated code to userVm Manager
status 6916: resolved fixed
2011-01-04 13:07:49 +05:30
alena 0b7a15ab99 bug 7348: reapply PortForwardingRules (including 1-1 Nat), LB rules, Vpn as a part of domr Stop/Start
status 7348: resolved fixed

More fixes:
* Update user_statistics on each domR stop/reboot
* Reset dhcpData/userData as a part of domR stop/reboot
* More logging for domR commands
2011-01-03 23:00:05 -08:00
kishan 02ae55cc96 bug 7389: made ip optinal for list pf rules, all rules for the account will be listed when ip is not available
status 7389: resolved fixed
2011-01-03 13:47:18 +05:30