Hey,
No, Jython was not a typo.
Jython is python code compiled with java instead of C. After doing
some research it looks like its more trouble than its worth because
jython only support python v2.2.
In addition some python modules written in C cannot be used with
jython. If your familiar with IronPython (python for .NET/mono) its
the same concept. I think the better approach is to use the the
vmware open source API (BSD license) and 100% java to control vmware.
There are more examples using JAVA than perl. Not to mention perl
sucks.
http://sourceforge.net/projects/vijava
So basically we can package the open source vmware api with cobbler
and then just rely on JRE 1.6 being installed.
I have no clue where this would fit in cobbler/koan. Maybe it would
be easier to create a generic interface to vmware and then let koan
call that interface with very few parameters.
I would love to do this if anybody wants to employ/pay me. I lost my
job monday so I kinda have lots of time on my hand for certain things.
Corey
On Apr 3, 2009, at 2:19 PM, Michael DeHaan wrote:
Corey Osman wrote:
> 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.
>
I'm hoping that was a typo and you meant "Python" :)
I'd recommend trying to get your VMware tools packaged for Fedora
first
-- this may hit problems
with making those available seeing they do not work for OSS tech.
Provided that gets packaged,
we can probably move forward with this.
This could also probably be done as an outside "koan like" script that
gathers data from Cobbler and just
makes things happen. That way we could link to the Cobbler page and
wouldn't have to worry
about the packaging guidelines (because we wouldn't be packaging
this...
it would be a script
that works with Cobbler).
--Michael
_______________________________________________
cobbler-devel mailing list
cobbler-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler-devel