Interface MatchV10
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<MatchV10>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<MatchV10Grouping>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator") public interface MatchV10 extends org.opendaylight.yangtools.yang.binding.ChildOf<MatchV10Grouping>, org.opendaylight.yangtools.yang.binding.Augmentable<MatchV10>
OF v1.0 match structureThis class represents the following YANG schema fragment defined in module openflow-extensible-match
container match-v10 { leaf wildcards { type oft:flow-wildcards-v10; } leaf nw-src-mask { type uint8; } leaf nw-dst-mask { type uint8; } leaf in-port { type uint16; } leaf dl-src { type yang:mac-address; } leaf dl-dst { type yang:mac-address; } leaf dl-vlan { type uint16; } leaf dl-vlan-pcp { type uint8; } leaf dl-type { type uint16; } leaf nw-tos { type uint8; } leaf nw-proto { type uint8; } leaf nw-src { type inet:ipv4-address; } leaf nw-dst { type inet:ipv4-address; } leaf tp-src { type uint16; } leaf tp-dst { type uint16; } }
The schema path to identify an instance is openflow-extensible-match/match-v10-grouping/match-v10To create instances of this class use
MatchV10Builder
.- See Also:
MatchV10Builder
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static boolean
bindingEquals(@NonNull MatchV10 thisObj, Object obj)
Default implementation ofObject.equals(Object)
contract for this interface.static int
bindingHashCode(@NonNull MatchV10 obj)
Default implementation ofObject.hashCode()
contract for this interface.static String
bindingToString(@NonNull MatchV10 obj)
Default implementation ofObject.toString()
contract for this interface.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
getDlDst()
Return dlDst, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
getDlSrc()
Return dlSrc, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
getDlType()
Return dlType, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
getDlVlan()
Return dlVlan, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint8
getDlVlanPcp()
Return dlVlanPcp, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
getInPort()
Return inPort, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address
getNwDst()
Return nwDst, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint8
getNwDstMask()
Return nwDstMask, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint8
getNwProto()
Return nwProto, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address
getNwSrc()
Return nwSrc, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint8
getNwSrcMask()
Return nwSrcMask, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint8
getNwTos()
Return nwTos, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
getTpDst()
Return tpDst, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
getTpSrc()
Return tpSrc, ornull
if it is not present.FlowWildcardsV10
getWildcards()
Return wildcards, ornull
if it is not present.default Class<MatchV10>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
default Class<MatchV10> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
bindingHashCode
static int bindingHashCode(@NonNull MatchV10 obj)
Default implementation ofObject.hashCode()
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.- Parameters:
obj
- Object for which to generate hashCode() result.- Returns:
- Hash code value of data modeled by this interface.
- Throws:
NullPointerException
- ifobj
is null
-
bindingEquals
static boolean bindingEquals(@NonNull MatchV10 thisObj, Object obj)
Default implementation ofObject.equals(Object)
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.- Parameters:
thisObj
- Object acting as the receiver of equals invocationobj
- Object acting as argument to equals invocation- Returns:
- True if thisObj and obj are considered equal
- Throws:
NullPointerException
- ifthisObj
is null
-
bindingToString
static String bindingToString(@NonNull MatchV10 obj)
Default implementation ofObject.toString()
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.- Parameters:
obj
- Object for which to generate toString() result.- Returns:
String
value of data modeled by this interface.- Throws:
NullPointerException
- ifobj
is null
-
getWildcards
FlowWildcardsV10 getWildcards()
Return wildcards, ornull
if it is not present.Wildcard fields (only flags).
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.FlowWildcardsV10
wildcards, ornull
if it is not present.
-
getNwSrcMask
org.opendaylight.yangtools.yang.common.Uint8 getNwSrcMask()
Return nwSrcMask, ornull
if it is not present.IP source address mask (definition differs from OF v1.0.0 spec to ease understanding, library does the transformation into OF v1.0 spec correct data)
- Returns:
org.opendaylight.yangtools.yang.common.Uint8
nwSrcMask, ornull
if it is not present.
-
getNwDstMask
org.opendaylight.yangtools.yang.common.Uint8 getNwDstMask()
Return nwDstMask, ornull
if it is not present.IP destination address mask (definition differs from OF v1.0.0 spec to ease understanding, library does the transformation into OF v1.0 spec correct data)
- Returns:
org.opendaylight.yangtools.yang.common.Uint8
nwDstMask, ornull
if it is not present.
-
getInPort
org.opendaylight.yangtools.yang.common.Uint16 getInPort()
Return inPort, ornull
if it is not present.Input switch port.
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
inPort, ornull
if it is not present.
-
getDlSrc
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress getDlSrc()
Return dlSrc, ornull
if it is not present.Ethernet source address.
- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
dlSrc, ornull
if it is not present.
-
getDlDst
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress getDlDst()
Return dlDst, ornull
if it is not present.Ethernet destination address.
- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
dlDst, ornull
if it is not present.
-
getDlVlan
org.opendaylight.yangtools.yang.common.Uint16 getDlVlan()
Return dlVlan, ornull
if it is not present.Input VLAN id.
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
dlVlan, ornull
if it is not present.
-
getDlVlanPcp
org.opendaylight.yangtools.yang.common.Uint8 getDlVlanPcp()
Return dlVlanPcp, ornull
if it is not present.Input VLAN priority.
- Returns:
org.opendaylight.yangtools.yang.common.Uint8
dlVlanPcp, ornull
if it is not present.
-
getDlType
org.opendaylight.yangtools.yang.common.Uint16 getDlType()
Return dlType, ornull
if it is not present.Ethernet frame type.
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
dlType, ornull
if it is not present.
-
getNwTos
org.opendaylight.yangtools.yang.common.Uint8 getNwTos()
Return nwTos, ornull
if it is not present.IP ToS (actually DSCP field, 6 bits).
- Returns:
org.opendaylight.yangtools.yang.common.Uint8
nwTos, ornull
if it is not present.
-
getNwProto
org.opendaylight.yangtools.yang.common.Uint8 getNwProto()
Return nwProto, ornull
if it is not present.IP protocol or lower 8 bits of ARP opcode.
- Returns:
org.opendaylight.yangtools.yang.common.Uint8
nwProto, ornull
if it is not present.
-
getNwSrc
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address getNwSrc()
Return nwSrc, ornull
if it is not present.IP source address.
- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address
nwSrc, ornull
if it is not present.
-
getNwDst
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address getNwDst()
Return nwDst, ornull
if it is not present.IP destination address.
- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address
nwDst, ornull
if it is not present.
-
getTpSrc
org.opendaylight.yangtools.yang.common.Uint16 getTpSrc()
Return tpSrc, ornull
if it is not present.TCP/UDP source port.
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
tpSrc, ornull
if it is not present.
-
getTpDst
org.opendaylight.yangtools.yang.common.Uint16 getTpDst()
Return tpDst, ornull
if it is not present.TCP/UDP destination port.
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
tpDst, ornull
if it is not present.
-
-