Interface PcrepMessage

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<PcrepMessage>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<PcrepMessage>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, MessageHeader

    public interface PcrepMessage
    extends org.opendaylight.yangtools.yang.binding.ChildOf<PcrepMessage>, org.opendaylight.yangtools.yang.binding.Augmentable<PcrepMessage>, MessageHeader
    Path Computation Reply Message

    This class represents the following YANG schema fragment defined in module pcep-types

     container pcrep-message {
       uses message-header;
       list replies {
         uses rp-object;
         uses vendor-information-objects;
         uses monitoring;
         uses monitoring-metrics;
         choice result {
           case success-case {
             container success {
               list paths {
                 uses path-definition;
               }
               uses vendor-information-objects;
             }
           }
           case failure-case {
             container no-path {
               uses no-path-object;
               container tlvs {
                 uses vendor-information-tlvs;
                 container no-path-vector {
                   uses no-path-vector-tlv;
                 }
               }
             }
             uses lsp-attributes;
           }
         }
       }
     }
     
    The schema path to identify an instance is pcep-types/pcrep-message/pcrep-message

    To create instances of this class use PcrepMessageBuilder.

    See Also:
    PcrepMessageBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<PcrepMessage> 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 MessageHeader
      • getReplies

        @Nullable List<Replies> getReplies()
        Returns:
        java.util.List replies, or null if not present
      • nonnullReplies

        default @NonNull List<Replies> nonnullReplies()
        Returns:
        java.util.List replies, or an empty list if it is not present