From: John Levon Subject: Re: [PATCH] [Xend] Extend Xen-API with function to reset the policy Date: Mon, 10 Dec 2007 20:47:40 +0000 Message-ID: <20071210204740.GC4293@totally.trollied.org.uk> References: <1197319388.10648.5.camel@941e-2.watson.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1197319388.10648.5.camel@941e-2.watson.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefan Berger Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On Mon, Dec 10, 2007 at 03:43:08PM -0500, Stefan Berger wrote: > --- root.orig/xen-unstable.hg/docs/xen-api/xenapi-datamodel.tex > +++ root/xen-unstable.hg/docs/xen-api/xenapi-datamodel.tex > @@ -14735,6 +14735,45 @@ xs\_policystate > State information about the policy. In case an error occurred, the 'xs\_err' > field contains the error code. The 'errors' may contain further information > about the error. > + \vspace{0.3cm} > +\vspace{0.3cm} > +\vspace{0.3cm} > +\subsubsection{RPC name:~reset\_xspolicy} > + > +{\bf Overview:} > +Attempt to reset the system's policy by installing the default policy. > +Since this function is implemented as an update to the current policy, it > +underlies the same restrictions. This function may fail if for example This might have happened before, but I just noticed that the API docs are being modified without any version control - or any indication of when new things were added. Programming against such API docs is generally a horrible experience as you never have any idea what is there and what isn't. Can we please start a changelog for the API, and version it appropriately? thanks john