Merge remote-tracking branch 'origin/master'
diff --git a/core/api/src/main/java/org/onlab/onos/net/flow/FlowEntry.java b/core/api/src/main/java/org/onlab/onos/net/flow/FlowEntry.java
index 12a8cb4..7bef2c8 100644
--- a/core/api/src/main/java/org/onlab/onos/net/flow/FlowEntry.java
+++ b/core/api/src/main/java/org/onlab/onos/net/flow/FlowEntry.java
@@ -5,6 +5,9 @@
  */
 public interface FlowEntry extends FlowRule {
 
+
+    FlowId id();
+
     /**
      * Returns the number of milliseconds this flow rule has been applied.
      *
diff --git a/core/api/src/main/java/org/onlab/onos/net/flow/FlowId.java b/core/api/src/main/java/org/onlab/onos/net/flow/FlowId.java
new file mode 100644
index 0000000..d4e32a8
--- /dev/null
+++ b/core/api/src/main/java/org/onlab/onos/net/flow/FlowId.java
@@ -0,0 +1,21 @@
+package org.onlab.onos.net.flow;
+
+/**
+ * Representation of a Flow ID.
+ */
+public final class FlowId {
+
+    private final int flowid;
+
+    private FlowId(int id) {
+        this.flowid = id;
+    }
+
+    public FlowId valueOf(int id) {
+        return new FlowId(id);
+    }
+
+    public int value() {
+        return flowid;
+    }
+}