3 namespace "urn:simple.types.data.demo";
8 revision-date 2013-02-27;
11 organization "opendaylight";
12 contact "http://www.opendaylight.org/";
14 description "This is types-data test description";
16 revision "2013-02-27" {
17 reference " WILL BE DEFINED LATER";
20 typedef my-base-int32-type {
27 type my-base-int32-type {
34 typedef my-custom-string {
41 typedef my-string-type {
42 type my-custom-string {
47 typedef my-string-type2 {
53 typedef my-string-type-ext {
54 type my-string-type2 {
65 typedef my-int-type2 {
71 typedef my-int-type-ext {
77 typedef my-decimal-type {
83 typedef my-decimal-type-ext {
98 typedef my-union-ext {
102 typedef nested-union1 {
106 typedef nested-union2 {
113 augment "/if:interfaces/if:ifEntry" {
114 when "if:ifType='ds0'";
115 leaf ds0ChannelNumber {
122 path "/interface/name";
130 leaf nested-type-leaf {
136 "Takes as argument a name string.
137 Makes the code generator use the given name in the
153 description "Target IP address";
156 description "Target port container";
161 container destination {
167 must "must-condition" {
168 error-message "An error message test";
169 error-app-tag "An error app tag test";
176 container interfaces {