- Timestamp:
- Mar 7, 2012, 6:33:35 PM (13 years ago)
- Location:
- tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/getrange.py
r10051 r10052 51 51 52 52 add_ip(datadump['masterip']) 53 for key in datadump[' iface_keys']:53 for key in datadump['autogen_iface_keys']: 54 54 add_ip(datadump[key]['ip']) 55 55 -
tools/gformat.py
r10051 r10052 365 365 f = open(gfile, 'r') 366 366 datadump = yaml.load(f,Loader=Loader) 367 datadump[' iface_keys'] = get_interface_keys(datadump)367 datadump['autogen_iface_keys'] = get_interface_keys(datadump) 368 368 f.close() 369 369 … … 375 375 376 376 f = open(gfile, 'w') 377 del datadump[' iface_keys']377 del datadump['autogen_iface_keys'] 378 378 f.write(generate_wleiden_yaml(datadump)) 379 379 f.close()
Note:
See TracChangeset
for help on using the changeset viewer.