sonu gupta | 1bb37b8 | 2016-11-11 16:51:18 +0530 | [diff] [blame] | 1 | module augmentNetwork { |
| 2 | |
| 3 | yang-version 1; |
| 4 | |
| 5 | namespace "ydt.augmentNetwork"; |
| 6 | |
| 7 | prefix "aug"; |
| 8 | |
sonu gupta | 1bb37b8 | 2016-11-11 16:51:18 +0530 | [diff] [blame] | 9 | organization "ON-LAB"; |
| 10 | |
| 11 | description "This module defines for augmentNetwork classifier."; |
| 12 | |
| 13 | revision "2016-05-24" { |
| 14 | description "Initial revision."; |
| 15 | } |
| 16 | |
sonu gupta | eff184b | 2016-11-24 12:43:49 +0530 | [diff] [blame] | 17 | list node { |
| 18 | key "name"; |
| 19 | leaf name { |
| 20 | type string; |
| 21 | description "name of node"; |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | augment "/node" { |
sonu gupta | 1bb37b8 | 2016-11-11 16:51:18 +0530 | [diff] [blame] | 26 | description |
sonu gupta | eff184b | 2016-11-24 12:43:49 +0530 | [diff] [blame] | 27 | "Add container to the node model."; |
sonu gupta | 1bb37b8 | 2016-11-11 16:51:18 +0530 | [diff] [blame] | 28 | container cont1s { |
| 29 | container cont1s { |
| 30 | leaf fine { |
| 31 | type string; |
| 32 | } |
| 33 | } |
| 34 | } |
| 35 | } |
| 36 | } |