Convert PCEP session capabilities to blueprint
[bgpcep.git] / pcep / controller-config / src / main / resources / initial / 32-pcep.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4       Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <snapshot>
11     <required-capabilities>
12         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding?module=opendaylight-md-sal-binding&amp;revision=2013-10-28</capability>
13         <capability>urn:opendaylight:params:xml:ns:yang:controller:netty?module=netty&amp;revision=2013-11-19</capability>
14         <capability>urn:opendaylight:params:xml:ns:yang:controller:pcep:impl?module=odl-pcep-impl-cfg&amp;revision=2013-06-27</capability>
15         <capability>urn:opendaylight:params:xml:ns:yang:controller:pcep:spi?module=odl-pcep-spi-cfg&amp;revision=2013-11-15</capability>
16         <capability>urn:opendaylight:params:xml:ns:yang:controller:programming:spi?module=odl-programming-spi-cfg&amp;revision=2013-11-15</capability>
17     </required-capabilities>
18     <configuration>
19
20         <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
21             <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
22                 <module>
23                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:pcep:spi">prefix:pcep-extensions-impl</type>
24                     <name>global-pcep-extensions</name>
25                 </module>
26                 <module>
27                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:pcep:impl">prefix:pcep-session-proposal-factory-impl</type>
28                     <name>global-pcep-session-proposal-factory</name>
29                 </module>
30                 <module>
31                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:pcep:impl">prefix:pcep-dispatcher-impl</type>
32                     <name>global-pcep-dispatcher</name>
33                     <pcep-extensions>
34                         <type xmlns:pcepspi="urn:opendaylight:params:xml:ns:yang:controller:pcep:spi">pcepspi:extensions</type>
35                         <name>global-pcep-extensions</name>
36                     </pcep-extensions>
37                     <pcep-session-proposal-factory>
38                         <type xmlns:pcep="urn:opendaylight:params:xml:ns:yang:controller:pcep">pcep:pcep-session-proposal-factory</type>
39                         <name>global-pcep-session-proposal-factory</name>
40                     </pcep-session-proposal-factory>
41                     <boss-group>
42                         <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty">netty:netty-threadgroup</type>
43                         <name>global-boss-group</name>
44                     </boss-group>
45                     <worker-group>
46                         <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty">netty:netty-threadgroup</type>
47                         <name>global-worker-group</name>
48                     </worker-group>
49                     <!--
50                         Uncomment this block to enable PCEPS TLS communication. Change example values as needed.
51                     <tls>
52                        <keystore>configuration/ctl.jks</keystore>
53                        <keystore-type>JKS</keystore-type>
54                        <keystore-path-type>PATH</keystore-path-type>
55                        <keystore-password>opendaylight</keystore-password>
56                        <truststore>configuration/truststore.jks</truststore>
57                        <truststore-type>JKS</truststore-type>
58                        <truststore-path-type>PATH</truststore-path-type>
59                        <truststore-password>opendaylight</truststore-password>
60                        <certificate-password>opendaylight</certificate-password>
61                      </tls>
62                      -->
63                 </module>
64             </modules>
65
66             <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
67                 <service>
68                     <type xmlns:pcepspi="urn:opendaylight:params:xml:ns:yang:controller:pcep:spi">pcepspi:extensions</type>
69                     <instance>
70                         <name>global-pcep-extensions</name>
71                         <provider>/config/modules/module[name='pcep-extensions-impl']/instance[name='global-pcep-extensions']</provider>
72                     </instance>
73                 </service>
74                 <service>
75                     <type xmlns:pcep="urn:opendaylight:params:xml:ns:yang:controller:pcep">pcep:pcep-dispatcher</type>
76                     <instance>
77                         <name>global-pcep-dispatcher</name>
78                         <provider>/config/modules/module[name='pcep-dispatcher-impl']/instance[name='global-pcep-dispatcher']</provider>
79                     </instance>
80                 </service>
81                 <service>
82                     <type xmlns:pcep="urn:opendaylight:params:xml:ns:yang:controller:pcep">pcep:pcep-session-proposal-factory</type>
83                     <instance>
84                         <name>global-pcep-session-proposal-factory</name>
85                         <provider>/config/modules/module[name='pcep-session-proposal-factory-impl']/instance[name='global-pcep-session-proposal-factory']</provider>
86                     </instance>
87                 </service>
88             </services>
89         </data>
90
91     </configuration>
92 </snapshot>