def addUcsServer(handle, inUcsmHost, inDn, lsServer, inAppName):
        logging.debug('In addUcsServer')
        inFilter = FilterFilter()
        eqFilter = EqFilter()
        eqFilter.Class = "computeBlade"
        eqFilter.Property = "assignedToDn"
        eqFilter.Value = inDn
        inFilter.AddChild(eqFilter)
        computeBlades = handle.ConfigResolveClass(ComputeBlade.ClassId(), inFilter, inHierarchical=YesOrNo.FALSE, dumpXml = False)
        if (computeBlades.errorCode == 0):
                # for each computeBladeMo, get the lsbootDef Info.
                for blade in computeBlades.OutConfigs.GetChild():
                        lsbootDef = getLsbootDef(handle, blade)
                        for bootDef in lsbootDef.OutConfigs.GetChild():
                                # only one LsbootDef will be present, break once we got that info.
                                addHost(handle, inUcsmHost, bootDef, blade, lsServer, inAppName)
                                pass
                        pass
                pass
        pass
Get the ComputeBlades information, adds to Openstack
dataset/ETHPy150Open Havate/havate-openstack/proto-build/gui/horizon/Horizon_GUI/openstack_dashboard/static-raw/scripts/SPConsumer.py/addUcsServer