def main():
    connections = []
    for device in network_devices:
        conn = open_napalm_connection(device)
        connections.append(conn)
    print('\n\n')
    print('Print facts for all devices in connections list')
    print(('-' * 20))
    for conn in connections:
        print()
        print(('-' * 6))
        print(conn)
        pprint('{} facts:'.format(conn.platform))
        pprint(conn.get_facts())
        print(('-' * 6))
        conn.close()
    print('\n\n')
def main():
    connections = []
    for device in network_devices:
        conn = open_napalm_connection(device)
        connections.append(conn)
    print('\n\n')
    print('Print facts for all devices in connections list')
    print(('-' * 20))
    for conn in connections:
        print()
        print(('-' * 6))
        print(conn)
        pprint('{} facts:'.format(conn.platform))
        pprint(conn.get_facts())
        print(('-' * 6))
        conn.close()
    print('\n\n')