X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fsal%2Fyang-prototype%2Fcode-generator%2Fmaven-yang-plugin-it%2Fsrc%2Ftest%2Fresources%2FGenerateTest1%2Fsrc%2Fmain%2Fresources%2Ftestfile3.yang;h=8e5b86a8807233c0223287bff75b788978407071;hb=c6bc227bf09c8d754f2b2e8d99d55a7f5c29633c;hp=b203124a9fb50c8c54d2df14fed8e4b3f82fe8a1;hpb=e877f7f9e4ed90d2a199aad8f28e46daa4686d4c;p=controller.git diff --git a/opendaylight/sal/yang-prototype/code-generator/maven-yang-plugin-it/src/test/resources/GenerateTest1/src/main/resources/testfile3.yang b/opendaylight/sal/yang-prototype/code-generator/maven-yang-plugin-it/src/test/resources/GenerateTest1/src/main/resources/testfile3.yang index b203124a9f..8e5b86a880 100644 --- a/opendaylight/sal/yang-prototype/code-generator/maven-yang-plugin-it/src/test/resources/GenerateTest1/src/main/resources/testfile3.yang +++ b/opendaylight/sal/yang-prototype/code-generator/maven-yang-plugin-it/src/test/resources/GenerateTest1/src/main/resources/testfile3.yang @@ -15,127 +15,4 @@ module types3 { reference " WILL BE DEFINED LATER"; } - typedef union1 { - type union2; - } - - typedef union2 { - type union { - type int32; - type data:nested-union2; - } - } - - augment "/data:interfaces/data:ifEntry" { - when "if:ifType='ds0'"; - container augment-holder { - description "Description for augment holder"; - } - } - - augment "/data:interfaces/data:ifEntry" { - when "if:ifType='ds2'"; - container augment-holder2 { - description "Description for augment holder"; - } - } - - container network { - mnt:mountpoint point { - mnt:target-ref target; - } - - description "network-description"; - reference "network-reference"; - status obsolete; - config true; - presence "some presence text"; - } - - feature local-storage { - description - "This feature means the device supports local - storage (memory, flash or disk) that can be used to - store syslog messages."; - } - - extension c-define { - description - "Takes as argument a name string. - Makes the code generator use the given name in the - #define."; - argument "name"; - } - - notification event { - leaf event-class { - type string; - } - anyxml reporting-entity; - leaf severity { - type string; - } - } - - rpc get-config { - description - "Retrieve all or part of a specified configuration."; - - reference "RFC 6241, Section 7.1"; - - input { - container source { - description - "Particular configuration to retrieve."; - - choice config-source { - mandatory true; - description - "The configuration to retrieve."; - case a { - leaf candidate { - if-feature candidate; - type empty; - description - "The candidate configuration is the config source."; - } - } - case b { - leaf running { - type empty; - description - "The running configuration is the config source."; - } - } - case c { - leaf startup { - if-feature startup; - type empty; - description - "The startup configuration is the config source. - This is optional-to-implement on the server because - not all servers will support filtering for this - datastore."; - } - } - } - } - - anyxml filter { - description - "Subtree or XPath filter to use."; - nc:get-filter-element-attributes; - } - } - - output { - anyxml data { - description - "Copy of the source datastore subset that matched - the filter criteria (if any). An empty data container - indicates that the request did not produce any results."; - } - } - } - }