Making python xmlrpclib.ServerProxy log method names and parameters revisited

In my previous post I described a procedure to log XMLRPC client calls. The procedure will do the job, but it does not suffice when you’re connecting to multiple XMLRPC servers from a single process and you want to log calls sent to one specific server. So, here’s an improvement. Continue reading Making python xmlrpclib.ServerProxy log method names and parameters revisited

Making python xmlrpclib client log method calls

I’ve updated the steps described in this post, please see the revisited post.

I’m developing python scripting which uses XMLRPC. Every now and then I find myself in a situation where I wish I could just get the calls written to my terminal, in the order I called them in, including parameters – especially when I need support. This is what I came up with in my quest to find a decent way to make the XMLRPC API write each call before it’s actually invoked Continue reading Making python xmlrpclib client log method calls

The Red Hat Satellite XMLRPC Series: reproducing a channel

In this post I’ll describe what I did to reproduce content in another Satellite, much alike satellite-sync. The most important lesson is the method you use to recreate the channel. When you’re recreating a Red Hat channel, like the Red Hat Enterprise Linux base channel and Red Hat Network Tools,  you’ll have to use channel.software.clone(). It is not possible to clone errata to the newly created channel when you use channel.software.create() to create the channel. Continue reading The Red Hat Satellite XMLRPC Series: reproducing a channel