44.Amend the config templates pt.2
Nikos Kallergis
13 steps
2 minutes
1
Start by syncing the changes that Nautobot has made to the repo
2
The template "arista_eos.j2" should already be open. To make our lives easier, copy the "interfaces.j2" include statement...
3
...and paste it a couple of lines below
4
Edit it so that it will include the "ospf.j2" template
5
Make sure to save your changes!
6
In the file explorer pane, open the "ospf.j2" template to take a look
7
As you can see, no networks are defined here...
8
Let's try "interfaces.j2" instead
9
Ah yeah, it points further down to the specific type of interface so click "\_physical.j2" to open it
10
Just after the last line, add the config required to add the interface to OSPF area 0: "ip ospf area 0.0.0.0". Make sure to save your changes here too!
11
Under the "Source Control" pane, add a commit message and press "Commit"
12
Click here
13
Once committed, click on the "Sync Changes" button
44.Amend the config templates pt.2
Nikos Kallergis
13 steps
2 minutes
1
Start by syncing the changes that Nautobot has made to the repo
2
The template "arista_eos.j2" should already be open. To make our lives easier, copy the "interfaces.j2" include statement...
3
...and paste it a couple of lines below
4
Edit it so that it will include the "ospf.j2" template
5
Make sure to save your changes!
6
In the file explorer pane, open the "ospf.j2" template to take a look
7
As you can see, no networks are defined here...
8
Let's try "interfaces.j2" instead
9
Ah yeah, it points further down to the specific type of interface so click "\_physical.j2" to open it
10
Just after the last line, add the config required to add the interface to OSPF area 0: "ip ospf area 0.0.0.0". Make sure to save your changes here too!
11
Under the "Source Control" pane, add a commit message and press "Commit"
12
Click here
13
Once committed, click on the "Sync Changes" button