Log in to ask questions, share your expertise, or stay connected to content you value. Don’t have a login? Learn how to become a member.
To quickly ramp up on Junos Automation, click Quick Start - Junos Automation...How can I use custom templates or functions in my automation? Is there a script that can help me prevent common human errors in my configuration?
See matching posts in thread - different types of automation s...
See matching posts in thread - JNCIE-SP Automation Scripts sec...
Update SD Blocklist Purpose Maintaining security feeds is easily accomplished with Juniper Policy Enforcer or SecIntel but not all customers can utilize those products/services. This script is for customers that are managing firewalls with Security Director and need an easy way to add a list of IP addresses & subnets to an existing Security Group for bulk block requests. Background This script uses Python3 to leverage the Space/Security Director REST API to add IPv4 address objects to and existing address group. Security Director supports both IPv4 & IPv6 and hostnames address objects but this script only supports IPv4 addresses & subnets. The script was developed and tested using: Ubuntu 18.04 & 20.04 but should work on other Linux flavors
This repo has Nornir content for Junos automation. Run these commands to clone this repository: $ git clone https://github.com/JNPRAutomate/junos automation with nornir $ cd junos automation with nornir The Nornir configuration file is config.yaml The Nornir inventory directory is inventory
Making Junos Automation Scripts Robust Making your Junos automation scripts robust ensures that you do not need to manually restart your script any time your router reboots or performs an RE switchover. Learn techniques for making your scripts run reliably by reading: Best Practices Series: Make Your Junos Automation Scripts More Robust Making Scripts Robust: Checking Status Making Scripts Robust: Handling Routing Engine Switchovers Making Scripts Robust: Recovering from Power Loss or Routing Engine Restart Making Scripts Robust: Managing Retries #junosautomation #Slax #ExpertAdvice
When you hear the word “automation”, what do you visualize? Usually it will be some script, code or program that is executed to repeat the manual activity at machine speeds. There are other simpler ways automation manifests in
Operation, event, commit and SNMP scripts can also now be written in Python...Junos PyEZ eases Python script development by providing an easy Python API to interface with the router
SRX HA failover based on BGP route status - SLAX automation Slax script logic to take decisions based on BGP neighborship and RE status on an SRX in HA configuration
Use Views for Automation Tasks A View defines the mapping between the Junos OS or XML and the field names by which you want to retrieve the data
3 Comments - no search term matches found in comments.