def configureUcsPolicies(self, in_conf_filename, inUcsmHost):
                logging.debug('In configureUcsPolicies')
                for line in file(in_conf_filename) :
                        if (line.startswith("#")):
                                continue
                        pass
                        logging.debug(line)
                        if (line.startswith("ServerPort")):
                                logging.debug(line[line.find("{"):])
                                logging.debug('sleep for 5 secs')
                                time.sleep(1)
                                createServerPort(inUcsmHost, line[line.find("{"):])
                        elif (line.startswith("MacPool")):
                                logging.debug(line[line.find("{"):])
                                createMacPool(inUcsmHost, line[line.find("{"):])
                        elif (line.startswith("OrgOrg")):
                                logging.debug(line[line.find("{"):])
                                createOrgOrg(inUcsmHost, line[line.find("{"):])
                        elif (line.startswith("LsRequirement")):
                                logging.debug(line[line.find("{"):])
                                createLsRequirement(inUcsmHost, line[line.find("{"):])
                        elif (line.startswith("ServiceProfileInstance")):
                                logging.debug(line[line.find("{"):])
                                createSPInstance(inUcsmHost, line[line.find("{"):])
                        elif (line.startswith("ServiceProfile")):
                                logging.debug(line[line.find("{"):])
                                createServiceProfile(inUcsmHost, line[line.find("{"):])
                        elif (line.startswith("ServerPoolingPolicy")):
                                logging.debug(line[line.find("{"):])
                                createComputePoolingPolicy(inUcsmHost, line[line.find("{"):])
                        elif (line.startswith("ServerPool")):
                                logging.debug(line[line.find("{"):])
                                createServerPool(inUcsmHost, line[line.find("{"):])
                        elif (line.startswith("ComputeAutoconfigPolicy")):
                                logging.debug(line[line.find("{"):])
                                createComputeAutoconfigPolicy(inUcsmHost, line[line.find("{"):])
                        elif (line.startswith("IpPool")):
                                logging.debug(line[line.find("{"):])
                                createIpPool(inUcsmHost, line[line.find("{"):])
                        elif (line.startswith("Vnic")):
                                logging.debug(line[line.find("{"):])
                                createVnicEther(inUcsmHost, line[line.find("{"):])
                        elif (line.startswith("ServerQualifier")):
                                logging.debug(line[line.find("{"):])
                                createComputeQual(inUcsmHost, line[line.find("{"):])
                        elif (line.startswith("RackServerQualifier")):
                                logging.debug(line[line.find("{"):])
                                createComputeQualRack(inUcsmHost, line[line.find("{"):])
                        elif (line.startswith("ScrubPolicy")):
                                logging.debug(line[line.find("{"):])
                                createComputeScrubPolicy(inUcsmHost, line[line.find("{"):])
                        elif (line.startswith("UplinkPort")):
                                logging.debug(line[line.find("{"):])
                                createUplink(inUcsmHost, line[line.find("{"):])
                        elif (line.startswith("Vlan")):
                                logging.debug(line[line.find("{"):])
                                createVlan(inUcsmHost, line[line.find("{"):])
                        elif (line.startswith("StorageLocalDiskConfigPolicy")):
                                logging.debug(line[line.find("{"):])
                                createStorageLocalDiskConfigPolicy(inUcsmHost, line[line.find("{"):])
                        elif (line.startswith("LsbootPolicy")):
                                logging.debug(line[line.find("{"):])
                                createLsbootPolicy(inUcsmHost, line[line.find("{"):])
                        elif (line.startswith("LsServerBinding")):
                                logging.debug(line[line.find("{"):])
                                createLsBinding(inUcsmHost, line[line.find("{"):])
                        pass
                pass
                logging.debug('Configuration Completed.')
Reads the configuration file and configures the
dataset/ETHPy150Open Havate/havate-openstack/proto-build/gui/horizon/Horizon_GUI/openstack_dashboard/static-raw/scripts/SPConsumer.py/ServiceProfileConsumer.configureUcsPolicies