Automation

 View Only
  • 1.  Question on defining event policies within event scripts.

    Posted 08-02-2025 23:44

    Hello all.

    I know that we can define an event policy within a SLAX event script using the $event-definition variable.

    But can we define an event policy within a Python event script? If so, how?

    Many Thanks,

    Deepak



    -------------------------------------------


  • 2.  RE: Question on defining event policies within event scripts.

    Posted 08-03-2025 19:30

    The python documentation does show that enabling this under the event script hierarchy is supported.

    https://www.juniper.net/documentation/us/en/software/junos/automation-scripting/topics/concept/junos-script-automation-python-scripts-requirements-for-executing.html



    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
    http://puluka.com/home
    ------------------------------