Thanks all for the help. i got it now.

BR
Tom 

Von meinem iPad gesendet

Am 11.08.2011 um 13:29 schrieb James Cammarata <[email protected]>:

> On Thu, Aug 11, 2011 at 1:37 AM, Thomas Ewert
> <[email protected]> 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.
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to