f32ac3f26b2dd3297b9f087a41c3a6668ec566c2
[groupbasedpolicy.git] / sxp-mapper / src / main / yang / sxp-mapper-cfg.yang
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. 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
9 module sxp-mapper-cfg {
10     yang-version 1;
11     namespace "urn:opendaylight:params:xml:ns:yang:controller:config:groupbasedpolicy:sxp-mapper";
12     prefix "sxpm-cfg";
13
14     import config { prefix config; revision-date 2013-04-05; }
15     import opendaylight-md-sal-binding { prefix mdsal; revision-date 2013-10-28; }
16     import groupbasedpolicy-cfg {prefix gbpcfg; revision-date 2015-11-06; }
17
18     description
19         "This module contains the base YANG definitions for
20           sxf-mapper impl configuration.";
21
22     revision "2016-03-02" {
23         description
24             "Initial revision.";
25     }
26
27     identity sxp-mapper-impl {
28         description
29             "sxp-mapper impl module";
30
31         base "config:module-type";
32         config:java-name-prefix SxpMapperProvider;
33     }
34
35     // Augments the 'configuration' choice node under modules/module.
36     augment "/config:modules/config:module/config:configuration" {
37         case sxp-mapper-impl {
38             when "/config:modules/config:module/config:type = 'sxp-mapper-impl'";
39         }
40     }
41 }