Interface EthernetMatchFields
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
EthernetMatch
@Generated("mdsal-binding-generator")
public interface EthernetMatchFields
extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module opendaylight-match-types
grouping ethernet-match-fields { container ethernet-source { presence "Match field is active and set"; uses mac-address-filter; } container ethernet-destination { presence "Match field is active and set"; uses mac-address-filter; } container ethernet-type { presence "Match field is active and set"; leaf type { type l2t:ether-type; } } }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn ethernetDestination, ornull
if it is not present.Return ethernetSource, ornull
if it is not present.Return ethernetType, ornull
if it is not present.Class<? extends EthernetMatchFields>
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends EthernetMatchFields> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getEthernetSource
EthernetSource getEthernetSource()Return ethernetSource, ornull
if it is not present.Ethernet source address.
- Returns:
EthernetSource
ethernetSource, ornull
if it is not present.
-
getEthernetDestination
EthernetDestination getEthernetDestination()Return ethernetDestination, ornull
if it is not present.Ethernet destination address.
- Returns:
EthernetDestination
ethernetDestination, ornull
if it is not present.
-
getEthernetType
EthernetType getEthernetType()Return ethernetType, ornull
if it is not present.Ethernet frame type.
- Returns:
EthernetType
ethernetType, ornull
if it is not present.
-