def add_service_profile_template(self, vlan_id, sp_template, ucsm_ip):
if not self.get_sp_template_vlan_entry(vlan_id, sp_template, ucsm_ip):<EOL><INDENT>entry = ucsm_model.ServiceProfileTemplate(vlan_id=vlan_id,<EOL>sp_template=sp_template,<EOL>device_id=ucsm_ip,<EOL>updated_on_ucs=False)<EOL>self.session.add(entry)<EOL><DEDENT>
Adds an entry for a vlan_id on a SP template to the table.