package org.opendaylight.openflowplugin.api.openflow.device;
import java.math.BigInteger;
+import org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier;
import org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId;
import org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node;
import org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.NodeKey;
/**
* API defining basic device information
*/
-public interface DeviceInfo {
+public interface DeviceInfo extends XidSequencer {
/**
* @return id of encapsulated node
/**
* @return version
*/
- Short getVersion();
+ short getVersion();
/**
* @return datapathId
*/
BigInteger getDatapathId();
+ /**
+ * @return clustering service identifier
+ */
+ ServiceGroupIdentifier getServiceIdentifier();
+
+ /**
+ * Many uses in log, this will make code more readable
+ * @return string representation of nodeId
+ */
+ default String getLOGValue() {
+ return getNodeId().getValue();
+ }
+
}