[Libvirt-cim] [PATCH] (#2) Add write support for FilterList and NestedFilterList

Eduardo Lima (Etrunko) eblima at linux.vnet.ibm.com
Tue Jun 28 21:04:50 UTC 2011


On 06/28/2011 11:27 AM, Chip Vincent wrote:
> # HG changeset patch
> # User Chip Vincent<cvincent at us.ibm.com>
> # Date 1309213800 14400
> # Node ID 2a1c7e5112590eb7157b566facd61ea9fc815b85
> # Parent  75411f53df02159c3fa6ce5810c9446579e3d66d
> (#2) Add write support for FilterList and NestedFilterList
>
> Changes since #1:
>     - fixed compilation issue
>
> This allows clients to create new filter lists and then associate them
> with other filter lists to create complex filters. This patch also has some
> minor bug fixes to AppliedFilterList so the new filters can be applied
> to existing NetworkPort instances. The new cimtests for the create/delete
> associations are still under construction, but you can easily test
> FilterList create/delete (foundation) with the following commands:
>
> # wbemcli ci 'http://localhost:5988/root/virt:KVM_FilterList.CreationClassName="",Name="",SystemCreationClassName="",SystemName=""' 'Name="test"'
>
> # wbemcli di 'http://localhost:5988/root/virt:KVM_FilterList.CreationClassName="KVM_FilterList",Name="test",SystemCreationClassName="KVM_HostSystem",SystemName="oc0840652111.ibm.com"'
>

+1
Patch indeed looks fine, builds fine, and works like described. Need to 
create the proper cimtests for that.

Best regards, Etrunko

-- 
Eduardo de Barros Lima
Software Engineer, Open Virtualization
Linux Technology Center - IBM/Brazil
eblima at br.ibm.com




More information about the Libvirt-cim mailing list