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=e67d9c7eed0675efd15b8be638ec997469be3ebc;hpb=bc395f78e1b7092d51348b8acac4cc83c90ab9ba;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 e67d9c7eed..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 @@ -33,16 +33,30 @@ module types3 { } } + augment "/data:interfaces/data:ifEntry" { + when "if:ifType='ds2'"; + container augment-holder2 { + description "Description for augment holder"; + } + } + + augment "/data:interfaces/data:ifEntry/t3:augment-holder/t1:schemas" { + when "if:leafType='ds1'"; + leaf linkleaf { + type binary; + } + } + container network { - description "network-description"; - reference "network-reference"; - status obsolete; - config true; - presence "some presence text"; - - mnt:mountpoint point { - mnt:target-ref target; + mnt:mountpoint point { + mnt:target-ref target; } + + description "network-description"; + reference "network-reference"; + status obsolete; + config true; + presence "some presence text"; } feature local-storage { @@ -51,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. @@ -59,7 +73,7 @@ module types3 { #define."; argument "name"; } - + notification event { leaf event-class { type string; @@ -69,7 +83,7 @@ module types3 { type string; } } - + rpc get-config { description "Retrieve all or part of a specified configuration.";