Assigning "variable" router name to template

Features you'd like to see in the upcoming version of EVE-NG

Moderator: mike

Post Reply
Posts: 14
Joined: Fri Mar 24, 2017 2:54 am

Assigning "variable" router name to template

Post by kbmelati » Mon Dec 14, 2020 5:10 am

Dear Eve-NG developer ?

Is it possible to add a variable to template ?

for example, in "/opt/unetlab/html/templates/intel/timos.yml" we have something like :

can we add some variable to template ? so for example we create node and got assigned node number #4, then we assign "management_address:".

Or maybe we can extract node name ?
name: 7750SR

Another example :
when user give name to the node as "Router1", then license file will be "Router1.license".


Uldis (UD)
Posts: 3766
Joined: Wed Mar 15, 2017 4:44 pm
Location: London

Re: Assigning "variable" router name to template

Post by Uldis (UD) » Mon Dec 14, 2020 7:14 pm

create bew template
read eve cookbook

Post Reply