12761959b26db9eed424d19b1cb01cd398dcc1a3
[openflowjava.git] / openflowjava-config / src / main / resources / 45-openflowjava-stats.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->\r
3 <!--\r
4 Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
5 \r
6 This program and the accompanying materials are made available under the\r
7 terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
8 and is available at http://www.eclipse.org/legal/epl-v10.html\r
9 -->\r
10 <snapshot>\r
11   <required-capabilities>\r
12     <!-- openflowjava -->\r
13     <capability>urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider:impl?module=openflow-switch-connection-provider-impl&amp;revision=2014-03-28</capability>\r
14     <capability>urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider?module=openflow-switch-connection-provider&amp;revision=2014-03-28</capability>\r
15   </required-capabilities>\r
16 \r
17   <configuration>\r
18 \r
19     <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">\r
20       <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">\r
21         <module>\r
22             <type xmlns:stats="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider:impl">stats:statistics-collection-service-impl</type>\r
23             <name>statistics-collection-service-impl</name>\r
24             <statistics>\r
25                 <statistics-collect>true</statistics-collect>\r
26                 <log-report-delay>10000</log-report-delay>\r
27             </statistics>\r
28             <openflow-switch-connection-provider>\r
29                 <type xmlns:ofSwitch="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider">ofSwitch:openflow-switch-connection-provider</type>\r
30                 <name>openflow-switch-connection-provider-default</name>\r
31             </openflow-switch-connection-provider>\r
32             <openflow-switch-connection-provider>\r
33                 <type xmlns:ofSwitch="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider">ofSwitch:openflow-switch-connection-provider</type>\r
34                 <name>openflow-switch-connection-provider-legacy</name>\r
35             </openflow-switch-connection-provider>\r
36         </module>\r
37       </modules>\r
38     </data>\r
39 \r
40   </configuration>\r
41 </snapshot>