def METHOD_NAME():
    """Layer2 graph"""
    graph = vlan.build_layer2_graph()
    netboxes = graph.nodes()
    connections = []
    for node, neighbours_dict in graph.adjacency_iter():
        for neighbour, keydict in neighbours_dict.items():
            for key, _ in keydict.items():
                # [from_netbox, to_netbox, to_interface]
                connections.append([node, neighbour, key])
    return netboxes, connections