Renamed artifacts to reflect the project's name.
[unimgr.git] / impl / src / main / yang / unimgr-impl.yang
1 /*
2  * Copyright (c) 2015 Cable Television Laboratories, Inc. All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
7  */
8 module unimgr-impl {
9     yang-version 1;
10     namespace "urn:opendaylight:params:xml:ns:yang:unimgr:impl";
11     prefix "unimgr-impl";
12
13     import config { prefix config; revision-date 2013-04-05; }
14     import opendaylight-md-sal-binding { prefix md-sal-binding; revision-date 2013-10-28;}
15
16     description
17         "Service definition for unimgr project";
18
19     revision "2015-06-22" {
20         description
21             "Initial revision";
22     }
23
24     identity unimgr {
25         base config:module-type;
26         config:java-name-prefix Vcpe;
27     }
28
29     augment "/config:modules/config:module/config:configuration" {
30         case unimgr {
31             when "/config:modules/config:module/config:type = 'unimgr'";
32             container broker {
33                 uses config:service-ref {
34                     refine type {
35                         mandatory true;
36                         config:required-identity md-sal-binding:binding-broker-osgi-registry;
37                     }
38                 }
39             }
40         }
41     }
42 }