commit | 42ed8775fa1189de89cb4162d22c5edc9350dc13 | [log] [tgz] |
---|---|---|
author | Pavlin Radoslavov <pavlin@onlab.us> | Wed Oct 30 16:09:18 2013 -0700 |
committer | Pavlin Radoslavov <pavlin@onlab.us> | Wed Oct 30 16:09:18 2013 -0700 |
tree | b75999f2083ffbd9b664f28bac087ee823f1d69b | |
parent | 2a8336e67c31da6738456c0154b467f1703665e4 [diff] | |
parent | 3d8f33d556d72319eda9aa8ee21c9b53c147245f [diff] |
Merge branch 'master' of https://github.com/OPENNETWORKINGLAB/ONOS
diff --git a/src/main/java/net/onrc/onos/ofcontroller/topology/TopologyElement.java b/src/main/java/net/onrc/onos/ofcontroller/topology/TopologyElement.java index fe84654..574946d 100644 --- a/src/main/java/net/onrc/onos/ofcontroller/topology/TopologyElement.java +++ b/src/main/java/net/onrc/onos/ofcontroller/topology/TopologyElement.java
@@ -195,4 +195,15 @@ assert(false); return null; } + + /** + * Convert the Topology Element to a string. + * + * @return the Topology Element as a string. + */ + @Override + public String toString() { + // For now, we just return the Element ID. + return elementId(); + } }