public class DefaultMatchFlow extends org.onosproject.yang.model.InnerModelObject implements MatchFlow
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeMatchFlow.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected short |
dot1p |
protected short |
dscp |
protected Ipv4Prefix |
ipv4DstPrefix |
protected Ipv4Prefix |
ipv4SrcPrefix |
protected Ipv6Prefix |
ipv6DstPrefix |
protected Ipv6Prefix |
ipv6SrcPrefix |
protected int |
l4DstPort |
protected int |
l4SrcPort |
protected ProtocolFieldUnion |
protocolField |
protected short |
tos |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultMatchFlow()
Creates an instance of defaultMatchFlow.
|
| Modifier and Type | Method and Description |
|---|---|
short |
dot1p()
Returns the attribute dot1p.
|
void |
dot1p(short dot1p)
Sets the attribute dot1p.
|
short |
dscp()
Returns the attribute dscp.
|
void |
dscp(short dscp)
Sets the attribute dscp.
|
boolean |
equals(Object obj) |
int |
hashCode() |
Ipv4Prefix |
ipv4DstPrefix()
Returns the attribute ipv4DstPrefix.
|
void |
ipv4DstPrefix(Ipv4Prefix ipv4DstPrefix)
Sets the attribute ipv4DstPrefix.
|
Ipv4Prefix |
ipv4SrcPrefix()
Returns the attribute ipv4SrcPrefix.
|
void |
ipv4SrcPrefix(Ipv4Prefix ipv4SrcPrefix)
Sets the attribute ipv4SrcPrefix.
|
Ipv6Prefix |
ipv6DstPrefix()
Returns the attribute ipv6DstPrefix.
|
void |
ipv6DstPrefix(Ipv6Prefix ipv6DstPrefix)
Sets the attribute ipv6DstPrefix.
|
Ipv6Prefix |
ipv6SrcPrefix()
Returns the attribute ipv6SrcPrefix.
|
void |
ipv6SrcPrefix(Ipv6Prefix ipv6SrcPrefix)
Sets the attribute ipv6SrcPrefix.
|
boolean |
isLeafValueSet(MatchFlow.LeafIdentifier leaf)
Checks if the leaf value is set.
|
int |
l4DstPort()
Returns the attribute l4DstPort.
|
void |
l4DstPort(int l4DstPort)
Sets the attribute l4DstPort.
|
int |
l4SrcPort()
Returns the attribute l4SrcPort.
|
void |
l4SrcPort(int l4SrcPort)
Sets the attribute l4SrcPort.
|
ProtocolFieldUnion |
protocolField()
Returns the attribute protocolField.
|
void |
protocolField(ProtocolFieldUnion protocolField)
Sets the attribute protocolField.
|
short |
tos()
Returns the attribute tos.
|
void |
tos(short tos)
Sets the attribute tos.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected short dscp
protected short tos
protected short dot1p
protected Ipv4Prefix ipv4SrcPrefix
protected Ipv6Prefix ipv6SrcPrefix
protected Ipv4Prefix ipv4DstPrefix
protected Ipv6Prefix ipv6DstPrefix
protected int l4SrcPort
protected int l4DstPort
protected ProtocolFieldUnion protocolField
protected BitSet valueLeafFlags
public DefaultMatchFlow()
public short dscp()
MatchFlowpublic short tos()
MatchFlowpublic short dot1p()
MatchFlowpublic Ipv4Prefix ipv4SrcPrefix()
MatchFlowipv4SrcPrefix in interface MatchFlowpublic Ipv6Prefix ipv6SrcPrefix()
MatchFlowipv6SrcPrefix in interface MatchFlowpublic Ipv4Prefix ipv4DstPrefix()
MatchFlowipv4DstPrefix in interface MatchFlowpublic Ipv6Prefix ipv6DstPrefix()
MatchFlowipv6DstPrefix in interface MatchFlowpublic int l4SrcPort()
MatchFlowpublic int l4DstPort()
MatchFlowpublic ProtocolFieldUnion protocolField()
MatchFlowprotocolField in interface MatchFlowpublic BitSet valueLeafFlags()
MatchFlowvalueLeafFlags in interface MatchFlowpublic void dscp(short dscp)
MatchFlowpublic void tos(short tos)
MatchFlowpublic void dot1p(short dot1p)
MatchFlowpublic void ipv4SrcPrefix(Ipv4Prefix ipv4SrcPrefix)
MatchFlowipv4SrcPrefix in interface MatchFlowipv4SrcPrefix - value of ipv4SrcPrefixpublic void ipv6SrcPrefix(Ipv6Prefix ipv6SrcPrefix)
MatchFlowipv6SrcPrefix in interface MatchFlowipv6SrcPrefix - value of ipv6SrcPrefixpublic void ipv4DstPrefix(Ipv4Prefix ipv4DstPrefix)
MatchFlowipv4DstPrefix in interface MatchFlowipv4DstPrefix - value of ipv4DstPrefixpublic void ipv6DstPrefix(Ipv6Prefix ipv6DstPrefix)
MatchFlowipv6DstPrefix in interface MatchFlowipv6DstPrefix - value of ipv6DstPrefixpublic void l4SrcPort(int l4SrcPort)
MatchFlowpublic void l4DstPort(int l4DstPort)
MatchFlowpublic void protocolField(ProtocolFieldUnion protocolField)
MatchFlowprotocolField in interface MatchFlowprotocolField - value of protocolFieldpublic boolean isLeafValueSet(MatchFlow.LeafIdentifier leaf)
MatchFlowisLeafValueSet in interface MatchFlowleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.