3 stories
·
0 followers

Is it Christmas?

2 Comments and 5 Shares
We've tested it on 30 different days and it hasn't gotten one wrong yet.
Read the whole story
bomba23
1605 days ago
reply
whoah!
Amsterdam
Share this story
Delete
1 public comment
alt_text_bot
1606 days ago
reply
We've tested it on 30 different days and it hasn't gotten one wrong yet.

Templating Device Configurations

1 Share

One of the core functions of network automation is the ability to generate network device configurations from a template. This is a discrete, intentional process which unfortunately is often conflated with the totally separate act of applying a rendered configuration to a device. In this article we'll look at how to establish a template from existing configurations, define and organize variable data, and ultimately render a series of configurations automatically using a simple Python script.

What is a Template?

The term template describes any sort of mold or pattern from which new, identical objects can be created. For instance, a cookie cutter is a sort of template that can be used to create an arbitrary number of identically-shaped cookies from a sheet of dough. But in our case, we're inexplicably more interested in creating network device configuration files than baking cookies, and creating wholly identical copies of a file isn't terribly useful, since each network device typically has a handful of unique characteristics such as hostname, authentication credentials, IP addresses, and so on.

To address this need to define changing pieces of data within an otherwise unchanging document, we employ variables. A variable serves as a placeholder within the template, signifying a particular piece of data that needs to be filled in. The below form is an example of a simple template.

passive-aggressive_note.jpg

Continue reading · No comments

Read the whole story
bomba23
1661 days ago
reply
Amsterdam
Share this story
Delete

Updated: Impact of IP Fragmentation on Tunnels and Encryption

1 Share

The last bits of updated Never-Ending Story of IP Fragmentation were published a few days ago: IP fragmentation and tunnels and summary and related blog posts, RFCs and other articles.

Read the whole story
bomba23
1688 days ago
reply
Amsterdam
Share this story
Delete