Model is necessary inside the device configuration template to provide the necessary flexibility inside the general template for the several devices if the difference is minor. For example, SNOM devices configs are perfectly matches inside the one template for all the models, but firmware URLs to download new firmware from SNOM SRAPS server are different. In the past we had to create a different templates in this case, now we can create a simple tt2 statement: [% IF phone.model == "D715" -%] <firmware perm="">https://....</firmware> [% ELSE; -%] ... Change-Id: I3cbeb57009f944902cf148e8d491a30235620551mr9.1
parent
7c7d136415
commit
15cae22efb
Loading…
Reference in new issue