-
Notifications
You must be signed in to change notification settings - Fork 3
rottenbytes/ruby-xen
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A very simple ruby module to access Xen informations. How to use it : x=Xen::XenServer.new puts x.has? "non-existant" puts x.has? "domu2" puts x.slices s=x.get("domu2") s2=x.get("Domain-0") puts s.time puts s2.time sleep(10) x.update puts s.time puts s2.time # live migrate VM "domu2" to host "10.0.0.2" x.migrate("domu2", "10.0.0.2") # pause VM "domu2" x.pause("domu2") # create & destroy a domU x.create("domu2") x.destroy("domu2") TODO : - work on configuration of the VMs (read/modify/write) Creating & installing the gem : gem build xen.gemspec sudo gem install xen-<version>.gem
About
Simple ruby / xen module
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published