commit | 062a2e8bc0ff69dacd38ff23750768ce6d7a8710 | [log] [tgz] |
---|---|---|
author | Jonathan Hart <jono@onlab.us> | Mon Feb 03 09:41:57 2014 -0800 |
committer | Jonathan Hart <jono@onlab.us> | Tue Feb 04 23:41:12 2014 -0800 |
tree | c1bc64ac6c5d81b031ceb03968d63f7f0186d3ff | |
parent | 1ca1afa8bbb806f8c4d4aefac277bd78054ac23d [diff] [blame] |
Created basic network graph objects, and implementation for the southbound API against the Ramcloud datastore Change-Id: I2172dacb171f27ba2099ee5a52835030d2004689 Created basic objects and southbound API to build the network graph Change-Id: I061efdf10e5e8549f7192844d10781dc28ee62d4 Added basic northbound get switch method on network graph Change-Id: I4f2e4d4a4df00979abc927ef0772997dcdebc4e2
diff --git a/src/main/java/net/onrc/onos/ofcontroller/networkgraph/Port.java b/src/main/java/net/onrc/onos/ofcontroller/networkgraph/Port.java new file mode 100644 index 0000000..8299022 --- /dev/null +++ b/src/main/java/net/onrc/onos/ofcontroller/networkgraph/Port.java
@@ -0,0 +1,13 @@ +package net.onrc.onos.ofcontroller.networkgraph; + + + +public interface Port { + public short getNumber(); + public String getName(); + public long getHardwareAddress(); + + public Switch getSwitch(); + + public Link getLink(); +}