blob: 79491e1aeaf4e580aeb6fd035964eb1a5f92cdcc [file] [log] [blame]
janani b4b5f88c2016-10-06 00:00:33 +05301module org-open-road-m-device {
2 namespace "http://org/openroadm/device";
3 prefix org-open-road-m-device;
4
5 leaf uri {
6 type string;
7 }
8
9 grouping device-common {
10 leaf node-id {
11 type union {
12 type leafref {
13 path "/uri";
14 }
15 type string;
16 }
17 description
18 "Globally unique identifier for a device.";
19 config true;
20 default "open-road-m";
21 }
22 }
23
24 list node {
25 config false;
26 uses device-common;
27 }
28}