Add blueprint wiring for netconf-tcp
[netconf.git] / netconf / netconf-topology / src / main / yang / shared-schema-repository.yang
1 module shared-schema-repository {
2
3     yang-version 1;
4     namespace "urn:opendaylight:params:xml:ns:yang:controller:netconf:topology:shared:schema:repository";
5     prefix "ssr";
6
7     import config { prefix config; revision-date 2013-04-05; }
8
9     description
10             "Module definition for Shared schema repository.";
11
12     revision "2015-07-27" {
13         description
14             "Initial revision";
15     }
16
17     identity shared-schema-repository {
18         base "config:service-type";
19         config:java-class "org.opendaylight.netconf.topology.SchemaRepositoryProvider";
20     }
21
22     identity shared-schema-repository-impl {
23         base "config:module-type";
24         config:provided-service shared-schema-repository;
25         config:java-name-prefix SchemaRepositoryImpl;
26     }
27
28     augment "/config:modules/config:module/config:configuration" {
29         case shared-schema-repository-impl {
30             when "/config:modules/config:module/config:type = 'shared-schema-repository-impl'";
31
32             container schema-repository-fallbacks {
33                 list schema-repository-fallback {
34                     leaf repository-url {
35                         type string;
36                     }
37                 }
38             }
39         }
40     }
41 }