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

    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

        @Nullable org.opendaylight.yangtools.yang.common.Uint32 getMplsLabel()
        Label in the first MPLS shim header
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 mplsLabel, or null if not present
      • getMplsTc

        @Nullable org.opendaylight.yangtools.yang.common.Uint8 getMplsTc()
        TC in the first MPLS shim header
        Returns:
        org.opendaylight.yangtools.yang.common.Uint8 mplsTc, or null if not present
      • getMplsBos

        @Nullable org.opendaylight.yangtools.yang.common.Uint8 getMplsBos()
        BoS bit in the first MPLS shim header
        Returns:
        org.opendaylight.yangtools.yang.common.Uint8 mplsBos, or null if not present
      • getPbb

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