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;
           }
         }
       }
     }
     
    The schema path to identify an instance is opendaylight-match-types/protocol-match-fields
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static @NonNull org.opendaylight.yangtools.yang.common.QName QNAME  
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends ProtocolMatchFields> implementedInterface()
        Specified by:
        implementedInterface in interface 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:
        org.opendaylight.yangtools.yang.common.Uint32 mplsLabel, or null if it 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:
        org.opendaylight.yangtools.yang.common.Uint8 mplsTc, or null if it 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:
        org.opendaylight.yangtools.yang.common.Uint8 mplsBos, or null if it is not present.
      • getPbb

        Pbb getPbb()
        Return pbb, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.protocol.match.fields.Pbb pbb, or null if it is not present.