Blog Viewer

FAQ: Junos Automation

By Erdem posted 11-03-2015 13:29


Junos Automation consists of several different toolsets and APIs that function at different levels depending on what you want to automate and what level of abstraction is required for end users to complete their tasks at hand. You can automate and streamline users’ operational and configuration tasks using Junos PyEZ or SLAX.


To quickly ramp up on Junos Automation, click Quick Start - Junos Automation.


Junos Automation


  1. How do I determine what code to automate?
  2. How can I use custom templates or functions in my automation?
  3. Is there a script that can help me prevent common human errors in my configuration?


Junos PyEZ and Automation


  1. How can I access data from Junos OS devices without using XML?
  2. How can I retrieve data for troubleshooting, auditing, and reporting?


SLAX and Automation


  1. How can I set up my script to deal with errors?
  2. How can I share configuration data across multiple devices?
  3. Is there a script that can help me prevent common syntax and programming errors?


Junos Space and Automation


  1. Where can I find Configlets to apply to Juniper Networks devices in Junos Space?
  2. How can I display script results in Junos Space?


Best Practices for On-Box Data Storage and Access


When you develop an on-box Junos automation, you may need to store some data locally so it can be accessed later by a subsequent instance of your script, a completely different Junos automation, or even a remote application. For expert advice about the pros and cons, and "gotchas" for each data store approach, click:


Best Practices Series: Considerations for On-Box Data Storage and Access


Junos Automation Resources