BUG-6890: Statistics-polling configuration
[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 NOTE: This file is deprecated as wiring is now done via blueprint. This file is kept for
11        backwards compatibility. Runtime modifications are not honored.
12 -->
13 <snapshot>
14     <required-capabilities>
15         <!-- openflowjava -->
16         <capability>
17             urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider:impl?module=openflow-switch-connection-provider-impl&amp;revision=2014-03-28
18         </capability>
19         <capability>
20             urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider?module=openflow-switch-connection-provider&amp;revision=2014-03-28
21         </capability>
22         <!-- openflowplugin -->
23         <capability>urn:opendaylight:params:xml:ns:yang:config:openflow:plugin:impl?module=openflow-plugin-provider-impl&amp;revision=2015-03-27</capability>
24         <capability>urn:opendaylight:params:xml:ns:yang:openflow:api?module=openflow-provider&amp;revision=2015-03-31</capability>
25         <capability>urn:opendaylight:params:xml:ns:yang:openflowplugin:extension:api?module=openflowplugin-extension-registry&amp;revision=2015-04-25</capability>
26         <!-- binding-broker-impl - provided -->
27     </required-capabilities>
28
29     <configuration>
30
31         <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
32             <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
33                 <!-- default OF-switch-connection-provider (port 6633) -->
34                 <module>
35                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider:impl">
36                         prefix:openflow-switch-connection-provider-impl
37                     </type>
38                     <name>openflow-switch-connection-provider-default-impl</name>
39                     <port>6633</port>
40                     <!--      Possible transport-protocol options: TCP, TLS, UDP -->
41                     <transport-protocol>TCP</transport-protocol>
42                     <switch-idle-timeout>15000</switch-idle-timeout>
43                 </module>
44                 <!-- default OF-switch-connection-provider (port 6653) -->
45                 <module>
46                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider:impl">
47                         prefix:openflow-switch-connection-provider-impl
48                     </type>
49                     <name>openflow-switch-connection-provider-legacy-impl</name>
50                     <port>6653</port>
51                     <!--      Possible transport-protocol options: TCP, TLS, UDP -->
52                     <transport-protocol>TCP</transport-protocol>
53                     <switch-idle-timeout>15000</switch-idle-timeout>
54                 </module>
55
56
57                 <module>
58                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:config:openflow:plugin:impl">
59                         prefix:openflow-plugin-provider-impl
60                     </type>
61                     <name>openflow-plugin-provider-impl</name>
62
63                     <openflow-switch-connection-provider>
64                         <type xmlns:ofSwitch="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider">ofSwitch:openflow-switch-connection-provider</type>
65                         <name>openflow-switch-connection-provider-default</name>
66                     </openflow-switch-connection-provider>
67                     <openflow-switch-connection-provider>
68                         <type xmlns:ofSwitch="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider">ofSwitch:openflow-switch-connection-provider</type>
69                         <name>openflow-switch-connection-provider-legacy</name>
70                     </openflow-switch-connection-provider>
71
72                     <data-broker>
73                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-async-data-broker</type>
74                         <name>pingpong-binding-data-broker</name>
75                     </data-broker>
76                     <rpc-registry>
77                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-rpc-registry</type>
78                         <name>binding-rpc-broker</name>
79                     </rpc-registry>
80                     <notification-adapter>
81                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding:binding-new-notification-service</type>
82                         <name>binding-notification-adapter</name>
83                     </notification-adapter>
84                     <notification-publish-adapter>
85                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding:binding-new-notification-publish-service</type>
86                         <name>binding-notification-publish-adapter</name>
87                     </notification-publish-adapter>
88                     <entity-ownership-service>
89                         <type xmlns:entity-ownership="urn:opendaylight:params:xml:ns:yang:controller:md:sal:core:spi:entity-ownership-service">entity-ownership:entity-ownership-service</type>
90                         <name>entity-ownership-service</name>
91                     </entity-ownership-service>
92                     <rpc-requests-quota>20000</rpc-requests-quota>
93                     <switch-features-mandatory>false</switch-features-mandatory>
94                     <global-notification-quota>64000</global-notification-quota>
95                     <is-statistics-polling-on>true</is-statistics-polling-on>
96                     <barrier-interval-timeout-limit>500</barrier-interval-timeout-limit>
97                     <barrier-count-limit>25600</barrier-count-limit>
98                     <echo-reply-timeout>2000</echo-reply-timeout>
99                 </module>
100             </modules>
101
102             <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
103                 <service>
104                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider">prefix:openflow-switch-connection-provider</type>
105                     <instance>
106                         <name>openflow-switch-connection-provider-default</name>
107                         <provider>/modules/module[type='openflow-switch-connection-provider-impl'][name='openflow-switch-connection-provider-default-impl']</provider>
108                     </instance>
109                     <instance>
110                         <name>openflow-switch-connection-provider-legacy</name>
111                         <provider>/modules/module[type='openflow-switch-connection-provider-impl'][name='openflow-switch-connection-provider-legacy-impl']</provider>
112                     </instance>
113                 </service>
114                 <service>
115                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:openflow:api">
116                         prefix:openflow-provider
117                     </type>
118                     <instance>
119                         <name>openflow-provider</name>
120                         <provider>
121                             /modules/module[type='openflow-plugin-provider-impl'][name='openflow-plugin-provider-impl']
122                         </provider>
123                     </instance>
124                 </service>
125                 <service>
126                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:openflowplugin:extension:api">prefix:openflow-extension-registry-provider</type>
127                     <instance>
128                         <name>openflow-ext-provider</name>
129                         <provider>
130                             /modules/module[type='openflow-plugin-provider-impl'][name='openflow-plugin-provider-impl']
131                         </provider>
132                     </instance>
133                 </service>
134             </services>
135         </data>
136
137     </configuration>
138 </snapshot>