Ignore entries from constant tables in P4Runtime
Change-Id: I6ba8591a9674287832a18e258c5dd3801c588a32
(cherry picked from commit ba73da5bd09a6b40ab5727ef4a03767d437687e8)
diff --git a/core/api/src/main/java/org/onosproject/net/pi/model/PiTableModel.java b/core/api/src/main/java/org/onosproject/net/pi/model/PiTableModel.java
index e2461a8..ba66c10 100644
--- a/core/api/src/main/java/org/onosproject/net/pi/model/PiTableModel.java
+++ b/core/api/src/main/java/org/onosproject/net/pi/model/PiTableModel.java
@@ -106,6 +106,14 @@
boolean hasDefaultMutableParams();
/**
+ * Returns true if the table is populated with static entries that cannot be
+ * modified by the control plane at runtime.
+ *
+ * @return true if table is populated with static entries, false otherwise
+ */
+ boolean isConstantTable();
+
+ /**
* Returns the action model associated with the given ID, if present. If not present, it means that this table does
* not support such an action.
*