6c1ac7076726db2d27960e81b45c56a674b99c5c
[openflowplugin.git] / openflowplugin-controller-config / src / main / resources / initial / 42-openflowplugin-new.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4 Copyright (c) 2014 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         <!-- openflowjava -->
13         <capability>
14             urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider:impl?module=openflow-switch-connection-provider-impl&amp;revision=2014-03-28
15         </capability>
16         <capability>
17             urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider?module=openflow-switch-connection-provider&amp;revision=2014-03-28
18         </capability>
19         <!-- openflowplugin -->
20         <capability>urn:opendaylight:params:xml:ns:yang:config:openflow:plugin:impl?module=openflow-plugin-provider-impl&amp;revision=2015-03-27</capability>
21         <capability>urn:opendaylight:params:xml:ns:yang:openflow:api?module=openflow-provider&amp;revision=2015-03-31</capability>
22         <capability>urn:opendaylight:params:xml:ns:yang:openflowplugin:extension:api?module=openflowplugin-extension-registry&amp;revision=2015-04-25</capability>
23         <!-- binding-broker-impl - provided -->
24     </required-capabilities>
25
26     <configuration>
27
28         <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
29             <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
30                 <!-- default OF-switch-connection-provider (port 6633) -->
31                 <module>
32                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider:impl">
33                         prefix:openflow-switch-connection-provider-impl
34                     </type>
35                     <name>openflow-switch-connection-provider-default-impl</name>
36                     <port>6633</port>
37                     <!--      Possible transport-protocol options: TCP, TLS, UDP -->
38                     <transport-protocol>TCP</transport-protocol>
39                     <switch-idle-timeout>15000</switch-idle-timeout>
40                 </module>
41                 <!-- default OF-switch-connection-provider (port 6653) -->
42                 <module>
43                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider:impl">
44                         prefix:openflow-switch-connection-provider-impl
45                     </type>
46                     <name>openflow-switch-connection-provider-legacy-impl</name>
47                     <port>6653</port>
48                     <!--      Possible transport-protocol options: TCP, TLS, UDP -->
49                     <transport-protocol>TCP</transport-protocol>
50                     <switch-idle-timeout>15000</switch-idle-timeout>
51                 </module>
52
53
54                 <module>
55                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:config:openflow:plugin:impl">
56                         prefix:openflow-plugin-provider-impl
57                     </type>
58                     <name>openflow-plugin-provider-impl</name>
59
60                     <openflow-switch-connection-provider>
61                         <type xmlns:ofSwitch="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider">ofSwitch:openflow-switch-connection-provider</type>
62                         <name>openflow-switch-connection-provider-default</name>
63                     </openflow-switch-connection-provider>
64                     <openflow-switch-connection-provider>
65                         <type xmlns:ofSwitch="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider">ofSwitch:openflow-switch-connection-provider</type>
66                         <name>openflow-switch-connection-provider-legacy</name>
67                     </openflow-switch-connection-provider>
68
69                     <data-broker>
70                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-async-data-broker</type>
71                         <name>pingpong-binding-data-broker</name>
72                     </data-broker>
73                     <rpc-registry>
74                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-rpc-registry</type>
75                         <name>binding-rpc-broker</name>
76                     </rpc-registry>
77                     <notification-adapter>
78                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding:binding-new-notification-service</type>
79                         <name>binding-notification-adapter</name>
80                     </notification-adapter>
81                     <notification-publish-adapter>
82                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding:binding-new-notification-publish-service</type>
83                         <name>binding-notification-publish-adapter</name>
84                     </notification-publish-adapter>
85                     <rpc-requests-quota>20000</rpc-requests-quota>
86                     <switch-features-mandatory>false</switch-features-mandatory>
87                     <global-notification-quota>64000</global-notification-quota>
88                 </module>
89             </modules>
90
91             <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
92                 <service>
93                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider">prefix:openflow-switch-connection-provider</type>
94                     <instance>
95                         <name>openflow-switch-connection-provider-default</name>
96                         <provider>/modules/module[type='openflow-switch-connection-provider-impl'][name='openflow-switch-connection-provider-default-impl']</provider>
97                     </instance>
98                     <instance>
99                         <name>openflow-switch-connection-provider-legacy</name>
100                         <provider>/modules/module[type='openflow-switch-connection-provider-impl'][name='openflow-switch-connection-provider-legacy-impl']</provider>
101                     </instance>
102                 </service>
103                 <service>
104                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:openflow:api">
105                         prefix:openflow-provider
106                     </type>
107                     <instance>
108                         <name>openflow-provider</name>
109                         <provider>
110                             /modules/module[type='openflow-plugin-provider-impl'][name='openflow-plugin-provider-impl']
111                         </provider>
112                     </instance>
113                 </service>
114                 <service>
115                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:openflowplugin:extension:api">prefix:openflow-extension-registry-provider</type>
116                     <instance>
117                         <name>openflow-ext-provider</name>
118                         <provider>
119                             /modules/module[type='openflow-plugin-provider-impl'][name='openflow-plugin-provider-impl']
120                         </provider>
121                     </instance>
122                 </service>
123             </services>
124         </data>
125
126     </configuration>
127 </snapshot>