Interface ReportedLsp

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<ReportedLsp>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<PathComputationClient>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<ReportedLspKey>, LspMetadata

    public interface ReportedLsp
    extends org.opendaylight.yangtools.yang.binding.ChildOf<PathComputationClient>, org.opendaylight.yangtools.yang.binding.Augmentable<ReportedLsp>, LspMetadata, org.opendaylight.yangtools.yang.binding.Identifiable<ReportedLspKey>

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

     list reported-lsp {
       leaf name {
         type string;
       }
       key name;
       list path {
         leaf lsp-id {
           type rsvp:lsp-id;
         }
         key lsp-id;
         uses pcep:path-definition;
       }
       uses lsp-metadata;
     }
     
    The schema path to identify an instance is network-topology-pcep/pcep-client-attributes/path-computation-client/reported-lsp

    To create instances of this class use ReportedLspBuilder.

    See Also:
    ReportedLspBuilder, ReportedLspKey
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<ReportedLsp> 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 LspMetadata
      • getName

        @Nullable String getName()
        Returns:
        java.lang.String name, or null if not present
      • getPath

        @Nullable List<Path> getPath()
        Returns:
        java.util.List path, or null if not present
      • nonnullPath

        default @NonNull List<Path> nonnullPath()
        Returns:
        java.util.List path, or an empty list if it is not present