blob: 453dd148a948436099043c1218990e600c618bf6 [file] [log] [blame]
Jonathan Hart062a2e82014-02-03 09:41:57 -08001package net.onrc.onos.ofcontroller.networkgraph;
2
3
4
Yuta HIGUCHI181d34d2014-02-05 15:05:46 -08005/**
6 * Interface of Port Object exposed to the "NB" read-only Topology.
7 *
8 * Everything returned by these interfaces must be either Unmodifiable view,
9 * immutable object, or a copy of the original "SB" In-memory Topology.
10 *
11 */
Jonathan Hart062a2e82014-02-03 09:41:57 -080012public interface Port {
13 public short getNumber();
14 public String getName();
15 public long getHardwareAddress();
Yuta HIGUCHI181d34d2014-02-05 15:05:46 -080016
Jonathan Hart062a2e82014-02-03 09:41:57 -080017 public Switch getSwitch();
Yuta HIGUCHI181d34d2014-02-05 15:05:46 -080018
Jonathan Hart062a2e82014-02-03 09:41:57 -080019 public Link getLink();
20}