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

How it works...

Steps 1 and 2 are important preparatory and planning steps. In these steps, we look at examples of how we configure the customer's service and identify the invariants - the parts that don't change. Anything else is parametric input to the process and will need to be supplied to the automation application. We can reduce the dataset that needs to be specified to the automation application by deriving resources and variables where appropriate.

Reducing variable input through derivation requires an understanding of the JUNOS configuration, and sometimes a thorough understanding of the protocol mechanics involved. For example, it's perfectly reasonable to say that we can derive logical interface unit numbers from VLAN numbers because ...

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