commit | fab2950441014e3032d3061cf0409de6565a5ff6 | [log] [tgz] |
---|---|---|
author | Hyunsun Moon <hyunsun.moon@gmail.com> | Tue Aug 25 13:39:16 2015 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Tue Aug 25 22:30:27 2015 +0000 |
tree | 3a54fe8f9cc143996f517aa5905fed6506ec14d5 | |
parent | 264497f00f0b83830aa35b59490687172ce65228 [diff] [blame] |
ONOS-2578 Added codec for mod tcp/udp port instructions Change-Id: Iab1eac26afe47e0b1c13ce94e152826b0828e455
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 6fa4ae0..f4d5008 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
@@ -48,6 +48,8 @@ protected static final String SLOT_GRANULARITY = "slotGranularity"; protected static final String ETHERNET_TYPE = "ethernetType"; protected static final String TUNNEL_ID = "tunnelId"; + protected static final String TCP_PORT = "tcpPort"; + protected static final String UDP_PORT = "udpPort"; protected static final String MISSING_MEMBER_MESSAGE = " member is required in Instruction";