def set_vnic_template_updated(self, vlan_id, ucsm_ip, vnic_template,<EOL>physnet):
with self.session.begin(subtransactions=True):<EOL><INDENT>entry = self.get_vnic_template_vlan_entry(vlan_id, vnic_template,<EOL>ucsm_ip, physnet)<EOL>if entry:<EOL><INDENT>entry.updated_on_ucs = True<EOL>self.session.merge(entry)<EOL>return entry<EOL><DEDENT><DEDENT>
Sets update_on_ucs flag to True for a Vnic Template entry.