commit | d900fe4a87261f17c7293421c0bdbd4599b37c07 | [log] [tgz] |
---|---|---|
author | Daniele Moro <daniele@opennetworking.org> | Thu Feb 11 16:12:57 2021 +0100 |
committer | Pier Luigi Ventre <pier@opennetworking.org> | Thu Jul 01 17:34:35 2021 +0000 |
tree | 528fcd3393d2071d2ef7a3ba9f8f98240318af84 | |
parent | a4ceaab1295d74e1df8783569d485fa84e02725d [diff] [blame] |
Add support for one shot action profile programming in PI A P4 table annotated with @oneshot annotation can be programmed only with the action profile action set. For these kind of tables we don't issue read request for action profile groups and members. Change-Id: I7b6a743f4f4df4190f17d958ebb4807aca5feda5
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 284dde6..d803ca6 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
@@ -43,7 +43,13 @@ * Executes the action profile member specified by the given * identifier. */ - ACTION_PROFILE_MEMBER_ID + ACTION_PROFILE_MEMBER_ID, + + /** + * Executes the given action set. Used in one-shot action profile + * programming. + */ + ACTION_SET } /**