VMware {code} Community
ChrisPaglo
Contributor
Contributor

Ruby sample code and library for VI SDK

I have been working on using Ruby monitor VMware systems using the VI web services API. I have created a simple ruby library which wraps the SOAP access in an easier to use form. The functionality is pretty basic, but it may be helpful for other people who want to use VMware from ruby.

You can access the code here:

The code is licensed under the GPL.

Please feel free to contact me with issues or feedback.

Chris Waters

CTO, PhD

paglo.com - The Search Engine for IT

chris@paglo.com

0 Kudos
3 Replies
wbwest
Contributor
Contributor

Hi, Thank you for the example, its really helpful. Im just wondering , could you post an example on how to call api functions using your library? Like maybe spawning a new vm? Sorry Im still very new to this.

Thanks,

0 Kudos
heyitspablo
VMware Employee
VMware Employee

Is there interest in creation of a Ruby Sample Code Community - adding it to Code Central ?

Keep up with latest info on vSphere PowerCLI http://blogs.vmware.com/vipowershell - Follow me on Twitter @heyitspablo
0 Kudos
wbwest
Contributor
Contributor

yeah that would really help the ruby guys, i've been searching for samples but can't find one.

0 Kudos