1 // vi: set smarttab et sw=4 tabstop=4:
2 module odl-pcep-impl-cfg {
4 namespace "urn:opendaylight:params:xml:ns:yang:controller:pcep:impl";
7 import config { prefix config; revision-date 2013-04-05; }
8 import odl-pcep-api-cfg { prefix pcep; revision-date 2013-04-09; }
9 import odl-pcep-spi-cfg { prefix spi; revision-date 2013-11-15; }
10 import netty { prefix netty; revision-date 2013-11-19; }
11 import odl-tcpmd5-netty-cfg { prefix tcpmd5; revision-date 2014-04-27; }
13 organization "Cisco Systems, Inc.";
15 contact "Robert Varga <rovarga@cisco.com>";
18 "This module contains the base YANG definitions for
21 Copyright (c)2013 Cisco Systems, Inc. All rights reserved.;
23 This program and the accompanying materials are made available
24 under the terms of the Eclipse Public License v1.0 which
25 accompanies this distribution, and is available at
26 http://www.eclipse.org/legal/epl-v10.html";
28 revision "2013-06-27" {
30 "Updated revision dates for imports.";
33 revision "2013-04-09" {
52 identity pcep-parser-base {
53 base config:module-type;
54 config:provided-service spi:extension;
55 config:java-name-prefix BasePCEPParser;
58 augment "/config:modules/config:module/config:configuration" {
59 case pcep-parser-base {
60 when "/config:modules/config:module/config:type = 'pcep-parser-base'";
64 identity pcep-dispatcher-impl {
65 base config:module-type;
66 config:provided-service pcep:pcep-dispatcher;
67 config:java-name-prefix PCEPDispatcherImpl;
70 augment "/config:modules/config:module/config:configuration" {
71 case pcep-dispatcher-impl {
72 when "/config:modules/config:module/config:type = 'pcep-dispatcher-impl'";
74 leaf max-unknown-messages {
79 container pcep-extensions {
80 uses config:service-ref {
83 config:required-identity spi:consumer-extensions;
88 container pcep-session-proposal-factory {
89 uses config:service-ref {
92 config:required-identity pcep:pcep-session-proposal-factory;
97 container boss-group {
98 uses config:service-ref {
101 config:required-identity netty:netty-threadgroup;
106 container worker-group {
107 uses config:service-ref {
110 config:required-identity netty:netty-threadgroup;
115 container md5-channel-factory {
116 uses config:service-ref {
119 config:required-identity tcpmd5:md5-channel-factory;
124 container md5-server-channel-factory {
125 uses config:service-ref {
128 config:required-identity tcpmd5:md5-server-channel-factory;
135 description "keystore location";
140 description "keystore type (JKS or PKCS12)";
144 leaf keystore-path-type {
145 description "keystore path type (CLASSPATH or PATH)";
149 leaf keystore-password {
150 description "password protecting keystore";
154 leaf certificate-password {
155 description "password protecting certificate";
160 description "truststore location";
164 leaf truststore-type {
165 description "truststore type (JKS or PKCS12)";
169 leaf truststore-path-type {
170 description "truststore path type (CLASSPATH or PATH)";
174 leaf truststore-password {
175 description "password protecting truststore";
183 identity pcep-session-proposal-factory-impl {
184 base config:module-type;
185 config:java-name-prefix "PCEPSessionProposalFactoryImpl";
186 config:provided-service pcep:pcep-session-proposal-factory;
189 augment "/config:modules/config:module/config:configuration" {
190 case pcep-session-proposal-factory-impl {
191 when "/config:modules/config:module/config:type = 'pcep-session-proposal-factory-impl'";
193 leaf dead-timer-value {
198 leaf keep-alive-timer-value {