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-cim

Re: [Xen-cim] Test suite

To: Jim Fehlig <jfehlig@xxxxxxxxxx>
Subject: Re: [Xen-cim] Test suite
From: Gareth S Bestor <bestor@xxxxxxxxxx>
Date: Thu, 17 May 2007 18:28:23 -0700
Cc: xen-cim@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 17 May 2007 18:26:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <464CE692.3030506@xxxxxxxxxx>
List-help: <mailto:xen-cim-request@lists.xensource.com?subject=help>
List-id: xen-cim mailing list <xen-cim.lists.xensource.com>
List-post: <mailto:xen-cim@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-cim>, <mailto:xen-cim-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-cim>, <mailto:xen-cim-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-cim-bounces@xxxxxxxxxxxxxxxxxxx

>> pywbem supports embedded instances.  E.g.

Cool! [guess I'm just a CIM-XML dinosaur/old dog... :-)]

- G


xen-cim-bounces@xxxxxxxxxxxxxxxxxxx wrote on 05/17/2007 04:34:42 PM:

> Gareth S Bestor wrote:
> >
> > Sorry for the delay in responding (another 2 week business trip... sigh)
> >
> > I agree. Seems like sblim-testsuite has some basic advantages, even in
> > its current limited form.
> > And whatever dependence it has on a cli helper, ie wbemcli, should be
> > minimally invasive and not
> > too bad to remove/replace with say a python/curl equivalent.
> >
>
> FYI, I committed Luke's patch today.
>
> Luke - you correctly mentioned on today's call that 'interface tests' on
> association providers should be next.  A patch for that would be nice
> :-).  We'll then move on to the 'consistence tests'.
>
> BTW, we might want to just include the input files in project instead of
> generating.  I can see them diverging over time.  What do you think?
>
> > The nice thing about having a lower-level CIM client, at least right
> > now, is that it'll allow us to
> > actually DO DefineVS(), since non of the existing tools support
> > embedded instances (or even
> > references as arguments it seems....)
> >
>
> pywbem supports embedded instances.  E.g.
>
> mem_rasd = pywbem.CIMInstance('Xen_MemorySettingData',
>                                              
> {'ResourceType':pywbem.Uint16(4),
>                                              
> 'VirtualQuantity':pywbem.Uint64(256),
>                                              
> 'AllocationUnits':'MegaBytes'})
>
>
> I regularly use test scripts that do DefineSystem(), AddResource(), etc.
> with such embedded instances :-).
>
> Jim
>
>
> _______________________________________________
> Xen-cim mailing list
> Xen-cim@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-cim

_______________________________________________
Xen-cim mailing list
Xen-cim@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-cim
<Prev in Thread] Current Thread [Next in Thread>