“Keep your eyes on the prize, and your finger on the trigger.”
What is Trigger?¶
Trigger is a robust network automation toolkit written in Python that was designed for interfacing with network devices and managing network configuration and security policy. It increases the speed and efficiency of managing large-scale networks while reducing the risk of human error.
Trigger is designed to work at scale and can support hundreds or thousands of network devices with ease. Here are some of things that make Trigger tick:
- Support for SSH, Telnet, and Juniper’s Junoscript XML API
- Easily get an interactive shell or execute commands asynchronously.
- Leverage advanced event-driven functionality to manage any number of jobs in parallel and handle output or errors as they return.
- Powerful metadata interface for performing complex queries to group and associate network devices by name, manufacturer, type, location, and more.
- Encrypted storage of login credentials so you can interact without constantly being prompted to enter your password.
- Flexible access-list & firewall policy parser that can test access if access is permitted, or easily convert ACLs from one format to another.
- Detailed support for timezones and maintenance windows.
- A suite of tools for simplifying many common tasks.
New in version 1.2.
- Import your metadata from an existing RANCID installation to get up-and-running quickly!
New in version 1.3.
- Import your metadata from a CSV file and get up-and-running even quicker!
Please note that all documentation is written with users of Python 2.6 or higher in mind. It’s safe to assume that Trigger will not work properly on Python versions earlier than Python 2.6.
For now, most of our documentation is automatically generated from the source code documentation, which is usually very detailed. As we move along, this will change, especially with regards to some of the more creative ways in which we use Trigger’s major functionality.
- Supported Platforms
- Usage Guide
- Usage Examples
- API Documentation
trigger.acl— ACL parsing library
trigger.changemgmt— Change management library
trigger.cmds— Command execution library
trigger.conf— Configuration & Settings module
trigger.contrib— Extra, optional tools that solve common problems, extend, or modify core functionality.
trigger.exceptions— Trigger’s Exceptions
trigger.gorc— Determine commands to run upon login
trigger.netdevices— Network device metadata library
trigger.netscreen— Juniper NetScreen firewall parser
trigger.rancid— RANCID Compatibility Library
trigger.tacacsrc— Network credentials library
trigger.twister— Asynchronous device interaction library
trigger.utils— CLI tools and utilities library
- Getting Help
- 1.6 (??)
- 1.5.10 (2016-04-18)
- 1.5.9 (2016-04-01)
- 1.5.8 (2016-03-08)
- 1.5.7 (2016-02-18)
- 1.5.6 (2016-02-16)
- 1.5.5 (2016-02-04)
- 1.5.4 (2016-01-29)
- 1.5.3 (2016-01-19)
- Legacy Versions