commit | 00a5996a23237a595055687ee149b1797e65d811 | [log] [tgz] |
---|---|---|
author | Carmelo Cascone <carmelo@onlab.us> | Fri Jun 16 17:51:49 2017 +0900 |
committer | Carmelo Cascone <carmelo@onlab.us> | Wed Jun 21 20:29:45 2017 +0000 |
tree | 7e27e8d4dab3a19cef3e19b5fa6e7e4b2c7a9758 | |
parent | bbb5a4b0bc9b89ea6b54127930252321f6a8012b [diff] [blame] |
ONOS-6605 PI flow rule translator implementation Change-Id: Icac66f17677c494152207f4b52355ad647e1227b
diff --git a/core/api/src/main/java/org/onosproject/net/pi/runtime/PiActionId.java b/core/api/src/main/java/org/onosproject/net/pi/runtime/PiActionId.java index d0655da..7a04318 100644 --- a/core/api/src/main/java/org/onosproject/net/pi/runtime/PiActionId.java +++ b/core/api/src/main/java/org/onosproject/net/pi/runtime/PiActionId.java
@@ -38,6 +38,15 @@ } /** + * Returns the name of the action. + * + * @return action name + */ + public String name() { + return this.identifier; + } + + /** * Returns an action identifier with the given name. * * @param name action name