commit | 74ce2c100940d956b841965027d4ebf7275d456e | [log] [tgz] |
---|---|---|
author | Frank Wang <wangpeihuixyz@126.com> | Wed Apr 11 20:26:45 2018 +0800 |
committer | Ray Milkey <ray@opennetworking.org> | Thu May 24 01:57:58 2018 +0000 |
tree | bb013e29fdf0ce792515bcc856908705a1b71070 | |
parent | 0bcdfd1e59027338b16398a9b8da2495225c13ae [diff] [blame] |
[ONOS-7583]Adding PI flow rules via REST API and unit tests Change-Id: I15537097e7b6f8138f8ae43676d5dd22d8b9093a
diff --git a/core/common/src/main/java/org/onosproject/codec/impl/InstructionCodec.java b/core/common/src/main/java/org/onosproject/codec/impl/InstructionCodec.java index 6e36ec0..75192a0 100644 --- a/core/common/src/main/java/org/onosproject/codec/impl/InstructionCodec.java +++ b/core/common/src/main/java/org/onosproject/codec/impl/InstructionCodec.java
@@ -65,6 +65,11 @@ static final String STAT_PACKET_COUNT = "packetCount"; static final String STAT_DURATION = "duration"; + static final String PI_ACTION_ID = "actionId"; + static final String PI_ACTION_GROUP_ID = "groupId"; + static final String PI_ACTION_GROUP_MEMBER_ID = "memberId"; + static final String PI_ACTION_PARAMS = "actionParams"; + static final String MISSING_MEMBER_MESSAGE = " member is required in Instruction"; static final String ERROR_MESSAGE =