WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] [Xen-API] [3/3] Extension of the Xen-API for man

To: Tom Wilkie <tom.wilkie@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] [Xen-API] [3/3] Extension of the Xen-API for managing the ACM policy (and others)
From: Stefan Berger <stefanb@xxxxxxxxxx>
Date: Mon, 21 May 2007 12:46:07 -0400
Cc: Tom Wilkie <tom.wilkie@xxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ewan Mellor <ewan@xxxxxxxxxxxxx>, Reiner Sailer <sailer@xxxxxxxxxx>
Delivery-date: Mon, 21 May 2007 09:44:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <6879506B-A38D-4DEF-A582-1C01AD5D285B@xxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

xen-devel-bounces@xxxxxxxxxxxxxxxxxxx wrote on 05/21/2007 12:39:49 PM:

> Hi Stefan
>
> Just had a quick look at this patch.  Some of the work I've been  
> doing recently is to make the XenAPI implementation inside xend a bit  
> 'nicer'.  I want to head towards a model where all the XenAPI classes  
> subclass XendBase.py and use auto plugging in XendAPI.py.  This  
> should provide a more natural implementation of these classes as  
> (first class) python classes, handle all the ref / uuid mapping for  
> you (via XendAPIStore.py)  and break the class implementation out  
> from XendAPI.py.  Hopefully (in the future) this will also help with  
> persistence.
>
> If you want some example look at the recent work on XendPIF.py,  
> XendNetwork.py and the metrics classes, which have all been  
> implemented this way.


I will convert it and post this part of the patch again.

   Stefan
>
> Cheers
>
> Tom
>
> On 21 May 2007, at 16:19, Stefan Berger wrote:
>
> > This patch implements extensions for managing security policies in  
> > xend.
> > The XSPolicy and ACMPolicy classes provide the interface for the  
> > Xen-API
> > and implement the functionality described in the documentation.
> >
> > Some of the xend-internal code implements changing the previously used
> > format into the format used by the Xen-API. This is mostly related to
> > the labels and their format of <policy identifier>:<policy
> > name>:<label>.
> >
> > The acmpolicy class implements a compiler for translating an XML  
> > policy
> > into their binary format and provides functionality for comparing a
> > current policy against a new one when changing a policy.
> >
> > The xspolicyadmin class administers the policy of the system.
> >
> > Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
> >
> >
> > <xend-xspolicy-xapi-xend.diff>
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-devel
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel