Cisco ASA firewall now supported as a NetDevice. To begin using, ensure that FIREWALL is added in your settings.py as a supported cisco platform.o
For it to enable properly, either the netdevice attribute enablePW needs to be set or the environment variable TRIGGER_ENABLEPW does. For now, I typically accomplish this via:
>>> from trigger.conf import settings
>>> from trigger import tacacsrc
>>> settings.DEFAULT_REALM = 'MyRealm'
>>> os.environ['TRIGGER_ENABLEPW'] = \
tacacsrc.get_device_password(settings.DEFAULT_REALM).password
>>> # Then the rest of my program
ACL parsing for ASA is not implemented yet. NetACLInfo will generate the proper command, but will currently just add a message warning about future support
Trigger has a new home at https://github.com/trigger/trigger!
- Refactor how we id Brocade switches for startup/commit (fix #75)
- It’s assumed that all Brocade devices all act the same;
- Except in the case of the VDX, which is treated specially.
- Simplified how startup_commands are calculated
- Disable SQLite loader if sqlite3 isn’t available for some reason.
- Prompt patterns are now bound to Vendor objects object when NetDevices is populated.
- Vendor objects now have a prompt_pattern attribute.
- All prompt patterns are now defined in settings.py:
- Vendor-specific: PROMPT_PATTERNS
- IOS-like: IOSLIKE_PROMPT_PAT
- Fallback: DEFAULT_PROMPT_PAT
Warning
If you are upgrading from Trigger Before Upgrading from Trigger 1.2 or earlier, please heed these steps!
General changes
[Feature] #10: The following changes have been made within changemgmt, which provides Trigger’s support for bounce windows and timezones, to move the bounce window settings into configurable data vs. static in the module code.
- Added sample bounce.py to conf/bounce.py in the Trigger source distribution.
- New setting variables in settings.py:
- BOUNCE_FILE - The location of the bounce window mapping definitions. Defaults to /etc/trigger/bounce.py.
- BOUNCE_DEFAULT_TZ - Default timezone for bounce windows. Defaults to 'US/Eastern'.
- BOUNCE_DEFAULT_COLOR - The default bounce risk-level status color. Defaults to 'red'.
[Feature] #55: The following changes have been made within netdevices to make it easier to populate NetDevices from arbitrary sources by implementing pluggable loaders.
The following changes have been made within twister, which provides Trigger’s remote execution functionality:
The following changes have been made within cmds, which provides an extensible, developer-friendly interface to writing command exeuction adapters:
The following changes have been madw within parser, which provides Trigger’s support for parsing network access control lists (ACLs) and firewall policies.
The following changes have been made within tacacsrc, which provides functionality to cache and retrieve user credentials:
The following changes have been made to Trigger’s command-line utilities:
Trigger was renumbered to version 1.0 when it was publicly released on April 2, 2012. This legacy version history is incomplete, but is kept here for posterity.