blob: 22a363aa35726b6c6dd3b5ca8def145b51b3792c [file] [log] [blame]
tom43387f32014-08-27 14:42:43 -07001package org.onlab.onos.net;
2
3import java.util.List;
4
5/**
6 * Representation of a contiguous directed path in a network. Path comprises
7 * of a sequence of links, where adjacent links must share the same device,
8 * meaning that destination of the source of one link must coincide with the
9 * destination of the previous link.
10 */
11public interface Path extends Link {
12
13 /**
14 * Returns sequence of links comprising the path.
15 *
16 * @return list of links
17 */
18 List<Link> links();
19
20}