tom | 43387f3 | 2014-08-27 14:42:43 -0700 | [diff] [blame] | 1 | package org.onlab.onos.net; |
2 | |||||
3 | /** | ||||
4 | * Abstraction of a link between an end-station host and the network | ||||
5 | * infrastructure. | ||||
6 | */ | ||||
tom | 80c0e5e | 2014-09-08 18:08:58 -0700 | [diff] [blame] | 7 | public interface EdgeLink extends Link { |
tom | 43387f3 | 2014-08-27 14:42:43 -0700 | [diff] [blame] | 8 | |
9 | /** | ||||
10 | * Returns the host identification. | ||||
11 | * | ||||
12 | * @return host identifier | ||||
13 | */ | ||||
tom | 80c0e5e | 2014-09-08 18:08:58 -0700 | [diff] [blame] | 14 | HostId hostId(); |
tom | 43387f3 | 2014-08-27 14:42:43 -0700 | [diff] [blame] | 15 | |
16 | /** | ||||
17 | * Returns the connection point where the host attaches to the | ||||
18 | * network infrastructure. | ||||
19 | * | ||||
tom | 568581d | 2014-09-08 20:13:36 -0700 | [diff] [blame] | 20 | * @return host location point |
tom | 43387f3 | 2014-08-27 14:42:43 -0700 | [diff] [blame] | 21 | */ |
tom | 568581d | 2014-09-08 20:13:36 -0700 | [diff] [blame] | 22 | HostLocation hostLocation(); |
tom | 43387f3 | 2014-08-27 14:42:43 -0700 | [diff] [blame] | 23 | |
24 | } |