def parse_weighted_template()

in hostfactory/host_provider/src/weighted_template_parse.py [0:0]


    def parse_weighted_template(self, input_json, azurecc_template):
        symphony_templates = azurecc_template
        self.logger.debug("symphony_templates: %s", symphony_templates)
        vm_types = {}
        for template in symphony_templates:
            self.logger.debug("template: %s", template)
            self.logger.debug("templateId: %s", input_json["template"]["templateId"])
            if template["templateId"] == input_json["template"]["templateId"]:
                    vm_types = template["vmTypes"]
        return vm_types