Add blueprint wiring for restconf connector
[netconf.git] / restconf / sal-rest-connector / src / main / yang / sal-restconf-service.yang
1 module sal-restconf-service {
2     yang-version 1;
3     namespace "urn:opendaylight:params:xml:ns:yang:controller:sal:restconf:service";
4     prefix "sal-restconf-service";
5
6     import config { prefix config; revision-date 2013-04-05; }
7
8     description "Definition for the internal restconf service";
9
10     revision "2015-07-08" {
11         description "Initial revision";
12     }
13
14     identity json-restconf-service {
15         status deprecated;
16         base "config:service-type";
17         config:java-class "org.opendaylight.netconf.sal.restconf.api.JSONRestconfService";
18         config:disable-osgi-service-registration;
19     }
20
21     identity json-restconf-service-impl {
22         status deprecated;
23         base config:module-type;
24         config:provided-service json-restconf-service;
25         config:java-name-prefix JSONRestconfService;
26     }
27
28     augment "/config:modules/config:module/config:configuration" {
29         case json-restconf-service-impl {
30             when "/config:modules/config:module/config:type = 'json-restconf-service-impl'";
31         }
32     }
33 }