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

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opendaylight.yangtools.yang.common.Uint8
    Return mplsBos, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint32
    Return mplsLabel, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint8
    Return mplsTc, or null if it is not present.
    Return pbb, or null if it is not present.
     
    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 QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends ProtocolMatchFields> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • getMplsLabel

      org.opendaylight.yangtools.yang.common.Uint32 getMplsLabel()
      Return mplsLabel, or null if it is not present.
           
               Label in the first MPLS shim header
           
       
      Returns:
      Uint32 mplsLabel, or null 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, or null if it is not present.
           
               TC in the first MPLS shim header
           
       
      Returns:
      Uint8 mplsTc, or null 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, or null if it is not present.
           
               BoS bit in the first MPLS shim header
           
       
      Returns:
      Uint8 mplsBos, or null 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, or null if it is not present.
      Returns:
      Pbb pbb, or null if it is not present.