I replaced if with a method which has logic
related to interface names.
Name is fetched by old naming schema to ease developer switch.
There is still a problem with yaml templates, should be fixed
in next commits.
Change-Id: I63787e51f9e74532f5dd49fb765cbe204b148eb1
Related-bug: #1523541