commit | fa21be1d1430f6f1dd4fc040cc3b7412ba8d6290 | [log] [tgz] |
---|---|---|
author | Praseed Balakrishnan <praseed.balakrishnan@us.fujitsu.com> | Tue Jul 15 14:42:26 2014 -0700 |
committer | Gerrit Code Review <gerrit2@localhost> | Mon Jul 28 11:07:14 2014 -0700 |
tree | d35ea07814e363227326d882af103b8c66188f43 | |
parent | ccab05d147fdc07b011680900e0c9713d4d33d99 [diff] [blame] |
Adding device type Adding device type on port(eg Ethernet Port,TPort,WPort), Link(Ethernet,Optical..) and Switch(Ethernet,Optical) Updated Serializers. Fixed javadoc issue for Enums. ONOS-1428 Change-Id: Id3e3094f1fbf90154fff9a61e3c0ca36be69c281
diff --git a/src/main/java/net/onrc/onos/core/topology/Link.java b/src/main/java/net/onrc/onos/core/topology/Link.java index 80d450e..087110f 100644 --- a/src/main/java/net/onrc/onos/core/topology/Link.java +++ b/src/main/java/net/onrc/onos/core/topology/Link.java
@@ -65,4 +65,11 @@ * @return the link capacity. */ public Double getCapacity(); + + /** + * Returns the link type of the link. + * + * @return {@link LinkType} for this link + */ + public LinkType getLinkType(); }