blob: ceee3d7a97034cea9504de72580b6011f05fba24 [file] [log] [blame]
Bharat saraswalc2fd3222016-10-19 16:10:27 +05301module test {
2 namespace "test:test";
3 prefix test ;
4
5 import test1{
6 prefix test1;
7 }
8 organization "";
9 contact "";
10
11 description
12 "Defines basic service types for L3VPN service.";
13
14 revision "2015-12-16" {
15 reference "";
16 }
17
18 augment /test1:rpc-input-output/test1:output/ {
19 choice choice1 {
20 container case1 {
21 leaf int-leaf {
22 type int32;
23 }
24 }
25 }
26 }
27
28 list node {
29 key "node-id";
30 leaf node-id{
31 type string;
32 }
33 leaf-list node-prop{
34 type string;
35 }
36 container termination-points{
37 leaf number-of-tp {
38 type int16;
39 }
40 list termination-point {
41 key "tp-id";
42 leaf tp-id {
43 type string;
44 }
45 }
46 }
47 choice choice1{
48 case case1a{
49 leaf leaf1a1{
50 type string;
51 }
52 leaf leaf1a2{
53 type string;
54 }
55 }
56 case case1b{
57 choice choice1b{
58 case case1bi{
59 leaf leaf1bia{
60 type string;
61 }
62 leaf leaf1bib{
63 type string;
64 }
65 }
66 case case1bii{
67 leaf leaf1biia{
68 type string;
69 }
70 leaf leaf1biib{
71 type string;
72 }
73 }
74 }
75 }
76 }
77 }
78}