code: def delete_sp_template_for_vlan(self, vlan_id):
          
          with self.session.begin(subtransactions=True):
              try:
                  self.session.query(
                      ucsm_model.ServiceProfileTemplate).filter_by(
                      vlan_id=vlan_id).delete()
              except orm.exc.NoResultFound:
                  return
docs: Deletes SP Template for a vlan_id if it exists.