
# HG changeset patch # User Zhengang Li <lizg@cn.ibm.com> # Date 1208509526 -28800 # Node ID 4ee138efe1ef8332366db16b30fd777bae8b2a08 # Parent 1fc0ff2248ae99860b83abb5ce8952df82218798 [TEST] Add the missing Address value in NetRASD init Provider code already has this NetRASD Address as the mac. Signed-off-by: Zhengang Li <lizg@cn.ibm.com> diff -r 1fc0ff2248ae -r 4ee138efe1ef suites/libvirt-cim/lib/XenKvmLib/vsms.py --- a/suites/libvirt-cim/lib/XenKvmLib/vsms.py Fri Apr 18 17:00:16 2008 +0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/vsms.py Fri Apr 18 17:05:26 2008 +0800 @@ -138,6 +138,7 @@ def get_dasd_class(virt): class CIM_NetResourceAllocationSettingData(CIMClassMOF): def __init__(self, type, mac, name): + self.Address = mac self.NetworkType = type if type == 'ethernet' or type == 'bridge' : self.ResourceType = RASD_TYPE_NET_ETHER