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 {
115 path "/interface/name";
123 leaf nested-type-leaf {
129 "Takes as argument a name string.
130 Makes the code generator use the given name in the
146 description "Target IP address";
149 description "Target port container";
154 container destination {
160 must "must-condition" {
161 error-message "An error message test";
162 error-app-tag "An error app tag test";
169 container interfaces {