blob: 17eaf222dd12263f19d58dbeed564bcf1a40a656 [file] [log] [blame]
tome33cc1a2014-08-25 21:59:41 -07001package org.onlab.onos.net;
2
3/**
4 * Abstraction of an end-station host on the network, essentially a NIC.
5 */
tomb36046e2014-08-27 00:22:24 -07006public interface Host extends Element {
tome33cc1a2014-08-25 21:59:41 -07007
8 // MAC, IP(s), optional VLAN ID
9
tomb36046e2014-08-27 00:22:24 -070010
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?
tome33cc1a2014-08-25 21:59:41 -070020
21}