45649f6cceee05debd347d903d96b91bc60a3ce4
[bgpcep.git] / pcep / controller-config / src / main / resources / initial / 39-pcep-provider.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:topology:provider?module=config-pcep-topology-provider&amp;revision=2013-11-15</capability>
16         <capability>urn:opendaylight:params:xml:ns:yang:controller:programming:spi?module=config-programming-spi&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:topology:provider">prefix:pcep-topology-stateful02</type>
24                     <name>global</name>
25                 </module>
26                 <module>
27                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider">prefix:pcep-topology-stateful07</type>
28                     <name>global</name>
29                 </module>
30
31                 <module>
32                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider">prefix:pcep-topology-provider</type>
33                     <name>pcep-topology</name>
34                     <data-provider>
35                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-data-broker</type>
36                         <name>binding-data-broker</name>
37                     </data-provider>
38                     <dispatcher>
39                         <type xmlns:pcep="urn:opendaylight:params:xml:ns:yang:controller:pcep">pcep:pcep-dispatcher</type>
40                         <name>global-pcep-dispatcher</name>
41                     </dispatcher>
42                     <rpc-registry>
43                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-rpc-registry</type>
44                         <name>binding-rpc-broker</name>
45                     </rpc-registry>
46                     <scheduler>
47                         <type xmlns:pgmspi="urn:opendaylight:params:xml:ns:yang:controller:programming:spi">pgmspi:instruction-scheduler</type>
48                         <name>global-instruction-scheduler</name>
49                     </scheduler>
50                     <stateful-plugin>
51                         <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider">prefix:pcep-topology-stateful</type>
52                         <name>stateful07</name>
53                     </stateful-plugin>
54                     <topology-id>pcep-topology</topology-id>
55
56                     <!--
57                          For TCP-MD5 support make sure the dispatcher has the "md5-server-channel-factory"
58                          attribute set and then set the appropriate client entries here. Note that if this
59                          option is configured, the PCCs connecting here must have the same password configured,
60                          otherwise they will not be able to connect at all.
61                     <client>
62                         <address>192.0.2.2</address>
63                         <password>changeme</password>
64                     </client>
65                     -->
66                 </module>
67             </modules>
68
69             <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
70                 <service>
71                     <type xmlns:pcep="urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider">pcep:pcep-topology-reference</type>
72                     <instance>
73                         <name>pcep-topology</name>
74                         <provider>/config/modules/module[name='pcep-topology-provider']/instance[name='pcep-topology']</provider>
75                     </instance>
76                 </service>
77                 <service>
78                     <type xmlns:pcep="urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider">pcep:pcep-topology-stateful</type>
79                     <instance>
80                         <name>stateful02</name>
81                         <provider>/config/modules/module[name='pcep-topology-stateful02']/instance[name='global']</provider>
82                     </instance>
83                     <instance>
84                         <name>stateful07</name>
85                         <provider>/config/modules/module[name='pcep-topology-stateful07']/instance[name='global']</provider>
86                     </instance>
87                 </service>
88             </services>
89         </data>
90
91     </configuration>
92 </snapshot>