public final class CriterionCodec
extends org.onosproject.codec.JsonCodec<org.onosproject.net.flow.criteria.Criterion>
| Modifier and Type | Field and Description |
|---|---|
protected static String |
BOS |
protected static String |
CHANNEL_SPACING |
protected static String |
ETH_TYPE |
protected static String |
EXT_HDR_FLAGS |
protected static String |
FLOW_LABEL |
protected static String |
GRID_TYPE |
protected static String |
ICMP_CODE |
protected static String |
ICMP_TYPE |
protected static String |
ICMPV6_CODE |
protected static String |
ICMPV6_TYPE |
protected static String |
INNER_PRIORITY |
protected static String |
INNER_VLAN_ID |
protected static String |
IP |
protected static String |
IP_DSCP |
protected static String |
IP_ECN |
protected static String |
LABEL |
protected static String |
LAMBDA |
protected static org.slf4j.Logger |
log |
protected static String |
MAC |
protected static String |
METADATA |
protected static String |
OCH_SIGNAL_ID |
protected static String |
OCH_SIGNAL_TYPE |
protected static String |
ODU_SIGNAL_ID |
protected static String |
ODU_SIGNAL_TYPE |
protected static String |
PORT |
protected static String |
PRIORITY |
protected static String |
PROTOCOL |
protected static String |
SCTP_PORT |
protected static String |
SLOT_GRANULARITY |
protected static String |
SPACING_MULIPLIER |
protected static String |
TARGET_ADDRESS |
protected static String |
TCP_PORT |
protected static String |
TRIBUTARY_PORT_NUMBER |
protected static String |
TRIBUTARY_SLOT_BITMAP |
protected static String |
TRIBUTARY_SLOT_LEN |
protected static String |
TUNNEL_ID |
protected static String |
TYPE |
protected static String |
UDP_PORT |
protected static String |
VLAN_ID |
| Constructor and Description |
|---|
CriterionCodec() |
| Modifier and Type | Method and Description |
|---|---|
org.onosproject.net.flow.criteria.Criterion |
decode(com.fasterxml.jackson.databind.node.ObjectNode json,
org.onosproject.codec.CodecContext context) |
com.fasterxml.jackson.databind.node.ObjectNode |
encode(org.onosproject.net.flow.criteria.Criterion criterion,
org.onosproject.codec.CodecContext context) |
protected static final org.slf4j.Logger log
protected static final String TYPE
protected static final String ETH_TYPE
protected static final String MAC
protected static final String PORT
protected static final String METADATA
protected static final String VLAN_ID
protected static final String INNER_VLAN_ID
protected static final String INNER_PRIORITY
protected static final String PRIORITY
protected static final String IP_DSCP
protected static final String IP_ECN
protected static final String PROTOCOL
protected static final String IP
protected static final String TCP_PORT
protected static final String UDP_PORT
protected static final String SCTP_PORT
protected static final String ICMP_TYPE
protected static final String ICMP_CODE
protected static final String FLOW_LABEL
protected static final String ICMPV6_TYPE
protected static final String ICMPV6_CODE
protected static final String TARGET_ADDRESS
protected static final String LABEL
protected static final String BOS
protected static final String EXT_HDR_FLAGS
protected static final String LAMBDA
protected static final String GRID_TYPE
protected static final String CHANNEL_SPACING
protected static final String SPACING_MULIPLIER
protected static final String SLOT_GRANULARITY
protected static final String OCH_SIGNAL_ID
protected static final String TUNNEL_ID
protected static final String OCH_SIGNAL_TYPE
protected static final String ODU_SIGNAL_ID
protected static final String TRIBUTARY_PORT_NUMBER
protected static final String TRIBUTARY_SLOT_LEN
protected static final String TRIBUTARY_SLOT_BITMAP
protected static final String ODU_SIGNAL_TYPE
public com.fasterxml.jackson.databind.node.ObjectNode encode(org.onosproject.net.flow.criteria.Criterion criterion,
org.onosproject.codec.CodecContext context)
encode in class org.onosproject.codec.JsonCodec<org.onosproject.net.flow.criteria.Criterion>public org.onosproject.net.flow.criteria.Criterion decode(com.fasterxml.jackson.databind.node.ObjectNode json,
org.onosproject.codec.CodecContext context)
decode in class org.onosproject.codec.JsonCodec<org.onosproject.net.flow.criteria.Criterion>