create_vm.sh:
#!/bin/bash
## update time 2011-7-26
## VcpuCount,MemSize,DiskSize,IpAddr,MacAddr,VncPass,VncPort,VmUser,VmUserPass,VmI
## argument 2 64 64 "192.168.3.120" "11:22:33:44:55:66" 123456 5901 jiangang 123456 1
echo "SUCC"
destroy_vm.sh:
#!/bin/bash
# argument:vmid
# This script is used for shutdown a VM
echo "SUCC"
get_node_resource.sh:
#!/bin/bash
# you should extrace these info form your system
#hostname=`hostname`
#echo "$hostname $ip $tmem $fmem $cpu $thd $fhd"
start_vm.sh:
#!/bin/bash
#vm name
##Vm_id,VcpuCount,MemSize,DiskSize,Ipaddr,VncPort,VncPass,Passwd
echo "SUCC"
stop_vm.sh:
#!/bin/bash
#argument: vmid
echo "SUCC"