Commit Graph

6 Commits

Author SHA1 Message Date
Alex Huang 4eba6d10d7 Moved State into VirtualMachine like other States of objects 2011-01-04 15:01:34 -08:00
Kelven Yang 294332c6e0 fix issues in addExternalCluster command 2010-12-16 17:24:54 -08:00
Kelven Yang 2719972cf6 Let discovers be able to identify itself 2010-12-15 14:15:13 -08:00
edison 9e0f57bc0e change code for new UI 2010-09-29 18:40:52 -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) 05c020e1f6 Source code committed 2010-08-11 09:13:29 -07:00