Interface ProtocolMatchFields
-
- All Superinterfaces:
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
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAMEYANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.opendaylight.yangtools.yang.common.Uint8getMplsBos()Return mplsBos, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32getMplsLabel()Return mplsLabel, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint8getMplsTc()Return mplsTc, ornullif it is not present.PbbgetPbb()Return pbb, ornullif it is not present.Class<? extends ProtocolMatchFields>implementedInterface()default @NonNull org.opendaylight.yangtools.yang.common.Uint8requireMplsBos()Return mplsBos, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32requireMplsLabel()Return mplsLabel, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint8requireMplsTc()Return mplsTc, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends ProtocolMatchFields> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getMplsLabel
org.opendaylight.yangtools.yang.common.Uint32 getMplsLabel()
Return mplsLabel, ornullif it is not present.Label in the first MPLS shim header- Returns:
Uint32mplsLabel, ornullif 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:
Uint32mplsLabel, guaranteed to be non-null.- Throws:
NoSuchElementException- if mplsLabel is not present
-
getMplsTc
org.opendaylight.yangtools.yang.common.Uint8 getMplsTc()
Return mplsTc, ornullif it is not present.TC in the first MPLS shim header- Returns:
Uint8mplsTc, ornullif 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:
Uint8mplsTc, guaranteed to be non-null.- Throws:
NoSuchElementException- if mplsTc is not present
-
getMplsBos
org.opendaylight.yangtools.yang.common.Uint8 getMplsBos()
Return mplsBos, ornullif it is not present.BoS bit in the first MPLS shim header- Returns:
Uint8mplsBos, ornullif 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:
Uint8mplsBos, guaranteed to be non-null.- Throws:
NoSuchElementException- if mplsBos is not present
-
getPbb
Pbb getPbb()
Return pbb, ornullif it is not present.- Returns:
Pbbpbb, ornullif it is not present.
-
-