BUG-5636: making table features configurable for the He plugin.
[openflowplugin.git] / openflowplugin-controller-config / src / main / resources / 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       <capability>urn:opendaylight:params:xml:ns:yang:openflowplugin:extension:api?module=openflowplugin-extension-registry&amp;revision=2015-04-25</capability>
19       <capability>urn:opendaylight:params:xml:ns:yang:controller:config:distributed-entity-ownership-service?module=distributed-entity-ownership-service&amp;revision=2015-08-10</capability>
20     <!-- binding-broker-impl - provided -->
21   </required-capabilities>
22
23   <configuration>
24
25     <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
26       <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
27         <!-- default OF-switch-connection-provider (port 6633) -->
28         <module>
29           <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider:impl">prefix:openflow-switch-connection-provider-impl</type>
30           <name>openflow-switch-connection-provider-default-impl</name>
31           <port>6633</port>
32 <!--      Possible transport-protocol options: TCP, TLS, UDP -->
33           <transport-protocol>TCP</transport-protocol>
34           <switch-idle-timeout>15000</switch-idle-timeout>
35 <!--           Exemplary TLS configuration:
36                 - uncomment the <tls> tag
37                 - copy exemplary-switch-privkey.pem, exemplary-switch-cert.pem and exemplary-cacert.pem
38                   files into your virtual machine
39                 - set VM encryption options to use copied keys
40                 - start communication
41                Please visit OpenflowPlugin or Openflow Protocol Library#Documentation wiki pages
42                for detailed information regarding TLS -->
43 <!--           <tls>
44                  <keystore>/exemplary-ctlKeystore</keystore>
45                  <keystore-type>JKS</keystore-type>
46                  <keystore-path-type>CLASSPATH</keystore-path-type>
47                  <keystore-password>opendaylight</keystore-password>
48                  <truststore>/exemplary-ctlTrustStore</truststore>
49                  <truststore-type>JKS</truststore-type>
50                  <truststore-path-type>CLASSPATH</truststore-path-type>
51                  <truststore-password>opendaylight</truststore-password>
52                  <certificate-password>opendaylight</certificate-password>
53                </tls> -->
54 <!--           Exemplary thread model configuration. Uncomment <threads> tag below to adjust default thread model -->
55 <!--           <threads>
56                  <boss-threads>2</boss-threads>
57                  <worker-threads>8</worker-threads>
58                </threads> -->
59         </module>
60         <!-- default OF-switch-connection-provider (port 6653) -->
61         <module>
62           <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider:impl">prefix:openflow-switch-connection-provider-impl</type>
63           <name>openflow-switch-connection-provider-legacy-impl</name>
64           <port>6653</port>
65 <!--      Possible transport-protocol options: TCP, TLS, UDP -->
66           <transport-protocol>TCP</transport-protocol>
67           <switch-idle-timeout>15000</switch-idle-timeout>
68 <!--           Exemplary TLS configuration:
69                 - uncomment the <tls> tag
70                 - copy exemplary-switch-privkey.pem, exemplary-switch-cert.pem and exemplary-cacert.pem
71                   files into your virtual machine
72                 - set VM encryption options to use copied keys
73                 - start communication
74                Please visit OpenflowPlugin or Openflow Protocol Library#Documentation wiki pages
75                for detailed information regarding TLS -->
76 <!--           <tls>
77                  <keystore>/exemplary-ctlKeystore</keystore>
78                  <keystore-type>JKS</keystore-type>
79                  <keystore-path-type>CLASSPATH</keystore-path-type>
80                  <keystore-password>opendaylight</keystore-password>
81                  <truststore>/exemplary-ctlTrustStore</truststore>
82                  <truststore-type>JKS</truststore-type>
83                  <truststore-path-type>CLASSPATH</truststore-path-type>
84                  <truststore-password>opendaylight</truststore-password>
85                  <certificate-password>opendaylight</certificate-password>
86                </tls> -->
87 <!--           Exemplary thread model configuration. Uncomment <threads> tag below to adjust default thread model -->
88 <!--           <threads>
89                  <boss-threads>2</boss-threads>
90                  <worker-threads>8</worker-threads>
91                </threads> -->
92         </module>
93
94
95         <module>
96           <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:openflow:common:config:impl">prefix:openflow-provider-impl</type>
97           <name>openflow-provider-impl</name>
98
99           <openflow-switch-connection-provider>
100             <type xmlns:ofSwitch="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider">ofSwitch:openflow-switch-connection-provider</type>
101             <name>openflow-switch-connection-provider-default</name>
102           </openflow-switch-connection-provider>
103           <openflow-switch-connection-provider>
104             <type xmlns:ofSwitch="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider">ofSwitch:openflow-switch-connection-provider</type>
105             <name>openflow-switch-connection-provider-legacy</name>
106           </openflow-switch-connection-provider>
107
108             <data-broker>
109                 <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-async-data-broker</type>
110                 <name>pingpong-binding-data-broker</name>
111             </data-broker>
112             <rpc-registry>
113                 <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-rpc-registry</type>
114                 <name>binding-rpc-broker</name>
115             </rpc-registry>
116             <notification-service>
117                 <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-notification-service</type>
118                 <name>binding-notification-broker</name>
119             </notification-service>
120             <ownership-service>
121                 <type xmlns:entity-ownership="urn:opendaylight:params:xml:ns:yang:controller:md:sal:core:spi:entity-ownership-service">entity-ownership:entity-ownership-service</type>
122                 <name>entity-ownership-service</name>
123             </ownership-service>
124
125           <!-- openflowplugin configuraion -->
126           <skip-table-features>false</skip-table-features>
127
128         </module>
129       </modules>
130
131       <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
132         <service>
133           <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider">prefix:openflow-switch-connection-provider</type>
134           <instance>
135             <name>openflow-switch-connection-provider-default</name>
136             <provider>/modules/module[type='openflow-switch-connection-provider-impl'][name='openflow-switch-connection-provider-default-impl']</provider>
137           </instance>
138           <instance>
139             <name>openflow-switch-connection-provider-legacy</name>
140             <provider>/modules/module[type='openflow-switch-connection-provider-impl'][name='openflow-switch-connection-provider-legacy-impl']</provider>
141           </instance>
142         </service>
143
144         <service>
145           <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:openflow:common:config">prefix:openflow-provider</type>
146           <instance>
147             <name>openflow-provider</name>
148             <provider>/modules/module[type='openflow-provider-impl'][name='openflow-provider-impl']</provider>
149           </instance>
150         </service>
151
152           <service>
153               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:openflowplugin:extension:api">prefix:openflow-extension-registry-provider</type>
154               <instance>
155                   <name>openflow-ext-provider</name>
156                   <provider>/modules/module[type='openflow-provider-impl'][name='openflow-provider-impl']</provider>
157               </instance>
158           </service>
159       </services>
160     </data>
161
162   </configuration>
163 </snapshot>