main.py
changeset 2 e66102ab7048
parent 1 2223ade4f259
child 5 86b05c0ab5cd
equal deleted inserted replaced
1:2223ade4f259 2:e66102ab7048
    49     
    49     
    50     # parse args
    50     # parse args
    51     options, (data_file, ) = parse_args(argv)
    51     options, (data_file, ) = parse_args(argv)
    52 
    52 
    53     # load the data
    53     # load the data
    54     data_module = data.load_py(data_file)
    54     data_module = data.load_py('pvl_hosts_data', data_file)
    55     
    55     
    56     # write out the config files
    56     # write out the config files
    57     write_dhcp(options, data_module)
    57     write_dhcp(options, data_module)
    58 
    58 
    59 if __name__ == '__main__' :
    59 if __name__ == '__main__' :