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 Summary
Modifier and TypeMethodDescriptionReturn pcepDispatcherConfig, ornullif it is not present.Return pcepSessionConfig, ornullif it is not present.
-
Method Details
-
getPcepSessionConfig
PcepSessionConfig getPcepSessionConfig()Return pcepSessionConfig, ornullif it is not present.- Returns:
PcepSessionConfigpcepSessionConfig, ornullif it is not present.
-
getPcepDispatcherConfig
PcepDispatcherConfig getPcepDispatcherConfig()Return pcepDispatcherConfig, ornullif it is not present.- Returns:
PcepDispatcherConfigpcepDispatcherConfig, ornullif it is not present.
-