summaryrefslogtreecommitdiffstats
path: root/vbd/impl/src/main/yang/vbd-impl.yang
blob: d0c2595002a63682479c8e787172b5e273867e00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
module vbd-impl {
    yang-version 1;
    namespace "urn:opendaylight:params:xml:ns:yang:vbd:impl";
    prefix "vbd-impl";

    import config { prefix config; revision-date 2013-04-05; }
    import opendaylight-md-sal-binding { prefix md-sal-binding; revision-date 2013-10-28;}

    description
        "Service definition for vbd project";

    revision "2016-02-02" {
        description
            "Initial revision";
    }

    identity vbd {
        base config:module-type;
        config:java-name-prefix Vbd;
    }

    augment "/config:modules/config:module/config:configuration" {
        case vbd {
            when "/config:modules/config:module/config:type = 'vbd'";
            container broker {
                uses config:service-ref {
                    refine type {
                        mandatory true;
                        config:required-identity md-sal-binding:binding-broker-osgi-registry;
                    }
                }
            }
        }
    }
}