From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: [RFC] Xend XML-RPC Refactoring Date: Tue, 31 Jan 2006 15:25:58 -0600 Message-ID: <43DFD5E6.7090909@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel Cc: Jeremy Katz , Sean Dague , Ewan Mellor List-Id: xen-devel@lists.xenproject.org Hi, I wanted to give the list a heads up about something a number of us discussed at the recent XenSummit. We would like to simplify Xend by utilizing more of the standard Python library and relying on less of our own code. The most obvious thing here is the current S-Expression/HTTP RPC interface. We would like to replace this with XML-RPC using Python's builtin support (xmlrpclib and SimpleXMLRPCServer). I've got some initial code and more details on the wiki (http://wiki.xensource.com/xenwiki/Xend/XML-RPC). Early estimates are that this would reduce the code in Xend by about 33% (5k slocs). We would also like to standardize this XML-RPC interface so that third-parties write apps to this interface without worrying about massive breakage. Thoughts? Regards, Anthony Liguori