What i would like to do is wrap this around the api somehow so
'cobbleme' would talk to the cobbler server and ask if it knows about
the client and if it doesnt then run similar commands to the above to
get the required info and then squirt this into cobbler.
Does that sounds like it could ever work ? Any tips ?
You want to be using the XMLRPC API, which can be found in remote.py
from a source checkout. (If you are coding to 1.6, only use the
functions in 1.6's remote.py -- the tests at the button of the file show
usage of various commands including adds/edits. Also you can read the
source to the web app for some more examples of how the XMLRPC commands
work).
Let us know if you need anything else, but that should be a good
starting point.
--Michael
thanks
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler