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…

In steps 1 and 2, we're looking at the JUNOS event-policy logic because this is the first port of call when the event management framework has to map an incoming event to some action or activity. We look at not only the policy that we're interested in, but also the other policies to consider any unanticipated interaction. It's crucially important that the event handling process works in tandem with the rest of the system, or we can easily create catastrophic event loops.

In step 3, we do some basic schoolboy error checking to make sure that we've adhered to all the correct protocols for the use of the event script technology that we're using. Because op scripts and event scripts are similar, it can be easy to make mistakes here. ...

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