X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fsal%2Fyang-prototype%2Fcode-generator%2Fyang-model-parser-impl%2Fsrc%2Ftest%2Fresources%2Fmodel%2Ftestfile3.yang;h=c507da55e521612178a2bde2aa9f01fbb5b21b4c;hb=154b5dde1af41aff2ae0cc6e08400153162a4a3c;hp=b203124a9fb50c8c54d2df14fed8e4b3f82fe8a1;hpb=6fdf6019919122727d95be36836c625f22e2d9e3;p=controller.git diff --git a/opendaylight/sal/yang-prototype/code-generator/yang-model-parser-impl/src/test/resources/model/testfile3.yang b/opendaylight/sal/yang-prototype/code-generator/yang-model-parser-impl/src/test/resources/model/testfile3.yang index b203124a9f..c507da55e5 100644 --- a/opendaylight/sal/yang-prototype/code-generator/yang-model-parser-impl/src/test/resources/model/testfile3.yang +++ b/opendaylight/sal/yang-prototype/code-generator/yang-model-parser-impl/src/test/resources/model/testfile3.yang @@ -32,7 +32,7 @@ module types3 { description "Description for augment holder"; } } - + augment "/data:interfaces/data:ifEntry" { when "if:ifType='ds2'"; container augment-holder2 { @@ -40,16 +40,23 @@ module types3 { } } + augment "/data:interfaces/data:ifEntry/t3:augment-holder/t1:schemas" { + when "if:leafType='ds1'"; + leaf linkleaf { + type binary; + } + } + container network { mnt:mountpoint point { - mnt:target-ref target; + mnt:target-ref target; } - - description "network-description"; - reference "network-reference"; - status obsolete; - config true; - presence "some presence text"; + + description "network-description"; + reference "network-reference"; + status obsolete; + config true; + presence "some presence text"; } feature local-storage { @@ -58,7 +65,7 @@ module types3 { storage (memory, flash or disk) that can be used to store syslog messages."; } - + extension c-define { description "Takes as argument a name string. @@ -66,7 +73,7 @@ module types3 { #define."; argument "name"; } - + notification event { leaf event-class { type string; @@ -76,7 +83,7 @@ module types3 { type string; } } - + rpc get-config { description "Retrieve all or part of a specified configuration.";