- Timestamp:
- May 24, 2012, 10:08:40 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/gformat.py
r10986 r10998 1659 1659 if sys.argv[2] == "network.kml": 1660 1660 print make_network_kml.make_graph() 1661 elif sys.argv[2] == "host-ips.txt": 1662 for system in get_hostlist(): 1663 datadump = get_yaml(system) 1664 ips = [datadump['masterip']] 1665 for ifkey in datadump['autogen_iface_keys']: 1666 ips.append(datadump[ifkey]['ip'].split('/')[0]) 1667 print system, ' '.join(ips) 1661 1668 else: 1662 usage() 1669 usage() 1670 else: 1663 1671 usage() 1664 1672 else:
Note:
See TracChangeset
for help on using the changeset viewer.