Add state/status to Topology Element
Updated discovery to populate the status and config type
Changed status to admin status
Added to Kryo Serializer list
ONOS-1428
Change-Id: I38e5ecf2b45b95c148339d127d86592c0e9678ba
diff --git a/src/main/java/net/onrc/onos/core/topology/ITopologyElement.java b/src/main/java/net/onrc/onos/core/topology/ITopologyElement.java
index b9ce0d3..277c957 100644
--- a/src/main/java/net/onrc/onos/core/topology/ITopologyElement.java
+++ b/src/main/java/net/onrc/onos/core/topology/ITopologyElement.java
@@ -13,4 +13,20 @@
* @return the type of the topology element
*/
public String getType();
+
+ /**
+ * Returns the config state of topology element.
+ *
+ * @return ConfigState
+ */
+ public ConfigState getConfigState();
+
+ /**
+ * Returns the status of topology element.
+ *
+ * @return AdminStatus
+ */
+ public AdminStatus getStatus();
+
+
}