+# extract LOV
+def getLOVInfo(node):
+ name, uuid = getNodeAttr(node)
+ devs = node.getElementsByTagName('devices')[0]
+ stripe_sz = int(devs.getAttribute('stripesize'))
+ pattern = int(devs.getAttribute('pattern'))
+ mdcref = node.getElementsByTagName('mdc_ref')[0]
+ mdcuuid = mdcref.getAttribute('uuidref')
+ mdc= lookup(node.parentNode, mdcuuid)
+ mdcname = getName(mdc)
+ devlist = ""
+ stripe_cnt = 0
+ for child in devs.childNodes:
+ if child.nodeName == 'obd_ref':
+ devlist = devlist + child.getAttribute('uuidref') + " "
+ strip_cnt = stripe_cnt + 1
+ return (name, uuid, mdcname, stripe_cnt, stripe_sz, pattern, devlist)
+