3 namespace "urn:opendaylight.foo";
6 import bar { prefix "br"; revision-date 2013-07-03; }
8 import baz { prefix "bz"; revision-date 2013-02-27; }
11 revision-date "2013-02-27";
14 organization "opendaylight";
15 contact "http://www.opendaylight.org/";
17 revision "2013-02-27" {
18 reference " WILL BE DEFINED LATER";
35 leaf invalid-pattern-string-leaf {
36 type br:invalid-string-pattern;
39 leaf invalid-direct-string-pattern-def-leaf {
43 leaf multiple-pattern-string-leaf {
44 type br:multiple-pattern-string;
47 leaf multiple-pattern-direct-string-def-leaf {
61 type br:my-decimal-type {
67 type br:my-decimal-type;
71 bz:c-define "MY_INTERFACES";
78 deviation /br:interfaces/br:ifEntry {
82 reference "system/user ref";
85 leaf custom-union-leaf {
126 "Copy of the source typesstore subset that matched the filter
127 criteria (if any). An empty types container indicates that the
128 request did not produce any results.";
132 augment "/br:interfaces/br:ifEntry/bz:augment-holder" {
133 when "if:ifType='ds0'";
134 leaf ds0ChannelNumber {
139 path "/br:interfaces/br:ifEntry/br:ifIndex";
164 container innercont {
175 augment "how/interval" {
176 description "inner augment";
184 container destination {
188 description "IP address of target node";
189 reference "address reference added by refine";
192 must "ifType != 'ethernet' or " +
193 "(ifType = 'ethernet' and ifMTU = 1500)" {
194 error-message "An ethernet MTU must be 1500";
196 foo:mountpoint "mnt-extension";
199 description "description of port defined by refine";
200 reference "port reference added by refine";
202 presence "presence is required";
205 description "description of addresses defined by refine";
206 reference "addresses reference added by refine";
209 max-elements unbounded;
211 refine addresses/id {
212 description "id of address";
218 extension mountpoint {
219 description "enter point";