#!/bin/python3 ''' Created on Apr 5, 2016 author: tpweis file name: scat_starttomcat.py This functions sends initiates a recipe to run a bot This function also represent a segment of the SCAT. The SCAT contains any required IP or URN identifiers. ''' import os import subprocess import sys from sleds_utilities import * def main(): "function main" argv = sys.argv[1:] start, count, roll_over, dontcare = slscatargs(argv) addr_list = get_addrlist(start, count, roll_over) slscatlog('I',"get_addrlist: " + '\n'.join(addr_list)) exit() if __name__ == '__main__': # execute only if run as a script main()