This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# -*- coding: iso-8859-1 -*- | |
# Launch with AWS region name as the only command line argument ie. ./mikrotik_aws_addresslists.py eu-west-1 | |
# A list of addresses, along with requisite terminal commands prepended to each line is spewed forth from stdout, | |
# which can be redirected to a file. | |
import signal | |
import json |