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 :
->
management_address: 1.1.1.1/24
->
can we add some variable to template ? so for example we create node and got assigned node number #4, then we assign "management_address: 1.1.1.4/24".
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".
Thanks.
Assigning "variable" router name to template
Moderator: mike
-
- Posts: 15
- Joined: Fri Mar 24, 2017 2:54 am
-
- Posts: 5084
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: Assigning "variable" router name to template
create bew template
read eve cookbook
read eve cookbook