blob: 82a19d7dc4a3d6a1df28d24e41643d436ff43a93 [file] [log] [blame]
sonu gupta1bb37b82016-11-11 16:51:18 +05301module augment-topology2 {
2
3 yang-version 1;
4
5 namespace "ydt.augment-topology2";
6
7 prefix "aug2";
8
9 import yms-ietf-network {
10 prefix nd;
11 }
12
13 import yms-network-topology {
14 prefix topo;
15 }
16
17 organization "ON-LAB";
18
19 description "This module defines for augment-topology2 classifier.";
20
21 revision "2016-05-24" {
22 description "Initial revision.";
23 }
24
25 augment "/nd:networks/nd:network/topo:link" {
26 description
27 "Add augment2 to the link model.";
28 list augment2 {
29 key "key1 key2";
30 leaf key1 {
31 type int8;
32 }
33 leaf key2 {
34 type int8;
35 }
36 }
37
38 leaf-list augment2leafList {
39 type string;
40 }
41 }
42
43 augment "/nd:networks/nd:network/nd:node/topo:t-point/" +
44 "supporting-termination-point" {
45 description
46 "Add augment2 to the supporting-termination-point model.";
47 container augment2 {
48 config false;
49 leaf value2 {
50 type int8;
51 }
52 }
53
54 leaf-list augment2leafList {
55 type string;
56 }
57
58 leaf augment2leaf {
59 type string;
60 }
61
62 }
63}