Pull in the NXM extension infrastructure support into ovsdb distribution
[ovsdb.git] / distribution / opendaylight / src / main / resources / configuration / initial / 42-openflowplugin.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>urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider:impl?module=openflow-switch-connection-provider-impl&amp;revision=2014-03-28</capability>
14     <capability>urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider?module=openflow-switch-connection-provider&amp;revision=2014-03-28</capability>
15     <!-- openflowplugin -->
16     <capability>urn:opendaylight:params:xml:ns:yang:openflow:common:config:impl?module=openflow-provider-impl&amp;revision=2014-03-26</capability>
17     <capability>urn:opendaylight:params:xml:ns:yang:openflow:common:config?module=openflow-provider&amp;revision=2014-03-26</capability>
18     <!-- binding-broker-impl - provided -->
19   </required-capabilities>
20
21   <configuration>
22
23     <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
24       <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
25         <!-- default OF-switch-connection-provider (port 6633) -->
26         <module>
27           <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider:impl">prefix:openflow-switch-connection-provider-impl</type>
28           <name>openflow-switch-connection-provider-default-impl</name>
29           <port>6633</port>
30           <switch-idle-timeout>15000</switch-idle-timeout>
31 <!--           Exemplary TLS configuration:
32                 - uncomment the <tls> tag
33                 - copy exemplary-switch-privkey.pem, exemplary-switch-cert.pem and exemplary-cacert.pem
34                   files into your virtual machine
35                 - set VM encryption options to use copied keys
36                 - start communication
37                Please visit OpenflowPlugin or Openflow Protocol Library#Documentation wiki pages
38                for detailed information regarding TLS -->
39 <!--           <tls>
40                  <keystore>/exemplary-ctlKeystore</keystore>
41                  <keystore-type>JKS</keystore-type>
42                  <keystore-path-type>CLASSPATH</keystore-path-type>
43                  <keystore-password>opendaylight</keystore-password>
44                  <truststore>/exemplary-ctlTrustStore</truststore>
45                  <truststore-type>JKS</truststore-type>
46                  <truststore-path-type>CLASSPATH</truststore-path-type>
47                  <truststore-password>opendaylight</truststore-password>
48                  <certificate-password>opendaylight</certificate-password>
49                </tls> -->
50         </module>
51         <!-- default OF-switch-connection-provider (port 6653) -->
52         <module>
53           <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider:impl">prefix:openflow-switch-connection-provider-impl</type>
54           <name>openflow-switch-connection-provider-legacy-impl</name>
55           <port>6653</port>
56           <switch-idle-timeout>15000</switch-idle-timeout>
57 <!--           Exemplary TLS configuration:
58                 - uncomment the <tls> tag
59                 - copy exemplary-switch-privkey.pem, exemplary-switch-cert.pem and exemplary-cacert.pem
60                   files into your virtual machine
61                 - set VM encryption options to use copied keys
62                 - start communication
63                Please visit OpenflowPlugin or Openflow Protocol Library#Documentation wiki pages
64                for detailed information regarding TLS -->
65 <!--           <tls>
66                  <keystore>/exemplary-ctlKeystore</keystore>
67                  <keystore-type>JKS</keystore-type>
68                  <keystore-path-type>CLASSPATH</keystore-path-type>
69                  <keystore-password>opendaylight</keystore-password>
70                  <truststore>/exemplary-ctlTrustStore</truststore>
71                  <truststore-type>JKS</truststore-type>
72                  <truststore-path-type>CLASSPATH</truststore-path-type>
73                  <truststore-password>opendaylight</truststore-password>
74                  <certificate-password>opendaylight</certificate-password>
75                </tls> -->
76         </module>
77
78
79         <module>
80           <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:openflow:common:config:impl">prefix:openflow-provider-impl</type>
81           <name>openflow-provider-impl</name>
82           
83           <openflow-switch-connection-provider>
84             <type xmlns:ofSwitch="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider">ofSwitch:openflow-switch-connection-provider</type>
85             <name>openflow-switch-connection-provider-default</name>
86           </openflow-switch-connection-provider>
87           <openflow-switch-connection-provider>
88             <type xmlns:ofSwitch="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider">ofSwitch:openflow-switch-connection-provider</type>
89             <name>openflow-switch-connection-provider-legacy</name>
90           </openflow-switch-connection-provider>
91
92
93           <binding-aware-broker>
94             <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-broker-osgi-registry</type>
95             <name>binding-osgi-broker</name>
96           </binding-aware-broker>
97         </module>
98       </modules>
99
100       <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
101         <service>
102           <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider">prefix:openflow-switch-connection-provider</type>
103           <instance>
104             <name>openflow-switch-connection-provider-default</name>
105             <provider>/modules/module[type='openflow-switch-connection-provider-impl'][name='openflow-switch-connection-provider-default-impl']</provider>
106           </instance>
107           <instance>
108             <name>openflow-switch-connection-provider-legacy</name>
109             <provider>/modules/module[type='openflow-switch-connection-provider-impl'][name='openflow-switch-connection-provider-legacy-impl']</provider>
110           </instance>
111         </service>
112
113         <service>
114           <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:openflow:common:config">prefix:openflow-provider</type>
115           <instance>
116             <name>openflow-provider</name>
117             <provider>/modules/module[type='openflow-provider-impl'][name='openflow-provider-impl']</provider>
118           </instance>
119         </service>
120       </services>
121     </data>
122
123   </configuration>
124 </snapshot>