Merge "Use lambdas to remove references to Function"
[netconf.git] / restconf / sal-rest-connector-config / src / main / resources / initial / 10-rest-connector.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
4
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
8
9 NOTE: This file is deprecated as wiring is now done via blueprint. This file is kept for backwards
10       compatibility and runtime modifications will not be honored.
11 -->
12 <snapshot>
13   <configuration>
14     <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
15       <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
16         <!-- default OF-switch-connection-provider (port 6633) -->
17         <module>
18           <type xmlns:rest="urn:opendaylight:params:xml:ns:yang:controller:md:sal:rest:connector">rest:rest-connector-impl</type>
19           <name>rest-connector-default-impl</name>
20         </module>
21       </modules>
22
23       <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
24         <service>
25           <type xmlns:rest="urn:opendaylight:params:xml:ns:yang:controller:md:sal:rest:connector">rest:rest-connector</type>
26           <instance>
27             <name>rest-connector-default</name>
28             <provider>
29               /modules/module[type='rest-connector-impl'][name='rest-connector-default-impl']
30             </provider>
31           </instance>
32         </service>
33       </services>
34     </data>
35   </configuration>
36   <required-capabilities>
37       <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:rest:connector?module=opendaylight-rest-connector&amp;revision=2014-07-24</capability>
38   </required-capabilities>
39 </snapshot>