commit | 63a82df50635d7f70bb094190e4ccb2ca50b231e | [log] [tgz] |
---|---|---|
author | Yi Tseng <yi@opennetworking.org> | Fri Nov 17 16:41:40 2017 -0800 |
committer | Carmelo Cascone <carmelo@opennetworking.org> | Tue Nov 21 00:25:23 2017 +0000 |
tree | 76f873a68798c83ca25a9ea3083f8cc40b230f90 | |
parent | f73a553a04684e9201f0ab7183de201899a454c7 [diff] |
Temporary disable pulling entries from p4 target before bmv2/PI fixed Currently bmv2 has a bug while we pulling flows from switch The switch might crash after we push about 20 flows Change-Id: Ib4e15ff9256b339eee40595eb438e28a0ce17d8a
diff --git a/drivers/p4runtime/src/main/java/org/onosproject/drivers/p4runtime/P4RuntimeFlowRuleProgrammable.java b/drivers/p4runtime/src/main/java/org/onosproject/drivers/p4runtime/P4RuntimeFlowRuleProgrammable.java index cd5ce27..5f95eda 100644 --- a/drivers/p4runtime/src/main/java/org/onosproject/drivers/p4runtime/P4RuntimeFlowRuleProgrammable.java +++ b/drivers/p4runtime/src/main/java/org/onosproject/drivers/p4runtime/P4RuntimeFlowRuleProgrammable.java
@@ -77,7 +77,8 @@ /* If true, we avoid querying the device and return the content of the ENTRY_STORE. */ - private boolean ignoreDeviceWhenGet = false; + // TODO: set to false after bmv2/PI bug fixed + private boolean ignoreDeviceWhenGet = true; /* If true, we read all direct counters of a table with one request. Otherwise, send as many request as the number of