Interface ProtocolMatchFields
- 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:
ProtocolMatchFields
@Generated("mdsal-binding-generator")
public interface ProtocolMatchFields
extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module opendaylight-match-types
grouping protocol-match-fields { leaf mpls-label { type uint32; } leaf mpls-tc { type uint8; } leaf mpls-bos { type uint8; } container pbb { leaf pbb-isid { type uint32; } leaf pbb-mask { type uint32 { range 0..16777216; } } } }
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yangtools.yang.common.Uint8
Return mplsBos, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
Return mplsLabel, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint8
Return mplsTc, ornull
if it is not present.getPbb()
Return pbb, ornull
if it is not present.Class<? extends ProtocolMatchFields>
default @NonNull org.opendaylight.yangtools.yang.common.Uint8
Return mplsBos, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return mplsLabel, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint8
Return mplsTc, guaranteed to be non-null.
-
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 ProtocolMatchFields> 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
-
getMplsLabel
org.opendaylight.yangtools.yang.common.Uint32 getMplsLabel()Return mplsLabel, ornull
if it is not present.Label in the first MPLS shim header
- Returns:
Uint32
mplsLabel, ornull
if it is not present.
-
requireMplsLabel
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireMplsLabel()Return mplsLabel, guaranteed to be non-null.Label in the first MPLS shim header
- Returns:
Uint32
mplsLabel, guaranteed to be non-null.- Throws:
NoSuchElementException
- if mplsLabel is not present
-
getMplsTc
org.opendaylight.yangtools.yang.common.Uint8 getMplsTc()Return mplsTc, ornull
if it is not present.TC in the first MPLS shim header
- Returns:
Uint8
mplsTc, ornull
if it is not present.
-
requireMplsTc
default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireMplsTc()Return mplsTc, guaranteed to be non-null.TC in the first MPLS shim header
- Returns:
Uint8
mplsTc, guaranteed to be non-null.- Throws:
NoSuchElementException
- if mplsTc is not present
-
getMplsBos
org.opendaylight.yangtools.yang.common.Uint8 getMplsBos()Return mplsBos, ornull
if it is not present.BoS bit in the first MPLS shim header
- Returns:
Uint8
mplsBos, ornull
if it is not present.
-
requireMplsBos
default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireMplsBos()Return mplsBos, guaranteed to be non-null.BoS bit in the first MPLS shim header
- Returns:
Uint8
mplsBos, guaranteed to be non-null.- Throws:
NoSuchElementException
- if mplsBos is not present
-
getPbb
Pbb getPbb()Return pbb, ornull
if it is not present.- Returns:
Pbb
pbb, ornull
if it is not present.
-