Assign image keyname and pubkey at vnf level
[ccsdk/apps.git] / sdnr / wireless-transport / code-Carbon-SR1 / apps / devicemanager / impl / src / main / yang / devicemanager-impl.yang
1 /*
2  * Copyright (c) 2017 highstreet technologies GmbH and others.  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
7  */
8 module devicemanager-impl {
9     yang-version 1;
10     namespace "urn:opendaylight:params:xml:ns:yang:devicemanager:impl";
11     prefix "devicemanager-impl";
12
13     import config { prefix config; revision-date 2013-04-05; }
14     import opendaylight-md-sal-binding { prefix mdsal; revision-date 2013-10-28;}
15     import devicemanager-api { prefix devicemanager-api; revision-date 2017-03-17;}
16
17     description
18         "Device Manager Impl Module";
19
20     revision "2017-03-17" {
21         description
22             "Initial revision";
23     }
24
25     identity devicemanager-impl {
26         base config:module-type;
27         config:provided-service devicemanager-api:devicemanager-api;
28         config:java-name-prefix DeviceManagerImpl;
29     }
30
31     augment "/config:modules/config:module/config:configuration" {
32         case devicemanager-impl {
33             when "/config:modules/config:module/config:type = 'devicemanager-impl'";
34             container broker {
35                 uses config:service-ref {
36                     refine type {
37                         mandatory true;
38                         config:required-identity mdsal:binding-broker-osgi-registry;
39                     }
40                 }
41             }
42
43
44             container notification-service {
45                uses config:service-ref {
46                    refine type {
47                        mandatory true;
48                        config:required-identity mdsal:binding-notification-service;
49                    }
50                }
51             }
52
53             container data-broker {
54                 uses config:service-ref {
55                     refine type {
56                         mandatory false;
57                         config:required-identity mdsal:binding-async-data-broker;
58                     }
59                 }
60             }
61
62         }
63     }
64 }