Interface SrPceCapability

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<SrPceCapability>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<SrPceCapabilityTlv>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, Tlv

    public interface SrPceCapability
    extends org.opendaylight.yangtools.yang.binding.ChildOf<SrPceCapabilityTlv>, org.opendaylight.yangtools.yang.binding.Augmentable<SrPceCapability>, Tlv

    This class represents the following YANG schema fragment defined in module odl-pcep-segment-routing

     container sr-pce-capability {
       uses pcep:tlv;
       leaf n-flag {
         type boolean;
         default false;
       }
       leaf x-flag {
         type boolean;
         default false;
       }
       leaf msd {
         type uint8;
         default 0;
       }
     }
     
    The schema path to identify an instance is odl-pcep-segment-routing/sr-pce-capability-tlv/sr-pce-capability

    To create instances of this class use SrPceCapabilityBuilder.

    See Also:
    SrPceCapabilityBuilder
    • 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

        default Class<SrPceCapability> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface Tlv
      • isNFlag

        Boolean isNFlag()
        N flag used by a PCC to indicate that it is capable of resolving a NAI to a SID
        Returns:
        java.lang.Boolean nFlag, or null if not present
      • isXFlag

        Boolean isXFlag()
        X flag used by a PCC to indicate that it does not impose any limit to the MSD
        Returns:
        java.lang.Boolean xFlag, or null if not present
      • getMsd

        org.opendaylight.yangtools.yang.common.Uint8 getMsd()
        Maximum SID Depth
        Returns:
        org.opendaylight.yangtools.yang.common.Uint8 msd, or null if not present