Add binding v2 model for underscores as identifiers
[mdsal.git] / binding / mdsal-binding-spec-2 / src / test / resources / __.yang
1 submodule __ {
2     yang-version 1;
3     belongs-to _ {
4         prefix _;
5     }
6
7     description
8         "Testing for an identifier (double underscore).
9         see http://tools.ietf.org/html/rfc6020#section-6.2.1
10
11         This is a simple test verifying submodule does not break
12         handling of _ as identifier.";
13
14     revision "2016-03-31" {
15         description
16             "Initial revision, for ODL Boron.";
17     }
18
19     container __ {
20         list _ {
21             key _;
22             uses _:_;
23         }
24     }
25
26 }