5863a159287affeb3aa91efb7f40cc46bc58076c
[netconf.git] / restconf / sal-rest-connector-config / src / main / resources / initial / 10-restconf-service.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2015 Brocade Communications 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 <snapshot>
10   <configuration>
11     <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
12       <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
13         <module>
14           <type xmlns:rest="urn:opendaylight:params:xml:ns:yang:controller:sal:restconf:service">rest:json-restconf-service-impl</type>
15           <name>json-restconf-service-impl</name>
16         </module>
17       </modules>
18
19       <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
20         <service>
21           <type xmlns:rest="urn:opendaylight:params:xml:ns:yang:controller:sal:restconf:service">rest:json-restconf-service</type>
22           <instance>
23             <name>json-restconf-service</name>
24             <provider>
25               /modules/module[type='json-restconf-service-impl'][name='json-restconf-service-impl']
26             </provider>
27           </instance>
28         </service>
29       </services>
30     </data>
31   </configuration>
32   <required-capabilities>
33     <capability>urn:opendaylight:params:xml:ns:yang:controller:sal:restconf:service?module=sal-restconf-service&amp;revision=2015-07-08</capability>
34     <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:rest:connector?module=opendaylight-rest-connector&amp;revision=2014-07-24</capability>
35   </required-capabilities>
36 </snapshot>