On Thu, Aug 11, 2011 at 1:37 AM, Thomas Ewert
<thomas.ewert(a)googlemail.com> wrote:
I am developping a webinterface for a customer to set up new systems
in cobbler. I am using the xmlrpc.
using it in that way:
.......
obj = server.new_system(token)
server.modify_system(obj,"name",bezeichnung, token)
server.modify_system(obj,"profile",profil, token)
server.modify_system(obj,"mgmt_classes",[ application ], token)
server.modify_system(obj,"comment", comment , token)
.............................
Now I have the problem to set the netmask for a interface (eth0, eth1...)
Can anyone help please??
For Info: Ilearned python by my own about 3 weeks ago and also cobbler.
Look at the code in web/cobbler_web/views.py to see how we do it, but
I don't understand why you'd want to reinvent the wheel when our web
interface works pretty well. I'd only recommend using the XMLRPC API
if you're integrating with some third party tool.