Commit Graph

4822 Commits

Author SHA1 Message Date
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
Kelven Yang
9e2cbbe0dd Make AddCluster Command return standard json object format 2010-12-30 16:38:31 -08:00
alena
5694cda19d bug 7796: get updated PortForwarding rule before building api response
status 7796: resolved fixed
2010-12-30 16:14:27 -08:00
alena
dfecc1f448 Changed account state to be in lower case. 2010-12-30 09:57:59 -08: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
alena
bd788b1827 Fixed RemoteAccessVpn apis 2010-12-29 21:36:44 -08:00
abhishek
2d6875f711 bug 7386: fixing the recurrent snapshots
status 7386: resolved fixed
2010-12-29 16:23:37 -08:00
Alex Huang
a10ce22f99 remote access vpn from management server side is done 2010-12-29 12:13:35 -08:00
Kelven Yang
bce5dfb0d4 add deleteCluster API command 2010-12-29 11:05:01 -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
Alex Huang
1afb34d38e Added code to do migration 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
e346c3b24f import cleanup 2010-12-28 14:23:21 -08:00
anthony
68727778ba bug 7620: this is caused by delayed volume creation,
doesn't make sence to create a template on empty volume, just don't allow it

status 7620: resolved fixed
2010-12-28 14:00:51 -08:00
alena
bb088a2e4c bug 7489: Added events for network create/delete
status 7489: resolved fixed
2010-12-27 15:18:14 -08:00
alena
dceab9f18a bug 7705: deletePortForwardingRule is Async now
status 7705: resolved fixed

Couple of other fixes:
* don't allow to send ipAssoc command when domR is in Starting/Stopping states as the command not async so it might be sent in parallel with domR stop/start and fail on the backend.
* DeleteIpForwardingRule api: set ownerId to rule owner id instead of hardcoding it to 1(System)
2010-12-27 14:17:17 -08:00
abhishek
a619f71bbd adding a new event type for custom certificates. 2010-12-27 11:57:51 -08:00
alena
ecc9aabbcc Added no args constructors to IpAddressTO/LoadBalancerTO classes. 2010-12-27 11:23:29 -08:00
kishan
e51dc79000 bug 7504: Events refactoring
status 7504: resolved fixed
2010-12-24 19:38:28 +05:30
kishan
53d3455cbe bug 7504: Events refactoring 2010-12-24 12:58:32 +05:30
kishan
bb0e6a0ae3 bug 7504: Events refactoring 2010-12-24 12:58:32 +05:30
alena
928ab98dc6 Added new network Capability "TrafficStatistics" for LoadBalancer and Firewall services 2010-12-23 15:06:37 -08:00
alena
dfb736273c PublicIpAddress response - search for default Public system network offering instead of hardcoding the id to 1. 2010-12-23 12:45:49 -08:00
alena
b437b8b977 listPublicIpAddresses api: return networkId (the id of the network ip belongs to) and associatedNetworkId. 2010-12-23 11:52:44 -08:00
alena
eb1f1da035 Assert when capability is not supported by service 2010-12-23 11:52:44 -08:00
alena
3775ba043e Added Services (dhcp, gateway, portForwarding, etc.) to NetworkOffering. 2010-12-23 09:40:15 -08:00
alena
ec9260ce62 bug 7619: Added list of Capabilities parameter for Network
status 7619: resolved fixed
2010-12-22 11:05:31 -08:00
Chiradeep Vittal
cc5dea49dc Add RemoteAccessVpn service 2010-12-21 11:04:27 -08:00
abhishek
aed200492d bug 7459: honoring the isBootable flag for isos
status 7459: resolved fixed
2010-12-21 10:37:26 -08:00
Alex Huang
0ecb0118ec renamed the domainrouter services 2010-12-21 03:56:01 -08:00
Alex Huang
356526db83 Changed exception code to give the scope of the problem 2010-12-21 03:54:30 -08:00
alena
724b8d80bd Don't allow to remove a network with deleteNetwork api when the network has active nics assigned 2010-12-20 20:20:09 -08:00
Chiradeep Vittal
1597671e73 Merge branch 'fixloadbalancer2' 2010-12-20 17:52:21 -08:00
Chiradeep Vittal
d7c81b702e WIP 3 2010-12-20 17:46:14 -08:00
will
86b06d16ef Changed isCustomized to all lowercase to follow standard response returned as part of listDiskOffering 2010-12-20 17:34:50 -08:00
Chiradeep Vittal
6da6330c3f WIP to fix domr network integration 2010-12-20 17:28:20 -08:00
alena
b228ae6acb Set domR access details (name, privateIp) for various commands - PF/LB/IPAssoc 2010-12-20 17:22:52 -08:00
alena
769b89b530 RestartNetwork command is async now 2010-12-20 17:22:52 -08:00
Kelven Yang
228eba363b Add clustertype field to response of ListHostCmd. Improve UI display related with cluster/host 2010-12-20 14:08:59 -08:00
alena
3cd989cbef 1) Changed format for IpAssoc command. Instead of sending the ip addresses to assign one by one, we send a list of ip addresses to the agent.
2) Fixed createVM with multiple networks
2010-12-20 09:37:46 -08:00
abhishek
5eae8923b1 commenting out this assert for now as it might break code 2010-12-17 19:53:40 -08:00
Kelven Yang
f92482fabf add clustertype and hypervisortype to ListClusterCmd API, improve addHost UI to deal with multi-hypervisor 2010-12-17 19:41:35 -08:00
Kelven Yang
769e47d158 How come this file is missed in git? 2010-12-17 16:32:32 -08:00
Kelven Yang
e03693f0aa Make AddClusterCmd API generic to all hypervisors, change UI accordingly also 2010-12-17 16:30:27 -08:00
abhishek
a54c5e8949 fixing the issue wherein public network guru failed to get ip address for direct network in case of security groups 2010-12-17 16:16:51 -08:00
alena
59cf483043 Added "state" parameter to LoadBalancerRules response 2010-12-17 12:50:09 -08:00
alena
ca92c28e0e Fixed setupNetwork command to use vlan tag instead of vlan dbId.
Changed LoadBalancerConfigCommand to use Array data structrue instead of List as list is not handled well by gson.
2010-12-17 12:07:06 -08:00
edison
5b39bd6872 fix a NPE when destroying a detached volume 2010-12-17 10:43:59 -08:00
alena
8807fc8677 Don't send applyLB command to the backend when domR is stopped. 2010-12-17 09:57:48 -08:00
alena
0049c74a5e 1) Different format for LoadBalancerCommand.
2) When apply lb rule for domR, resend all lb rules belonging to the lb network
2010-12-17 09:37:13 -08:00
Alex Huang
5b11649c55 Removed even more old code 2010-12-16 17:17:02 -08:00
abhishek
d73e06a938 bug 7509: adding search by id for security groups, also refactoring a few method names to use the new scheme
status 7509: resolved fixed
2010-12-16 16:47:57 -08:00
Kelven Yang
4a6933fa9e 1) Enable addExternalCluster API command
2) UI changes for new addExternalCluster API command (for vmware)
2010-12-16 16:40:32 -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
Alex Huang
a7a4d92739 Renamed Start2 to Start 2010-12-16 14:18:53 -08:00
Alex Huang
39cc371e78 network gc 2010-12-16 14:03:21 -08:00
alena
d427cdae1e 1) Return associatedIpAddress in listPublicIpAddresses command.
2) Disabled create/deleteNetworkOffering API commands
2010-12-16 12:07:09 -08:00
Kelven Yang
65c094a2c0 Add a API to allow adding external hypervisor cluster 2010-12-16 10:00:42 -08:00
alena
52e6e4d06e bug 6930: return async job info in listHost/listStoragePools commands
status 6930: resolved fixed
2010-12-15 18:58:56 -08:00
alena
4ca2b8808b Fixed ipAssoc command to throw an exception when virtual network is null 2010-12-15 17:25:45 -08:00
alena
b383aaceec bug 7517: Added an ability to specify vm's host name during vm Deploy using "name" parameter. The parameter is optional.
status 7517: resolved fixed

Name should follow these rules:
* must be between 1 and 63 characters long and may contain only the ASCII letters 'a' through 'z', the digits '0' through '9', and the hyphen ('-').
* can not start  with a hyphen, and must not end with a hyphen

Once name is set (during vm deploy), it can't be modified.
2010-12-15 15:52:16 -08:00
Kelven Yang
2719972cf6 Let discovers be able to identify itself 2010-12-15 14:15:13 -08:00
abhishek
37996132ed some more changes for the account creation 2010-12-15 13:47:45 -08:00
alena
c1db5b6fc0 1) Fixed associate/disassociateIP address commands. The procedure is changed from 2.1, right now on single ipAssoc command we get a new ip and reapply all exising ip associations.
2) Added restartNetwork API command. Currently the command reapplies ip addresses for the network. TODO - reapply PF/LB rules and restart the domR.
2010-12-15 11:39:30 -08:00
abhishek
6ae9e73c0b bug 7466: adding a whole bunch of new apis for accounts and users; merging account locking and disabling into one; preventing account manipulation on user disabling; disabling user lock 2010-12-14 15:38:37 -08:00
alena
82d15fc8af Set correct response name for updateNetworkOffering command 2010-12-14 14:52:02 -08:00
alena
d673686f5f Added Availability field for NetworkOffering. Added updateNetworkOffering API command 2010-12-13 18:28:33 -08:00
alena
d077b127aa bug 7498: fixed search by keyword in listUserVm/listSystemVms/listRouters commands
status 7498: resolved fixed
2010-12-13 15:22:11 -08:00
alena
c7a9267225 Delete network as a part of account cleanup 2010-12-13 10:47:10 -08:00
Kelven Yang
dedfe57280 seraral fixes for VMFS storage 2010-12-11 11:08:39 -08:00
Alex Huang
790bf40be6 Forgot what i change but must be important 2010-12-10 17:20:31 -08:00
alena
fd20002609 Made virtualMachineIds parameter required for assignToLoadBalancerRule command 2010-12-10 15:41:33 -08:00
alena
acef5c9f5c Fixed listLoadBalancerRuleInstances to return all vms in the system for the ROOT admin 2010-12-10 15:35:07 -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
Alex Huang
d27c0c4b01 mac addresses for private ip addresses 2010-12-10 13:36:40 -08:00
Alex Huang
68932929fb Changes to how public ip addresses are allocated 2010-12-10 08:38:20 -08:00
anthony
dcb40b5b15 Revert "add new api SetVMOSTypeCmd"
This reverts commit 543b2615db.

Conflicts:

	api/src/com/cloud/api/commands/SetVMOSTypeCmd.java
2010-12-09 23:38:52 -08:00
keshav
f6f1d38724 - Added variable to keep track of a NicProfile's network 2010-12-09 22:25:42 -08:00
keshav
d9f5e63f69 Added a constructor for LoadBalancerConfigCommand, and a variable to keep track of a list of destinations. 2010-12-09 21:28:10 -08:00
alena
7e9579dab2 Fixed create/list LoadBalancerRules 2010-12-09 21:06:48 -08:00
root
471a0e73fe fixing a bug wherein the template/iso gets deleted from the host once upload, on a ms restart. it still exists in db. any further attempt to create vm from this template/iso results in failure. 2010-12-09 18:56:30 -08:00
edison
712953156b fix boot from iso/attach iso/disks issue 2010-12-09 14:25:44 -08:00
alena
52f2d646fd Fixed NPE in listLoadBalancer command 2010-12-09 14:11:11 -08:00
alena
c34e2c6c54 Don't return nics for system vms and domain routers. Return private/public/guest ip info instead 2010-12-09 13:56:39 -08:00
alena
88fa5337ca Fixed responses for userVm/domainRouter/SystemVm: added nic information. 2010-12-09 13:24:40 -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
8fb948650f Fixed createPortForwardingRule command.
Modified createVlanIpRange command: added optional networkId parameter; only startIp parameter is required now.
2010-12-09 11:12:29 -08:00
Jessica Wang
d2bd6e522e bug 7448: add domain parameter in returned objects from listNetworks API. (changed by Alena) 2010-12-09 09:57:23 -08:00
Jessica Wang
e256a3a037 bug 7448: add forVirtualNetwork parameter to ListVLANIpRange. (by Alena) 2010-12-08 18:37:00 -08:00
Kelven Yang
b285bbb683 new networking change integration 2010-12-08 18:30:30 -08:00
alena
829d6fe8a0 Fixed listIpForwardingRules command: made ipAddress required, added vm and rule state info to the response. 2010-12-08 14:28:37 -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
abhishek
5c689f3db7 bug 7437: the password is being set in the vm obj, but was being reset before returning the result obj. correcting the same
status 7437: resolved fixed
2010-12-08 12:09:09 -08:00
Alex Huang
2c42ebbf71 ip assoc working 2010-12-08 09:03:34 -08:00
Alex Huang
1134faea1b ip addresses are now separated from domR 2010-12-08 09:03:34 -08:00
Alex Huang
f794abfdef ip addresses are now separated from domR 2010-12-08 09:03:34 -08:00
alena
2547fc1f6a More error logging to apis 2010-12-08 08:53:34 -08:00
nit
83145c38fd bug 7410 : listTemplates and ListIsos - Correcting the pagesize use. Putting all the filters in the DB query rather than after execution so that pagesize restriction happens at the end.
status 7410: resolved fixed
2010-12-08 19:46:04 +05:30
will
847e458e0e You can now view the NICS attached to a VM. 2010-12-07 18:04:09 -08:00
alena
2ffcbb8815 Added isSystem parameter for listNetworks command, default value is false. If it's set to true, only system networks with trafficType=Public and and zone=Advanced are gonna be returned 2010-12-07 16:36:34 -08:00
alena
01b4af3006 Added more error logging to api commands. 2010-12-07 14:38:58 -08:00
alena
954756d69b Introduced new NetworkElement - DhcpElement. 2010-12-07 13:47:59 -08:00
alena
e3e34be36d ListVlanIpRanges can list by networkId now. 2010-12-07 10:17:44 -08:00
abhishek
495e85f452 bug 7417: fixing the password return val issue for an iso
status 7417: resolved fixed
2010-12-06 18:16:53 -08:00
alena
a67e91253f Don't allow to create network offering of DirectPodBased type 2010-12-06 17:42:23 -08:00
alena
fb4c448762 Don't create default pod/zone
Create untagged network as a part of createZone command
2010-12-06 16:48:25 -08:00
Kelven Yang
51b55d8ae9 Carray storage pool uuid in VolumeTO to let hypervisor resource to identify storage easier 2010-12-06 15:57:40 -08:00
anthony
543b2615db add new api SetVMOSTypeCmd
user can update to PV kernel or HVM kernel as they want,
2010-12-06 15:57:18 -08:00
Alex Huang
a87aac2640 missing file 2010-12-06 15:24:32 -08:00
Alex Huang
d890189a92 missing default values for providers 2010-12-06 15:20:13 -08:00
Alex Huang
87626bea6b start vm is working 2010-12-06 14:17:53 -08:00
Alex Huang
f147bf5f94 start vm not working again 2010-12-06 14:17:53 -08:00
Alex Huang
fcdd20ca06 more checkin 2010-12-06 14:17:53 -08:00
abhishek
b4dd261fc2 introducing a new error state 2010-12-06 14:03:10 -08:00
alena
ade1b2665b Removed podId from createNetwork api command 2010-12-06 13:25:37 -08:00
edison
fd7960f13d fix secondary storage in new networking mode 2010-12-06 12:40:52 -08:00
alena
5571b444f2 1) Don't allow to delete a vlan if it has network associated with it. Also don't show such vlans in listIpRanges command.
2) Return vlan in create/list networks command.
3) Implemented list networks by type.
4) Changed listVlanIpRanges to return start/endIps in separate tags instead of returning them in description.
2010-12-06 12:36:09 -08:00
alena
8b99a8e15c NetworkIds parameter is required now for deployVmCmd. 2010-12-06 10:57:35 -08:00
alena
31b3b79f5a Changed create/updatePod to accept netmask/gateway instead of cidr 2010-12-06 10:08:07 -08:00
alena
cd8513598f Return trafficType/networkType as a part of Nic information for listSystemVms/listDomainRouters/listUserVms. 2010-12-06 09:43:37 -08:00
alena
0dbd21fe23 createNetwork command accepts netmask/gateway instead of cidr. Also return start/endIp in the createNetwork response. 2010-12-06 09:18:02 -08:00
nit
a38c18220c bug 7410 : listTemplate - Correcting the pagesize use. Putting all the filters in the DB query rather than after execution so that pagesize restriction happens at the end. 2010-12-06 19:47:33 +05:30
nit
39eb645b04 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-12-06 14:07:24 +05:30
nit
14425ffe83 bug 7415 : listTemplatePermissions - Making it extend BaseCmd and not BaseListCmd since it never returns a list. This will also take care of the ClassCastException getting thrwon
status 7415: resolved fixed
2010-12-06 14:05:58 +05:30
Alex Huang
98eb58bf84 callCreate to create 2010-12-04 17:58:16 -08:00
Alex Huang
cf032b7a3a more changes 2010-12-04 17:33:02 -08:00
Alex Huang
16cccf4f59 ip address modifications. removed old deploy 2010-12-04 17:32:32 -08:00
Alex Huang
16caf1954b New ip address states and mode 2010-12-04 17:32:32 -08:00
Alex Huang
daa9add158 removed router stuff from network manager 2010-12-04 17:32:31 -08:00
edison
525cb3dd5d don't break old code 2010-12-04 16:39:10 -08:00
edison
e591f56b25 add logs, and don't break old code 2010-12-04 15:02:03 -08:00
edison
b7cdae2688 fix for migration 2010-12-04 15:02:03 -08:00
edison
41fdbfc65e new allocator 2010-12-04 14:59:39 -08:00
alena
150d684e05 1) isShared attribute belongs to Network now, not NetworkOffering
2) Added list by networkId support to listVirtualMachines command.
3) Implemented search by zoneId in listNetworks command
2010-12-03 19:07:08 -08:00
Kelven Yang
280884f6d7 Work around VMware problem about detaching volume that has snapshot been linked with it 2010-12-03 18:59:23 -08:00
Kelven Yang
cc7dc5e6be Persist disk chain info when we detach a volume, check disk chain info when we attach a volume, this is required when snapshot operations are involved in vwmare 2010-12-03 18:59:23 -08:00
alena
2759e422f5 Return type/trafficType in the listNetworks response 2010-12-03 13:48:43 -08:00
Alex Huang
96ac136b8c changed getAccountId to getEntityOwnerId 2010-12-03 11:59:45 -08:00
abhishek
b0abda3c49 some changes to domain specific offerings for the UI to consume 2010-12-03 09:37:02 -08:00
Alex Huang
a8b617c596 port forwarding is now in 2010-12-03 08:48:03 -08:00
Alex Huang
3aa19666cf merge with master 2010-12-03 08:48:03 -08:00
Alex Huang
b859e103d8 ip nat rule forwarding done 2010-12-03 08:48:03 -08:00
Alex Huang
9a70ee54f0 portforwarding is working 2010-12-03 08:48:03 -08:00
Alex Huang
bb78986ddb port forwarding working 2010-12-03 08:48:02 -08:00
Alex Huang
223688d0bf Port forwarding rules and load balancing rules rewrite 2010-12-03 08:48:02 -08:00
nit
b543faeeee bug 7366 : Removing the bootable field from "createTemplate","registerTemplate","listTemplate" and "updateTemplate" commands.
Making some db changes for a successful ant deploydb
status 7366: resolved fixed
2010-12-03 18:31:08 +05:30
alena
f8a687ab23 1) Implemented create/list/deleteNetworkOffering create/delete/listNetwork APIs.
2) Added networkIds parameter to deployVMCmd - accepts list of networks ids separated by coma.
3) Changed domainRouter/systemVm/userVm response to return list of Nics associated with the vm.
2010-12-02 19:30:17 -08:00
anthony
6f1eb4bf44 bug 7144: return snapshotId with jobid
1. manual and recursive snapshot use the same command
2. upgrade from 2.2 beta1 to beta need to execute schema-22beta1to22beta2.sql and data-22beta1to22beta2.sql
3. upgrade from 2.1GA to 2.2GA need to execute schema-21to22.sql and data-21to22.sql

status 7144: resolved fixed
2010-12-02 19:23:34 -08:00
anthony
d184c56ef3 cleanup snapshot code 2010-12-02 19:23:33 -08:00
abhishek
d0fc07496f search functionality for ip forwarding rules, with covering of cerner cases 2010-12-02 09:46:32 -08:00
will
2966dd637d bug 6969: Added list async support for host 2010-12-01 18:22:21 -08:00
will
cd5afb3d7e bug 6969: Fixed snapshots, templates, isos, routers, volumes, and system vms async commands to make use of the new job id/job status when listing objects with pending jobs. 2010-12-01 16:50:56 -08:00
abhishek
a477d6c33c adding support for updating service and disk offerings, also adding domain and domainid back in the responses to the CRUD methods for both service and disk offerings 2010-12-01 10:40:08 -08:00
abhishek
b51a7fec50 adding a security checker whilst creating a volume from a disk offering 2010-12-01 09:53:13 -08:00
abhishek
4387e2ca0a another good point to commit; the basic domain specific disk offering functionality is now in place 2010-12-01 09:53:13 -08:00
abhishek
1dfdcf51cb another good point for checkin, added the domain checker for checks against service offerings, whilst deploying virtual machines 2010-12-01 09:53:13 -08:00
abhishek
9a6eaaf21f this is a good point to commit the code; have the basic domain specific service offering working 2010-12-01 09:53:13 -08:00
will
c67d26cec4 bug 6969: First step of now displaying pending async jobs for listXXXCommands. There is a lot more cleanup and fixing to do but all commands acting against VirtualMachines now work. 2010-11-30 19:12:09 -08:00
alena
5c8619903b bug 7342: return ipaddress instead of publicip in listIpForwardingRules/listPortForwardingRules api responses.
status 7342: resolved fixed
2010-11-30 10:16:54 -08:00
anthony
d3325de5ae 1. limit xs-tools in xenserver related java file
2. don't populate xs-tools to template_host_ref
3. introduce a new template type PERHOST, which doesn't need to be populated to secondary storage
2010-11-29 18:21:08 -08:00
alena
aa8aa6027a Modified UserContext - got rid of accountName, domainId fields as we can get this information from Account field. 2010-11-24 14:29:08 -08:00
alena
44737d24c5 bug 7196: fixed response object generation for authorizeNetworkGroupIngress command (response type is Network group response - the way it was in 2.1.x - instead of IngressRule response)
status 7196: resolved fixed

Also fixed revokeNetworkGroup command - didn't work via 8096 port
2010-11-24 09:50:04 -08:00
nit
841044e360 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-11-24 18:38:23 +05:30
nit
8ea124ae79 bug 7046 : extracting templates should allow for exclusion of some templates. An attribute "extractable" would be set on templates by the template owner at upload time. It would specify if we allow the template to be extracted from the system. Default would be true ie "allow extraction". If set to false, it would not be possible to extract the template or any derivatives of the template. For example, volumes, snapshots or templates from that template.
status 7046: resolved fixed
2010-11-24 18:37:54 +05:30
kishan
f70071dc98 bug 6309: Added event VM.UPDATE along with changed fields
status 6309: resolved fixed
2010-11-24 18:36:35 +05:30
kishan
19dcbb8d8e bug 7246: changed event name to TEMPLATE.CLEANUP when cleaning up templates on sec storage. Usage won't track this event
status 7246: resolved fixed
2010-11-24 17:48:19 +05:30
alena
6765e97976 Made ApiResponseHelper to use Long instead of long for response parameters to eliminate possible NPEs during building an api response. 2010-11-22 11:27:15 -08:00
Alex Huang
1e44925564 api refactoring 2010-11-21 12:00:21 -08:00
Alex Huang
bb843ab1fb missing file 2010-11-19 15:48:40 -08:00
Alex Huang
5b4a6f27db Changed networkconfigurations to network as per Sheng's suggestion 2010-11-19 15:44:42 -08:00
edison
0c35f2f743 bug 7237: disk size is passed in diskProfile, no need size parameter in createcommand
status 7237: rresolved fixed
2010-11-19 11:55:27 -08:00
alena
dae39942f1 bug 7192: Added networktype parameter for the zone
status 7192: resolved fixed

1) Zone has networktype parameter now, 2 values are supported: Basic and Advanced. "networktype" field is created in data_center table. The parameter is being set at creation time; we don't allow to modify it with updateZone command.
2) Only vlan of Untagged Direct type can be created in Basic network zone; any other vlan except for Untagged Direct can be created in Advanced zone
3) Allow NULL guest vlan range for the zone. Only vlan of Direct type can be created in zone with NULL guest vlan.
4) "Default" zone is Basic by default.
5) Changed "vnet" parameter to "vlan" in updateZone command to be consistent with createZone
2010-11-16 16:54:44 -08:00
Alex Huang
17afeade00 better componentslocator 2010-11-16 04:28:14 -08:00
abhishek
6d943abf55 bug 7119: code refactor away from the ms calls, to the share and prepare methods based on alex's recommendations
status 7119: resolved fixed
2010-11-15 11:17:36 -08:00
edison
8ca6f1669e start2command fro secondarys storage vm and make it work for KVM 2010-11-11 17:04:10 -08:00
Alex Huang
94250c1330 committing to update 2010-11-11 12:53:19 -08:00
alena
86e83bc4bd Created new response objects for userVm/domainRouter/systemVm that going to be used by API after network refactorig is in place. 2010-11-11 10:43:18 -08:00
abhishek
11ea13fd7d Added the domain checker code and checks for a host of commands. This replaces the previous mechanism, and provides a way for us to validate the command executor as to whether he has access to the zone. 2010-11-08 17:50:38 -08:00
Alex Huang
edf9ddd464 added reservation id to vnet 2010-11-08 12:29:38 -08:00
Alex Huang
aca8ef79cd a bunch of other changes for network refactoring 2010-11-08 12:29:37 -08:00
Alex Huang
5f90a8adb0 Checking in to do git pull...stupid git 2010-11-05 16:10:22 -07:00
Alex Huang
1fe446002b stop vm is now formalized 2010-11-05 16:10:22 -07:00
Alex Huang
d5d1808488 Added reservation context to the network gurus 2010-11-05 16:10:22 -07:00
edison
433c28fb16 bug 7041: fix npe in delete template from storage pool, if the template already marked as removed
status 7041: resolved fixed
2010-11-05 16:02:18 -07:00
Alex Huang
0fdca8be9a changed back so everyone else can start the old way 2010-11-03 21:18:31 -07:00
Alex Huang
a0cb58aad2 Harmony amongst gurus 2010-11-03 21:18:31 -07:00
Alex Huang
e27bb550fe Harmony among gurus 2010-11-03 21:18:31 -07:00
Alex Huang
3348b56ab7 Successful creation of domr and uservm with all programming done correctly.....yahooo 2010-11-02 12:25:08 -07:00
Alex Huang
6311644e08 Successful creation of domr and uservm with all programming done correctly.....yahooo 2010-11-02 12:25:08 -07:00
Alex Huang
14f80f2e13 domain router up and running...now on to patching through the network between the domain router and the vm 2010-10-29 12:16:58 -07:00
Alex Huang
4f9f249218 make console proxy work again with the new network configuration 2010-10-26 17:37:29 -07:00
Alex Huang
1a641936da no more alert on setup 2010-10-26 09:35:24 -07:00
Alex Huang
2bc938c3f8 checkins for problems. 2010-10-26 09:35:24 -07:00
Alex Huang
29a5b796d4 deploy vm completed...now for testing 2010-10-26 09:35:24 -07:00
Alex Huang
f58063911e deploy vm completed 2010-10-26 09:35:24 -07:00
Alex Huang
25e4ed6997 more changes in the api 2010-10-21 16:53:42 -07:00
Alex Huang
d5d8f27cad Added more changes to the api 2010-10-21 15:11:49 -07:00
kishan
fa4a16cb68 bug 5592: Added configurable domain for hosts.
status 5592: resolved fixed
2010-10-21 11:51:09 +05:30
Alex Huang
2da8035bd1 more changes for the rewrite 2010-10-19 11:52:02 -07:00
Alex Huang
794ca16a65 Added code to start domR 2010-10-19 11:52:01 -07:00
Alex Huang
b3da4cea1b Forcing me to commit because of stupid git 2010-10-15 06:22:59 -07:00
Kris McQueen
8e086d7a21 resolving merge conflicts between 2.1.refactor and master 2010-10-12 16:28:16 -07:00
Kris McQueen
2740ba6c40 final merge of master->2.1.refactor preparing for merge back into master 2010-10-12 14:46:24 -07:00
Alex Huang
ce091de3d2 more changes for refactor 2010-10-12 07:17:47 -07:00
Alex Huang
94a26d2038 Still needs to add mac address allocation but basically console proxy is started and running 2010-10-06 10:18:09 -07:00
Alex Huang
5f88268ef2 console proxy vm is now started but it is not reading the disk correctly 2010-10-04 17:59:06 -07:00
Alex Huang
652d86956c more files checked in 2010-10-04 12:04:59 -07:00
edison
7615f569ff after rebase, fix bugs 2010-09-29 18:41:55 -07:00
edison
ad1ef80459 Now we have multiple routing template and buitin templates now, refactor template download code, that can handle it.
Basically, change the meaning of type field in template table: SYSTEM means sytem vm template, BUILIIN means buildin templates.
2010-09-29 18:41:55 -07:00
edison
6fc7528809 create data volume is splitted into two stage:
1. create a volume entry in the database,
2. when user attaching the volume to a VM, then actually create the volume on storage pool.
2010-09-29 18:41:54 -07:00
edison
9e0f57bc0e change code for new UI 2010-09-29 18:40:52 -07:00
edison
8943cc6745 create volume
Conflicts:

	api/src/com/cloud/vm/VmCharacteristics.java
	core/src/com/cloud/dc/ClusterVO.java
	core/src/com/cloud/server/ManagementServer.java
	server/src/com/cloud/network/NetworkManager.java
	server/src/com/cloud/storage/allocator/AbstractStoragePoolAllocator.java
2010-09-29 18:40:51 -07:00
Kelven Yang
d33d1a632d Switch from VMDK to OVA on vmware image format 2010-09-29 18:40:50 -07:00
Kelven Yang
5b2740f3f9 Change VMware template extenstion to ova 2010-09-29 18:40:50 -07:00
edison
edb16aa117 change storage allocator policy based on hypervisor 2010-09-29 18:40:47 -07:00
Kris McQueen
848ce60097 Merging master into 2.1.refactor, resolve the merge conflicts as best I can. New commands related to extracting template/iso/volume and related to instance groups were refactored to the new API framework. 2010-09-28 15:47:14 -07:00
Alex Huang
dcea43ba0f create is now complete 2010-09-27 15:14:38 -07:00
Alex Huang
c443867f28 more changes 2010-09-27 15:14:38 -07:00
root
979fcf8b78 finalized guru design 2010-09-22 10:44:00 -07:00
Alex Huang
c0d8422d69 more changes 2010-09-22 10:43:59 -07:00
Alex Huang
22652e7ace got the vm created 2010-09-22 10:43:59 -07:00
Alex Huang
8acba8fbd1 more checkins 2010-09-22 10:43:59 -07:00
Alex Huang
286e78c849 moved account id, service offering id, and domain id into isntance 2010-09-22 10:43:59 -07:00
Alex Huang
bebe79ebc9 more work from alex 2010-09-17 13:37:53 -07:00
Alex Huang
131e487c32 allocation complete. Moving on to actual create and deploy 2010-09-16 12:01:56 -07:00
Alex Huang
e283bc7f05 no idea how these files were not committed 2010-09-15 18:00:55 -07:00
Alex Huang
84179cd561 add missing files 2010-09-15 18:00:54 -07:00
Alex Huang
327924a9ad More changes for refactoring 2010-09-15 18:00:54 -07:00
alena
b26ac321de bug 6177: Make VM group a first class object
1) Added new apis: createInstanceGroup, updateInstanceGroup, deleteInstanceGroup, listInstanceGroups
2) Group can be created using:
* createInsanceGroup api
* deployVirtualMachine/updateVirtualMachine commands (we create a group with name equal to "group" parameter value if the group doesn't exist already)
3) Group can be removed by:
* deleteInstanceGroup api
* when corresponding account is removed
4) Vm can be assigned to one group only. To move vm from one group to another, use updateVirtualMachine command with "group" parameter
5) Changed listVirtualMachines command to use "groupId" parameter instead of "group".

status 6177: resolved fixed
2010-09-14 19:08:01 -07:00
Kris McQueen
a8112f65de When using session based authentication, we now store the parameters in the session as part of the login processing, instead of returning those parameters so that the caller has to update the session. Authentication now throws an exception on failure and the caught exception is where the session is invalidated. 2010-09-13 17:04:11 -07:00
root
077690cf15 switched from networkprofile to network configuration 2010-09-09 17:48:24 -07:00
Alex Huang
8d3f135115 more missing files 2010-09-09 13:35:16 -07:00
Alex Huang
d094ff3afb more changes from merge 2010-09-09 13:29:24 -07:00
Alex Huang
7249f168d5 more file changes 2010-09-09 13:27:20 -07:00
Alex Huang
6134f7dfd2 more file changes 2010-09-09 11:52:12 -07:00
abhishek
b3803d563e bug 5909: Implementing the enhancement for adding attach time for volumes. In the case of general VM creation, the attach time is usually~creation time. In the case of attaching a volume to a vm, the time significantly differs. The value is nulled out during the detaching of volume from the vm
status 5909: resolved fixed
2010-09-02 16:23:13 -07:00
Kelven Yang
0e2df1fe42 Use dummy template package to speed up debug 2010-08-26 09:43:37 -07:00
Kelven Yang
73fb80e424 Swich back to vmdk extention temporarily 2010-08-25 18:46:14 -07:00
Kelven Yang
23a38bc2be Debug & Test template copy from secondary storage to primary stroage on vmware 2010-08-25 18:17:20 -07:00
Kelven Yang
0a401f7b91 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-08-25 09:40:57 -07:00
Kelven Yang
49900a8985 1) Add VMDK format
2) Make console proxy servlet explictly return content-type header for console proxy page (this is a bug fix change)
2010-08-24 18:58:38 -07:00
Alex Huang
415bc8ae20 bug 5764: checkin before I switch to work on 2.1.x 2010-08-24 14:40:29 -07:00
Alex Huang
fb389e8cd6 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-08-24 00:01:09 -07:00
Alex Huang
20b26082db bug 5764: changing from networkoffering to network profile 2010-08-24 00:00:43 -07:00
abhishek
7454f0f24a Incremental checkin for volume lineage 2010-08-23 16:02:45 -07:00
Alex Huang
bb06bc3d57 fixed merge conflict 2010-08-23 15:10:08 -07:00
Alex Huang
e0165dd2ef my changes 2010-08-23 13:59:23 -07:00
Kelven Yang
08ae56d360 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
Conflicts:
	api/src/com/cloud/hypervisor/Hypervisor.java
	build/build-cloud.xml
2010-08-23 12:12:45 -07:00
Kelven Yang
7bcff5acf3 Vmware incremental check-in 2010-08-20 18:50:33 -07:00
Alex Huang
4356eb7c26 Start2Command implementation for xenserver 2010-08-20 13:35:08 -07:00
Alex Huang
afc0adf28a security checker 2010-08-19 09:23:03 -07:00
Alex Huang
20ffe6f13d more changes 2010-08-18 12:28:30 -07:00
Alex Huang
b250b985ec changes 2010-08-18 12:19:22 -07:00
Alex Huang
a89aad4d15 removed override 2010-08-17 10:16:16 -07:00
Alex Huang
c21bc7072c more changes 2010-08-16 11:30:04 -07:00
Alex Huang
867b43dcf9 more changes for the rewrite. 2010-08-16 11:28:11 -07:00
Manuel Amador (Rudd-O)
14ae76781e Committing Kris' big merge 2010-08-11 16:02:57 -07:00
Manuel Amador (Rudd-O)
ac730ec496 Branch 2.1.refactor committed 2010-08-11 09:13:42 -07:00
Manuel Amador (Rudd-O)
05c020e1f6 Source code committed 2010-08-11 09:13:29 -07:00