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
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 @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
getDestinationMac()
@Nullable org.opendaylight.yangtools.yang.common.Uint16
getEthertype()
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
getSourceMac()
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
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress getSourceMac()
- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
sourceMac
, ornull
if not present
-
getDestinationMac
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress getDestinationMac()
- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
destinationMac
, ornull
if not present
-
getEthertype
@Nullable org.opendaylight.yangtools.yang.common.Uint16 getEthertype()
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
ethertype
, ornull
if not present
-
-