added feature odl-openflowplugin-new-southbound
[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         <!-- binding-broker-impl - provided -->
23     </required-capabilities>
24
25     <configuration>
26
27         <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
28             <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
29                 <!-- default OF-switch-connection-provider (port 6633) -->
30                 <module>
31                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider:impl">
32                         prefix:openflow-switch-connection-provider-impl
33                     </type>
34                     <name>openflow-switch-connection-provider-default-impl</name>
35                     <port>6633</port>
36                     <!--      Possible transport-protocol options: TCP, TLS, UDP -->
37                     <transport-protocol>TCP</transport-protocol>
38                     <switch-idle-timeout>15000</switch-idle-timeout>
39                 </module>
40                 <!-- default OF-switch-connection-provider (port 6653) -->
41                 <module>
42                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider:impl">
43                         prefix:openflow-switch-connection-provider-impl
44                     </type>
45                     <name>openflow-switch-connection-provider-legacy-impl</name>
46                     <port>6653</port>
47                     <!--      Possible transport-protocol options: TCP, TLS, UDP -->
48                     <transport-protocol>TCP</transport-protocol>
49                     <switch-idle-timeout>15000</switch-idle-timeout>
50                 </module>
51
52
53                 <module>
54                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:config:openflow:plugin:impl">
55                         prefix:openflow-plugin-provider-impl
56                     </type>
57                     <name>openflow-plugin-provider-impl</name>
58
59                     <openflow-switch-connection-provider>
60                         <type xmlns:ofSwitch="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider">ofSwitch:openflow-switch-connection-provider</type>
61                         <name>openflow-switch-connection-provider-default</name>
62                     </openflow-switch-connection-provider>
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-legacy</name>
66                     </openflow-switch-connection-provider>
67
68                     <binding-aware-broker>
69                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">
70                             binding:binding-broker-osgi-registry
71                         </type>
72                         <name>binding-osgi-broker</name>
73                     </binding-aware-broker>
74                 </module>
75             </modules>
76
77             <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
78                 <service>
79                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider">prefix:openflow-switch-connection-provider</type>
80                     <instance>
81                         <name>openflow-switch-connection-provider-default</name>
82                         <provider>/modules/module[type='openflow-switch-connection-provider-impl'][name='openflow-switch-connection-provider-default-impl']</provider>
83                     </instance>
84                     <instance>
85                         <name>openflow-switch-connection-provider-legacy</name>
86                         <provider>/modules/module[type='openflow-switch-connection-provider-impl'][name='openflow-switch-connection-provider-legacy-impl']</provider>
87                     </instance>
88                 </service>
89                 <service>
90                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:openflow:api">
91                         prefix:openflow-provider
92                     </type>
93                     <instance>
94                         <name>openflow-provider</name>
95                         <provider>
96                             /modules/module[type='openflow-plugin-provider-impl'][name='openflow-plugin-provider-impl']
97                         </provider>
98                     </instance>
99                 </service>
100             </services>
101         </data>
102
103     </configuration>
104 </snapshot>