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
Modifier and Type | Field and Description |
---|---|
static @NonNull org.opendaylight.yangtools.yang.common.QName |
QNAME |
Modifier and Type | Method and Description |
---|---|
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress |
getDestinationMac() |
@Nullable Integer |
getEthertype() |
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress |
getSourceMac() |
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress getSourceMac()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
sourceMac
, or null
if not present@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress getDestinationMac()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
destinationMac
, or null
if not present@Nullable Integer getEthertype()
java.lang.Integer
ethertype
, or null
if not presentCopyright © 2019 OpenDaylight. All rights reserved.