The Api comes with some good tools already
I already submitted a patch for power control and portgroup change to
cobbler during 1.5 release.
The guest Id change module that I wrote is owned by Racemi who just
layed me off on Monday so I would have to rewrite it before giving it
up to gpl. I still have all the source code but I cannot open source
it.
It basically finds the correct guestid from the host and matches it
with the supplied profile/distro being installed by cobbler. This is
important because some distros do not install correct if using a
different guestid.
Since I hate perl, I will probably redo all my vmware modules in Jython.
http://communities.vmware.com/docs/DOC-5770
Its pretty easy once you understand the Vmware API.
What do you guys thing about using jython for controlling vmware
instead of perl in koan or libvirt?
Corey
On Apr 3, 2009, at 12:29 PM, Jasper Capel <capel(a)stone-it.com> wrote:
On 04/03/2009 06:25 PM, Corey Osman wrote:
> I have some pretty good experience with the api. I have code to do
> the following tasks.
>
> 1. Power control
> 2. Change portgroup
> 3. Find and change guest Id given cobbler profile name
> 4. Cloning
> 5. Create VM
>
Cool!
The obvious question here is: would you be willing to share this
(GPL),
so we can try integrating it? :)
Jasper
_______________________________________________
cobbler-devel mailing list
cobbler-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler-devel