Interface PcepAppConfigData

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.DataRoot

    @Generated("mdsal-binding-generator")
    public interface PcepAppConfigData
    extends org.opendaylight.yangtools.yang.binding.DataRoot
    Configuration for the PCEP implementation.

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

     module pcep-app-config {
       yang-version 1;
       namespace urn:opendaylight:params:xml:ns:yang:controller:pcep:app-config;
       prefix pcep-app-config;
       revision 2016-07-07 {
       }
       container pcep-session-config {
         leaf dead-timer-value {
           type uint16;
           default 120;
         }
         leaf keep-alive-timer-value {
           type uint16;
           default 30;
         }
       }
       typedef path-type {
         type enumeration {
           enum PATH;
           enum CLASSPATH;
         }
       }
       typedef store-type {
         type enumeration {
           enum JKS;
           enum PKCS12;
         }
       }
       container pcep-dispatcher-config {
         leaf max-unknown-messages {
           type uint16 {
             range 1..max;
           }
           default 5;
         }
         container tls {
           presence true;
           leaf keystore {
             type string;
           }
           leaf keystore-type {
             type store-type;
           }
           leaf keystore-path-type {
             type path-type;
           }
           leaf keystore-password {
             type string;
           }
           leaf certificate-password {
             type string;
           }
           leaf truststore {
             type string;
           }
           leaf truststore-type {
             type store-type;
           }
           leaf truststore-path-type {
             type path-type;
           }
           leaf truststore-password {
             type string;
           }
         }
       }
     }
     
    • Method Detail

      • getPcepSessionConfig

        PcepSessionConfig getPcepSessionConfig()
        Return pcepSessionConfig, or null if it is not present.
        Returns:
        PcepSessionConfig pcepSessionConfig, or null if it is not present.
      • getPcepDispatcherConfig

        PcepDispatcherConfig getPcepDispatcherConfig()
        Return pcepDispatcherConfig, or null if it is not present.
        Returns:
        PcepDispatcherConfig pcepDispatcherConfig, or null if it is not present.