Interface EthernetHeader
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
NeighborAdvertisePacket
,NeighborSolicitationPacket
,RouterAdvertisementPacket
,RouterSolicitationPacket
@Generated("mdsal-binding-generator") public interface EthernetHeader extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module ipv6-neighbor-discovery
grouping ethernet-header { leaf source-mac { type yang:mac-address; } leaf destination-mac { type yang:mac-address; } leaf ethertype { type uint16; } }
The schema path to identify an instance is ipv6-neighbor-discovery/ethernet-header
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
getDestinationMac()
Return destinationMac, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
getEthertype()
Return ethertype, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
getSourceMac()
Return sourceMac, ornull
if it is not present.java.lang.Class<? extends EthernetHeader>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
java.lang.Class<? extends EthernetHeader> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getSourceMac
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress getSourceMac()
Return sourceMac, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
sourceMac, ornull
if it is not present.
-
getDestinationMac
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress getDestinationMac()
Return destinationMac, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
destinationMac, ornull
if it is not present.
-
getEthertype
org.opendaylight.yangtools.yang.common.Uint16 getEthertype()
Return ethertype, ornull
if it is not present.- Returns:
org.opendaylight.yangtools.yang.common.Uint16
ethertype, ornull
if it is not present.
-
-