3 namespace "urn:simple.types.data.demo";
6 organization "opendaylight";
7 contact "http://www.opendaylight.org/";
9 description "This is types-data test description";
11 revision "2013-02-27" {
12 reference " WILL BE DEFINED LATER";
15 typedef my-base-int32-type {
22 type my-base-int32-type {
29 typedef my-custom-string {
36 typedef my-string-type {
37 type my-custom-string {
42 typedef my-string-type2 {
48 typedef my-string-type-ext {
49 type my-string-type2 {
60 typedef my-int-type2 {
66 typedef my-int-type-ext {
72 typedef my-decimal-type {
78 typedef my-decimal-type-ext {
93 typedef my-union-ext {
97 typedef nested-union1 {
101 typedef nested-union2 {
110 path "/interface/name";
118 leaf nested-type-leaf {
124 "Takes as argument a name string.
125 Makes the code generator use the given name in the
141 description "Target IP address";
144 description "Target port container";
149 container destination {
155 must "must-condition" {
156 error-message "An error message test";
157 error-app-tag "An error app tag test";
164 container interfaces {