All Superinterfaces:
BandwidthObject, org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.BindingObject, ClasstypeObject, org.opendaylight.yangtools.binding.DataContainer, ExcludeRouteObject, org.opendaylight.yangtools.binding.Grouping, IncludeRouteObject, LspaObject, OfObject, ReoptimizationBandwidthObject, ReportedRouteObject
All Known Subinterfaces:
Arguments, Arguments, FailureCase, P2p, Path, Path, Path, PathDefinition, Paths, Requests

@Generated("mdsal-binding-generator") public interface LspAttributes extends org.opendaylight.yangtools.binding.Grouping, LspaObject, BandwidthObject, ReoptimizationBandwidthObject, IncludeRouteObject, ReportedRouteObject, ExcludeRouteObject, OfObject, ClasstypeObject

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

 grouping lsp-attributes {
   uses lspa-object;
   uses bandwidth-object;
   uses reoptimization-bandwidth-object;
   list metrics {
     uses metric-object;
   }
   uses include-route-object;
   uses reported-route-object;
   uses exclude-route-object;
   uses of-object;
   uses classtype-object;
 }
 
  • Method Details

    • getMetrics

      @Nullable List<Metrics> getMetrics()
      Return metrics, or null if it is not present.
      Returns:
      List<Metrics> metrics, or null if it is not present.
    • nonnullMetrics

      default @NonNull List<Metrics> nonnullMetrics()
      Return metrics, or an empty list if it is not present.
      Returns:
      List<Metrics> metrics, or an empty list if it is not present.