Pi classes to support P4Runtime action profiles
+ modified default.p4 with ECMP capabilities (via action profiles)
+ sketched translation logic of ONOS groups (in Bmv2GroupProgrammable)
+ replaced existing instances of default.json/p4info with symlinks to
p4src build directory (to avoid inconsistencies)
Change-Id: If82f0b8ce296c9b616415d99864d216b77645a87
diff --git a/core/api/src/main/java/org/onosproject/net/pi/runtime/PiTableAction.java b/core/api/src/main/java/org/onosproject/net/pi/runtime/PiTableAction.java
index a4d4038..eb842d4 100644
--- a/core/api/src/main/java/org/onosproject/net/pi/runtime/PiTableAction.java
+++ b/core/api/src/main/java/org/onosproject/net/pi/runtime/PiTableAction.java
@@ -38,15 +38,14 @@
*/
ACTION,
- // TODO: in P4Runtime a table action can be any of the following 3.
- // How to represent action profiles?
- /* message TableAction {
- oneof type {
- Action action = 1;
- uint32 action_profile_member_id = 2;
- uint32 action_profile_group_id = 3;
- }
- }
- */
+ /**
+ * Executes the action group specified by the given identifier.
+ */
+ ACTION_GROUP_ID,
+
+ /**
+ * Executes the action member group specified by the given identifier.
+ */
+ GROUP_MEMBER_ID
}
}