commit | 193525bb7fa5bf15a30088994bc7a6cb4ccecef6 | [log] [tgz] |
---|---|---|
author | alshabib <alshabibi.ali@gmail.com> | Wed Oct 08 18:58:03 2014 -0700 |
committer | alshabib <alshabibi.ali@gmail.com> | Wed Oct 08 18:58:03 2014 -0700 |
tree | 3c776bf28e2afaa68b83eb24b6bcf59bfceb876f | |
parent | ce2a9586b437d82c5daa897a0461dccc4b686fb2 [diff] [blame] |
clean batch operations Change-Id: I7187de40bb5276d6ae9e9831e5d47d36e16560ad
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 5b5f89b..882c9df 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
@@ -29,7 +29,12 @@ /** * Flow has been removed from flow table and can be purged. */ - REMOVED + REMOVED, + + /** + * Indicates that the installation of this flow has failed. + */ + FAILED } /** @@ -95,4 +100,16 @@ */ void setBytes(long bytes); + /** + * Indicates the error type. + * @return an integer value of the error + */ + int errType(); + + /** + * Indicates the error code. + * @return an integer value of the error + */ + int errCode(); + }