blob: b1d5f7fb0f8fce75c108cd692c2c8cc0b7db11f7 [file] [log] [blame]
tom43387f32014-08-27 14:42:43 -07001package org.onlab.onos.net;
2
3/**
4 * Abstraction of a link between an end-station host and the network
5 * infrastructure.
6 */
tom80c0e5e2014-09-08 18:08:58 -07007public interface EdgeLink extends Link {
tom43387f32014-08-27 14:42:43 -07008
9 /**
10 * Returns the host identification.
11 *
12 * @return host identifier
13 */
tom80c0e5e2014-09-08 18:08:58 -070014 HostId hostId();
tom43387f32014-08-27 14:42:43 -070015
16 /**
17 * Returns the connection point where the host attaches to the
18 * network infrastructure.
19 *
tom568581d2014-09-08 20:13:36 -070020 * @return host location point
tom43387f32014-08-27 14:42:43 -070021 */
tom568581d2014-09-08 20:13:36 -070022 HostLocation hostLocation();
tom43387f32014-08-27 14:42:43 -070023
24}