Hi£¬

I want to define a virtual domain with bridge type by libvirt-cim provider.
Below is part of code of RASD description, but it fails for me.


...  
         rasd = [
                """instance of KVM_MemResourceAllocationSettingData { VirtualQuantity = 256;};""",
                """instance of KVM_ProcResourceAllocationSettingData { VirtualQuantity = 1;};""",
                """instance of KVM_NetResourceAllocationSettingData {  Address = "00:11:22:33:44:55"; ResourceType = 10; NetworkType='bridge';};""",
                """instance of KVM_DiskResourceAllocationSettingData { Address = "/tmp/default-kvm-dimage"; VirtualDevice = "hda";};"""
                ]

        service.DefineSystem(SystemSettings=vssd,
                             ResourceSettings=rasd,
                             ReferenceConfiguration='')
...

It seems that the NetworkType is set network as default in libvirt-cim provider. Although I try to set the NetworkType as bridge, it still to looking up default network pool.
If I want to define a vs with bridge type, what should I do?

Thanks!

Best,
Regards

Daisy (Ô˹úÁ«)
VSM Team, China Systems & Technology Labs (CSTL)
E-mail: yunguol@cn.ibm.com
TEL: (86)-21-60922403
Building 10, 399 Ke Yuan Rd, Pudong Shanghai, 201203