[ONOS-5003][ONOS-5004][ONOS-5005]Generated Code modification for YangUtils+added interface for augmentation method and other api changes.
Change-Id: I954b9c99e182f21d01fcc5cd76fbac7d61a6c3aa
diff --git a/plugin/src/test/resources/augmentTranslator/test.yang b/plugin/src/test/resources/augmentTranslator/test.yang
index 76ea6c9..3fa36b9 100644
--- a/plugin/src/test/resources/augmentTranslator/test.yang
+++ b/plugin/src/test/resources/augmentTranslator/test.yang
@@ -31,6 +31,19 @@
}
}
+ choice choice1 {
+ case case1 {
+ leaf case-leaf {
+ type int32;
+ }
+ container case-container3 {
+ leaf leafs {
+ type int64;
+ }
+ }
+ }
+ }
+
augment /cont3 {
leaf leaf1 {
@@ -39,10 +52,28 @@
}
augment /cont1/cont2 {
- leaf leaf2 {
+ leaf-list leaf2 {
type int32;
}
}
+ augment /choice1 {
+ leaf-list leaf2 {
+ type int32;
+ }
+ leaf leaf1 {
+ type int32;
+ }
+ container case-container {
+ leaf leafs {
+ type int64;
+ }
+ }
+ container case-container2 {
+ leaf leafs {
+ type int64;
+ }
+ }
+ }
augment /test1:cont1/test1:cont2 {
leaf a {
@@ -57,10 +88,25 @@
}
augment /test1:cont1/test1:cont2/test1:cont1s/test1:cont1s/test2:aa {
- leaf a {
+ leaf name {
+ type string;
+ }
+ leaf surname {
+ type string;
+ }
+ leaf-list aleaflist {
type int32;
}
- container aa {
+ container cont1 {
+ }
+ list alist {
+ key "name";
+ leaf name {
+ type string;
+ }
+ leaf-list surname {
+ type string;
+ }
}
}