O'Reilly logo

JUNOS Automation Cookbook by Adam Chappell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting ready

In order to complete this recipe, you should have access to a Python 2.7 development environment and a JUNOS OS router that you have configuration rights on. You should be faimilar with the PyEZ patterns used in this chapter until now, and you should also be familiar with using PyEZ to load configurations.

First of all, we’re going to look at a typical simple configuration representing a customer’s service and identify the invariants – the components that never change. We can represent these components in the template statically. In our basic customer configuration, we might configure these aspects:

  • Point-to-point interface to the customer site equipment
  • VLAN encapsulation
  • Association with a private routing-instance
  • Static ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required