Commit Graph

1820 Commits

Author SHA1 Message Date
will cbc8153dd5 bug 4556: localized string replacement for instance.jsp
- removed old change name and group dialogs as they are not being used anymore
2011-01-25 11:33:41 -08:00
will feb8c1369d bug 4556: localized string replacement for host.jsp and ipaddress.jsp 2011-01-21 19:11:29 -08:00
will 1c978c25d0 bug 4556: localized string replacement for host.jsp and ipaddress.jsp 2011-01-21 19:03:05 -08:00
will e56accb970 bug 4556: localized string replacement for dashboard.jsp, diskoffering.jsp, domain.jsp, event.jsp, globalsetting.jsp 2011-01-21 17:25:13 -08:00
Jessica Wang 28f6a5ddf7 bug 7116: primary storage page, secondary storage page - clean up the confirmation dialogs to use a single dialog (i.e. "dialog_confirmation"). 2011-01-21 16:43:41 -08:00
Jessica Wang 958e7fe8df bug 7116: host page, zone page - clean up the confirmation dialogs to use a single dialog (i.e. "dialog_confirmation"). 2011-01-21 16:29:37 -08:00
Jessica Wang f04b457508 bug 7116: System VM page - clean up the confirmation dialogs to use a single dialog (i.e. "dialog_confirmation"). 2011-01-21 16:11:26 -08:00
Jessica Wang 5bc0e51818 bug 7116: template page, ISO page - cleanup the confirmation dialogs to use a single dialog (i.e. "dialog_confirmation"). 2011-01-21 15:48:07 -08:00
will 16d03106f9 bug 4556: localize string replacements for index.jsp, account.jsp, alert.jsp, and cluster.jsp 2011-01-21 15:45:05 -08:00
Jessica Wang c44dc97f31 bug 7116: volume page, snapshot page, IP Address page - cleanup the confirmation dialogs to use a single dialog (i.e. "dialog_confirmation"). 2011-01-21 15:27:50 -08:00
Jessica Wang 6545cb99d2 bug 7116: instance page - cleanup the confirmation dialogs to use a single dialog (i.e. "dialog_confirmation"). 2011-01-21 15:09:19 -08:00
Alex Huang 2ec5bef63f eclipse workspace changes 2011-01-20 10:31:18 -08:00
Jessica Wang 4ad402833b change text "Isos" to "ISOs". 2011-01-18 10:22:35 -08:00
Kevin Kluge 8f506078e2 bug 7908 resolved fixed.
changed heap to 256 MB and permgen to 128 MB.
2011-01-13 23:02:51 -08:00
kishan 388e689755 bug 7842: Move events to service layer from http api 2011-01-14 03:58:56 +05:30
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
will 5490c4ee02 Added ability to allow users to select language support. 2011-01-11 14:34:42 -08:00
alena 07aa1d68d1 Fixed minor issues in tool generating the difference between 2.1.x and 2.2 apis 2011-01-10 19:12:16 -08:00
alena 7bf7f3d284 Api xml doc: generate xml per command in addition to xml containing all api commands 2011-01-10 12:17:57 -08:00
Alex Huang 6dc922408d unit test working 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
Edison Su c12e96dcc3 add missing files 2011-01-06 12:25:50 -05: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
Kelven Yang bce5dfb0d4 add deleteCluster API command 2010-12-29 11:05:01 -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
edison 2762f0c75e release cpu/memory after vm stopped for a while 2010-12-23 22:06:01 -08:00
kishan a7626fc991 bug 7504: Added usage events 2010-12-22 12:28:05 +05:30
Alex Huang 0ecb0118ec renamed the domainrouter services 2010-12-21 03:56:01 -08:00
Kelven Yang e03693f0aa Make AddClusterCmd API generic to all hypervisors, change UI accordingly also 2010-12-17 16:30:27 -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 29f490feb6 bug 6361: changing the command names to map to security groups 2010-12-16 15:59:04 -08:00
abhishek cec26017a2 bug 6361: added some more comments 2010-12-16 15:37:19 -08:00
alena d427cdae1e 1) Return associatedIpAddress in listPublicIpAddresses command.
2) Disabled create/deleteNetworkOffering API commands
2010-12-16 12:07:09 -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
will ca652895a3 Removed some alt parameters in image tags so we don't see text when images are loading slowly. 2010-12-14 15:47:22 -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 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 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
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
Kelven Yang c7d8a22cfa revert back an accidentally checked-in on components.xml.in 2010-12-09 19:33:30 -08:00
Kelven Yang 68e6706fbe Fix a number of issues related with vmware on new networking 2010-12-09 19:33:30 -08:00
will e54892290c Cleaned up the UI for Beta2 features. 2010-12-09 15:15:40 -08:00
alena 157156dd35 1)Introduced new Network Guru - used for direct tagged network.
2)Made vm start with multiple networks
2010-12-09 11:12:29 -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
alena 954756d69b Introduced new NetworkElement - DhcpElement. 2010-12-07 13:47:59 -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 f147bf5f94 start vm not working again 2010-12-06 14:17:53 -08:00
Frank Zhang 8fe7d4094d remove wscript_build from client/ and server/ 2010-12-04 23:03:24 -08:00
edison 2e3ef1408c refactor 2010-12-04 14:59:40 -08:00
will e50842557c Finalized changed to enable Virtual Networking in new network model. 2010-12-03 17:40:05 -08:00
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
Kelven Yang fa9c882d8c Add VMWare hypervisor guru 2010-11-30 09:40:53 -08:00
will b2ba0521df - Using JSTL for the internationalization framework of the UI and standardized the message bundles.
- Fixed cloud.core.callbacks.js to include the new "sessionKey" variable that is needed to prevent CRSF attacks.
2010-11-29 20:06:27 -08:00
abhishek 080db931c3 commenting out the update storage pool command for now, as this command merely updates the tags, and we will not be supporting tag updates once the sp is created 2010-11-19 12:20:57 -08:00
Jessica Wang ae1274e976 bug 7064: resource pages - give every addXXX action a dedicate button. 2010-11-19 11:23:49 -08:00
will c7cfded08c bug 7225: Fixed text display for adding volumes using a custom disk offering.
status 7225: resolved fixed
2010-11-18 13:50:50 -08:00
will 04078b86c8 bug 7153: Fixed left nav menu text. 2010-11-18 13:26:51 -08:00
abhishek 020afa6e33 adding a list command for ip forwarding rules for 1:1 nat, to be consumed by the ui 2010-11-18 11:15:13 -08:00
Alex Huang e22968b5fc more componentlocator changes 2010-11-17 04:39:47 -08:00
Ahmad E bac864779a fixing what I broke as well as what was broken 2010-11-16 14:17:40 -08:00
Ahmad E 13c3835d23 build was failing due to command name mismatch. 2010-11-16 14:08:22 -08:00
Alex Huang ed31497188 ComponentLocator changes 2010-11-16 04:28:15 -08:00
Alex Huang 17afeade00 better componentslocator 2010-11-16 04:28:14 -08:00
abhishek 968dc0616f bug 7021: data disk wasn't being created for custom sizes. Also, we were having max size checks in GB, whereas disk offerings are in MB. Made the change there as well.The storage allocators were commented out in master, uncommented them.
Status 7021: resolved fixed
2010-11-11 15:45:21 -08:00
alena efc5af0585 Refer to correct StartSystemVM class in commands.properties.in 2010-11-11 14:59:40 -08:00
abhishek 239942bbe1 refactored all the commands to cater to keshav's needs, and added the new apis. the initial set of testing is complete, will now focus on corner cases 2010-11-11 13:07:26 -08:00
abhishek 26b75fc05d this is a good point to check the code in; have completed a part of the enhancement's code; with create and delete ip forwarding rule commands and the skeleton for port to rule map with associated table 2010-11-11 13:07:26 -08:00
abhishek e5ca5dddf9 renaming the ip forwarding commands to port forwarding commands, and beginning to work on Keshav's request to modify the current 1-1 NAT to be compatible with the Amazon apis 2010-11-11 13:07:26 -08:00
Alex Huang bbdc2b22ff commit for push 2010-11-11 12:53:19 -08:00
Alex Huang c6033baa78 system vm start and stop added 2010-11-11 12:53:19 -08:00
Jessica Wang 49f55f0a56 bug 6983 - host page - add Router tab that list all routers under this host. 2010-11-09 16:16:25 -08:00
edison 581427bb0f fix rpm build 2010-11-09 10:24:39 -08:00
Jessica Wang f1ce408675 new UI - add Virtual Router under Resources menu. 2010-11-08 21:12:16 -08:00
Alex Huang c8a3ea3080 merge conflict with alena's changes 2010-11-08 12:40:38 -08:00
Alex Huang 16b6850bea revert console proxy 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 2be0cd6a95 stop worked again 2010-11-08 12:29:36 -08:00
ahmad 81f676d312 Refer to correct class name in commands.properties.in for the createConfiguration Api command 2010-11-08 10:46:01 -08:00
will a3dbc34857 bug 7059: refactored the API to now add the single embedded object tag after a response
- Changed networkgroups to security groups
- a whole bunch of other API bugs.  Unfortunately, I may have broken more.
2010-11-05 20:10:57 -07:00
Alex Huang 4555fcd73f changed everything back so everyone can test 2010-11-05 16:10:22 -07:00
Alex Huang 5f90a8adb0 Checking in to do git pull...stupid git 2010-11-05 16:10:22 -07:00
edison 0bee91b52a bug 7001: fix rpm build for new UI, some files should be put into $(catalina_home)/resource
status 7001: resolved fixed
2010-11-04 16:16:40 -07:00
Jessica Wang 821dd88729 new UI - disk offering page - add "Customizable during VM creation" row. 2010-11-04 14:01:46 -07:00
Chiradeep Vittal 58b8d10c6b add vpnusersdao into components.xml, schema migration, add another constraint 2010-11-03 14:02:13 -07:00
Chiradeep Vittal 14613415e1 VPN users API -- WIP 2010-11-03 14:02:13 -07:00
ahmad 6c219f4323 Call correct commands for startVm and deployVm apis 2010-11-02 17:33:05 -07:00
Alex Huang 5fe5450abc even more refactoring 2010-11-02 15:25:07 -07:00
Alex Huang 394af1b29c more changes on the way 2010-11-01 15:01:28 -07:00
Alex Huang 4db0b7d156 Better integration between it and virtual machine gurus 2010-11-01 15:01:28 -07:00
anthony ab8065e5f1 add /resources/resource*.properties to /etc/cloud/management 2010-11-01 14:21:04 -07:00
abhishek 032936e06d Changing the access to the api command for updating custom cert to admin level only 2010-11-01 11:59:41 -07:00
Chiradeep Vittal 1e0eb04442 Add VPN apis, some systemvm changes for vpn 2010-11-01 10:27:49 -07:00
kishan 3a0f30a049 bug 6408: remove security groups/port forwarding service in virtual network case
status 6408: resolved fixed
2010-11-01 14:28:03 +05:30
Jessica Wang d224604a72 new UI - system vm page - implement actions "start system VM", "stop system VM", "reboot stystem VM". 2010-10-29 11:14:03 -07:00
Jessica Wang ffa4ef7af3 new UI - instance page - routers tab - show confirm dialog box before each action. 2010-10-29 10:38:56 -07:00
edison 066d94f6f9 Add cloud-tool into FOSS 2010-10-26 18:05:28 -07:00
Jessica Wang 2e3a9d2dad new UI - multiple-selection action - confirm before start VM. 2010-10-26 17:54:54 -07:00
anthony 1b014ec340 master oss management server can start now 2010-10-26 13:47:43 -07:00
David Noland 6721c4423e bug 6149: changed default AJP port to avoid random port assignment at startup. 2010-10-19 18:34:22 -07:00
Jessica Wang 3372ad1fb4 new UI - implement delete secondary storage action. 2010-10-19 14:04:58 -07:00
Jessica Wang da762b01db new UI - implement delete primary storage action. 2010-10-19 10:52:01 -07:00
Jessica Wang bae8998d2d new UI - host page - implement update OS action. 2010-10-18 19:09:38 -07:00
Jessica Wang 95360a51ed new UI - implement remove host action. 2010-10-18 17:15:48 -07:00
Jessica Wang 82132b8a54 new UI - implement Force Reconnect on Host. 2010-10-18 16:59:20 -07:00
Jessica Wang 9d7a2da5d8 new UI - implement Cancel Maintenance Mode. 2010-10-18 16:45:37 -07:00
Jessica Wang faeff7707f new UI - confirm action before enable maintenance on host. 2010-10-18 15:46:10 -07:00
Jessica Wang 521cb762dc new UI - implement enable maintenance. 2010-10-18 11:33:55 -07:00
Jessica Wang d2a6694b9a change text 2010-10-14 20:06:46 -07:00
Jessica Wang dd88d714d1 new UI - resources page - primary storage page - implement details tab. 2010-10-14 18:32:54 -07:00
Jessica Wang 1bcb4f2f6e new UI - resources page - host page - implement details tab.1 2010-10-14 17:46:11 -07:00
Jessica Wang e9ef7a1eb0 new UI - resources page - implement details tab for System VM. 2010-10-13 16:25:13 -07:00
Kris McQueen 354590d018 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-10-13 16:09:38 -07:00
Jessica Wang 9fbc8fd112 new UI - resources page - implement pod details tab. 2010-10-13 14:39:27 -07:00
Jessica Wang 8a413180fe new UI - resources page - implement zone details tab. 2010-10-13 11:43:26 -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
Jessica Wang 2f6c1d5fff new UI - ISO page - create VM from ISO - add hypervisor dropdown. 2010-10-11 17:03:17 -07:00
Jessica Wang 8f8bd61303 new UI - Global Settings page - add category column. 2010-10-10 10:58:57 -07:00
Jessica Wang 089de3ae6a new UI - Global Settings - implement UpdateGlobalSettings action. 2010-10-08 10:37:28 -07:00
Jessica Wang c385ead5f9 new UI - add Global Settings page. 2010-10-07 19:19:04 -07:00
Jessica Wang 392280accb new UI - add Disk Offerings page. 2010-10-07 18:30:41 -07:00
Jessica Wang 7e108fd187 new UI - add Service Offerings page. 2010-10-07 18:00:28 -07:00
Jessica Wang c95a634a9b new UI - add Resources page 2010-10-07 14:53:40 -07:00
Jessica Wang 3dd6bec74d new UI - ip address page - implement release IP action. 2010-10-07 10:51:25 -07:00
Jessica Wang 8f083e70ab new UI - IP address page - implement acquire IP action. 2010-10-07 09:37:57 -07:00
Jessica Wang a0f75f34c1 new UI - VM Change Service Offering - pass vmId to listServiceOffering if only one item (VM) is selected in middle menu. 2010-10-06 11:13:46 -07:00
Jessica Wang 82e7b11892 new UI - before selecting an item in middle menu, show no available actions instead of a blank menu when mouse is over action link. 2010-10-05 11:25:33 -07:00
edison aaaa5dc3ad bug 6379: add ListHypervisors cmd to list all the supported hypervisors.
status 6379: resolved fixed

The supported hypervisors are controlled by hypervisor.list in configuration table
2010-10-04 16:55:25 -07:00
edison d370ae6a32 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-10-04 14:48:40 -07:00
edison 3d9f25e903 bug 1974: add upgraderoutercmd to upgrade router vm's service offering
status 1974: resolved fixed
It's a synced API, which just update router vm's service offering,
parameter: router id, service offering id,
return: ture on successfull, otherwise false
2010-10-04 14:45:28 -07:00
Jessica Wang 25ef105358 new UI - localize left menu. 2010-10-04 10:52:11 -07:00
Jessica Wang 23e9508b52 new UI - ISO page - localize Add ISO dialog, Copy ISO dialog, Create VM from ISO dialog. 2010-10-03 20:47:52 -07:00
Jessica Wang 12db8ca613 new UI - accounts page - localize resource limits dialog, disable account dialog, lock account dialog, enable account dialog. 2010-10-03 19:31:56 -07:00
Jessica Wang fcbcbb7201 new UI - localize delete template for single zone dialog, delete template for all zones dialog. 2010-10-03 18:10:55 -07:00
Jessica Wang b732327fce new UI - ISO page - add cross zones field. localize delete ISO dialog. 2010-10-03 18:03:00 -07:00
Jessica Wang 1e2c504d3b new UI - localize disable HA dialog. 2010-10-03 17:40:47 -07:00
Jessica Wang b4144ac918 new UI - localize Enable HA dialog. 2010-10-03 17:34:47 -07:00
Jessica Wang 815b5719a1 new UI - localize reset password dialog. 2010-10-03 15:07:01 -07:00
Jessica Wang 4fda60cce0 new UI - localize create template of disk volume dialog. 2010-10-03 11:22:13 -07:00
Jessica Wang b5d190f492 new UI - localize VM change service offering dialog. 2010-10-03 10:49:23 -07:00
Jessica Wang b40dc27cd7 new UI - localize vm change name dialog, vm change group dialog. 2010-10-03 10:31:01 -07:00
Jessica Wang 777efe9681 new UI - localize attach ISO to VM dialog. 2010-10-03 10:09:17 -07:00
Jessica Wang 6baf6d99a3 new UI - localize detach iso from vm dialog. 2010-10-03 09:53:43 -07:00
anthony 675106d3e5 remove SnapshotPolicyRefDao from components.xml.in 2010-09-29 16:48:13 -07:00
abhishek cd42fcc1bf some code refactoring 2010-09-29 11:17:42 -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
abhishek e5186bde2b bug 5190: a part of the enhancement is complete; now we can upload a custom cert using a file from our local machine, into the system. It is stored in the certificate table as a "text" column 2010-09-28 13:52:14 -07:00
abhishek 0af7ad934b bug 5190: updating the command list 2010-09-28 11:28:40 -07:00
Kris McQueen b42ca89626 Merging some changes from master related to making the build work [missing files, updated build scripts, etc.] 2010-09-17 13:21:23 -07:00
nit f5ac46255c bug 4286: Schema changes to include the upload table, Introducing extractIso command and extractVolume command 2010-09-15 17:51:42 +05:30
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
edison d933f19d35 bug 5800: add cluster for KVM
TODO: need to make sure the host cpu is from the same vender in a cluster
2010-09-10 16:00:36 -07:00
Alex Huang 7249f168d5 more file changes 2010-09-09 13:27:20 -07:00
Manuel Amador (Rudd-O) b0acdbcf8b Split out build responsibility into per-project wscript_build files. Installation of generic directories like bindir, and creation of systemvms, remain in toplevel wscript_build. Make some waf code useful and reusable in the form of tools. 2010-08-31 20:40:17 -07:00
jessica 6ec5455579 If no translation is found, return original word (i.e. English word) 2010-08-31 14:58:33 -07:00
Anthony Xu 8a928a7a30 Merge branch 'master' of ssh://anthony@git.cloud.com/var/lib/git/cloudstack-oss 2010-08-26 16:06:57 -07:00
Anthony Xu d72e0538da Revert "Revert "use iso to patch systemvm""
This reverts commit 145e2e0aaa.
2010-08-26 16:06:28 -07:00
Anthony Xu 145e2e0aaa Revert "use iso to patch systemvm"
This reverts commit 3565f8d21b.
2010-08-26 16:03:34 -07:00
root 3565f8d21b use iso to patch systemvm
Conflicts:

	core/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
	scripts/vm/hypervisor/xenserver/xenserver56/patch
2010-08-26 15:56:02 -07:00
kishan fb99f95d7c bug 5730: update dns of systemVms during zone update 2010-08-26 21:02:37 +05:30
kishan acb23b6158 bug 5904,5474: added listCapabilities API 2010-08-26 14:53:03 +05:30
Anthony Xu 0366dd093c use slaveconnection instead of masterconnection for all host plugin calls.
tested by creating domr and user vm and migrating them

1. if you add host for kvm , you need specify kvm://ip_address, otherwiset there is no to differ kvm and xenserver hosts, edison cloud you please test this, may need some minor fixes.

2. if you want to session inside your plugin call, you can not use the one which is passed in, due to it is a slavesession, you need to call get_xapi_session() to get a new local session and use it. I have modified some of these, I may ignore some. Please let me know if you see XENAPI_PLUGIN_EXCEPTION.
2010-08-23 18:01:39 -07:00
Jessica Wang f0b82f8565 move source of resource properties from UI folder to client folder
move source of resource properties from UI folder to client folder

move source of resource properties from UI folder to client folder
2010-08-20 12:08:47 -07:00
Manuel Amador (Rudd-O) 5ba11feb4a read_properties imported from cloud_utils 2010-08-19 10:51:46 -07:00
Manuel Amador (Rudd-O) b96544e475 read_properties imported from cloud_utils 2010-08-19 10:50:38 -07:00
edison 53df26daaa "Add host" for kvm:
The sequence:
1. add host in UI
2. scp setup_agent.sh to agent host, and execute it. This script receives hostip,zoneid, podid and guid, then runs "cloud-setup-agent" and "cloud-setup-console-proxy". Here, we assume that network/hostname and cloud-agent are already configed and installed.
3. Write a dummy kvm resource into the database, then wait for agent connects to server, by polling the database for every 1 minutes. If it finds the agent is in UP state in database, then return, or wait for at least 10 minutes.
2010-08-13 23:19:36 -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