Interface PccConfiguredLsp

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    PathComputationClient1, PcepNodeConfig

    @Generated("mdsal-binding-generator")
    public interface PccConfiguredLsp
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Configured LSP per PCC node

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

     grouping pcc-configured-lsp {
       list configured-lsp {
         key name;
         leaf name {
           type string;
         }
         leaf path-status {
           type path-status;
           config false;
         }
         container intended-path {
           leaf source {
             type inet:ip-address;
           }
           leaf destination {
             type inet:ip-address;
           }
           container constraints {
             uses algo:path-constraints;
           }
         }
         container computed-path {
           uses algo:path-descriptions;
           leaf computed-metric {
             type uint32;
           }
           leaf computation-status {
             type algo:computation-status;
           }
           config false;
         }
       }
     }
     
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
        YANG identifier of the statement represented by this class.
    • Method Detail

      • implementedInterface

        Class<? extends PccConfiguredLsp> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getConfiguredLsp

        @Nullable Map<ConfiguredLspKey,​ConfiguredLsp> getConfiguredLsp()
        Return configuredLsp, or null if it is not present.
             
                 List of Configured LSP per PCC
             
         
        Returns:
        Map<ConfiguredLspKey, ConfiguredLsp> configuredLsp, or null if it is not present.
      • nonnullConfiguredLsp

        default @NonNull Map<ConfiguredLspKey,​ConfiguredLsp> nonnullConfiguredLsp()
        Return configuredLsp, or an empty list if it is not present.
        Returns:
        Map<ConfiguredLspKey, ConfiguredLsp> configuredLsp, or an empty list if it is not present.