Vidyashree Rama | a5ba656 | 2017-03-08 11:23:28 +0530 | [diff] [blame] | 1 | module yms-ip-topology { |
2 | yang-version 1; | ||||
3 | namespace urn:ip:topo; | ||||
4 | prefix ip-topo; | ||||
5 | import yms-topology { | ||||
6 | prefix topo; | ||||
7 | revision-date "2014-01-01"; | ||||
8 | } | ||||
9 | revision 2014-01-01 { | ||||
10 | description "desc"; | ||||
11 | reference "ref"; | ||||
12 | } | ||||
13 | |||||
14 | augment /topo:node{ | ||||
15 | leaf router-id { | ||||
16 | type string; | ||||
17 | } | ||||
18 | leaf router-ip { | ||||
19 | type string; | ||||
20 | } | ||||
21 | } | ||||
22 | |||||
janani b | b8604ed | 2017-08-17 17:38:31 +0530 | [diff] [blame] | 23 | augment /topo:node{ |
24 | leaf router-path { | ||||
25 | type string; | ||||
26 | } | ||||
27 | container aug-route { | ||||
28 | leaf router-path { | ||||
29 | type string; | ||||
30 | } | ||||
31 | } | ||||
32 | } | ||||
33 | |||||
34 | augment /topo:node{ | ||||
35 | leaf-list value { | ||||
36 | type uint8; | ||||
37 | } | ||||
38 | } | ||||
39 | |||||
40 | augment /topo:node{ | ||||
41 | list aug-route-c { | ||||
42 | key val; | ||||
43 | leaf val { | ||||
44 | type string; | ||||
45 | } | ||||
46 | } | ||||
47 | } | ||||
48 | |||||
Vidyashree Rama | a5ba656 | 2017-03-08 11:23:28 +0530 | [diff] [blame] | 49 | augment /topo:node/topo:termination-points/topo:termination-point { |
50 | leaf ip-address { | ||||
51 | type string; | ||||
52 | } | ||||
53 | } | ||||
54 | } |