2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
10 namespace "urn:simple.types.data.demo";
13 organization "opendaylight";
14 contact "http://www.opendaylight.org/";
16 description "This is types-data test description";
18 revision "2013-02-27" {
19 reference " WILL BE DEFINED LATER";
22 typedef my-base-int32-type {
29 type my-base-int32-type {
36 typedef my-custom-string {
43 typedef my-string-type {
44 type my-custom-string {
49 typedef my-string-type2 {
55 typedef my-string-type-ext {
56 type my-string-type2 {
67 typedef my-int-type2 {
73 typedef my-int-type-ext {
79 typedef my-decimal-type {
85 typedef my-decimal-type-ext {
100 typedef my-union-ext {
104 typedef nested-union1 {
108 typedef nested-union2 {
117 path "/interface/name";
125 leaf nested-type-leaf {
131 "Takes as argument a name string.
132 Makes the code generator use the given name in the
148 description "Target IP address";
151 description "Target port container";
156 container destination {
162 description "new port description updated by refine";
168 container interfaces {