tom | 568581d | 2014-09-08 20:13:36 -0700 | [diff] [blame] | 1 | package org.onlab.onos.net.topology; |
2 | |||||
3 | import org.onlab.graph.Vertex; | ||||
4 | import org.onlab.onos.net.DeviceId; | ||||
5 | |||||
6 | /** | ||||
7 | * Represents a vertex in the topology graph. | ||||
8 | */ | ||||
9 | public interface TopoVertex extends Vertex { | ||||
10 | |||||
11 | /** | ||||
12 | * Returns the associated infrastructure device identification. | ||||
13 | * | ||||
14 | * @return device identifier | ||||
15 | */ | ||||
16 | DeviceId deviceId(); | ||||
17 | |||||
18 | } |