tom | e33cc1a | 2014-08-25 21:59:41 -0700 | [diff] [blame] | 1 | package org.onlab.onos.net; |
| 2 | |
| 3 | /** |
| 4 | * Abstraction of an end-station host on the network, essentially a NIC. |
| 5 | */ |
tom | b36046e | 2014-08-27 00:22:24 -0700 | [diff] [blame] | 6 | public interface Host extends Element { |
tom | e33cc1a | 2014-08-25 21:59:41 -0700 | [diff] [blame] | 7 | |
| 8 | // MAC, IP(s), optional VLAN ID |
| 9 | |
tom | b36046e | 2014-08-27 00:22:24 -0700 | [diff] [blame] | 10 | |
| 11 | /** |
| 12 | * Returns the most recent host location where the host attaches to the |
| 13 | * network edge. |
| 14 | * |
| 15 | * @return host location |
| 16 | */ |
| 17 | HostLocation location(); |
| 18 | |
| 19 | // list of recent locations? |
tom | e33cc1a | 2014-08-25 21:59:41 -0700 | [diff] [blame] | 20 | |
| 21 | } |