b350c21b8eb2320e6ea497b8e27935c7f59057f9
[nemo.git] / nemo-api / src / main / yang / nemo-result.yang
1 /*\r
2  * Copyright (c) 2015  Huawei Technologies Co., Ltd. and others.  All rights reserved.\r
3  *\r
4  * This program and the accompanying materials are made available under the\r
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
6  * and is available at http://www.eclipse.org/legal/epl-v10.html\r
7  */\r
8 \r
9 module nemo-result{\r
10 \r
11         yang-version 1; \r
12         namespace "urn:opendaylight:params:xml:ns:yang:nemo:result";    \r
13         prefix "nemo-result";\r
14         \r
15         import nemo-common {prefix nemo-common;}\r
16         \r
17         revision "2015-06-29" {\r
18         description\r
19             "Initial revision.";\r
20     }\r
21         \r
22         container expected-definitons{\r
23         \r
24         }       \r
25         \r
26         grouping expected-instance {\r
27                 leaf expected-id {\r
28                         type nemo-common:expected-instance-id;\r
29                         mandatory true;\r
30                 }\r
31                 leaf expected-name{\r
32                         type nemo-common:expected-instance-name;\r
33                         mandatory false;\r
34                 }\r
35                 leaf expected-description {\r
36                         type nemo-common:description;\r
37                 }               \r
38         }\r
39         \r
40         container avoid-definitons{\r
41         \r
42         }\r
43 \r
44         grouping avoid-instance {\r
45                 leaf avoid-id {\r
46                         type nemo-common:avoid-instance-id;\r
47                         mandatory true;\r
48                 }\r
49                 leaf avoid-name{\r
50                         type nemo-common:avoid-instance-name;\r
51                         mandatory false;\r
52                 }\r
53                 leaf avoid-description {\r
54                         type nemo-common:description;\r
55                 }               \r
56         }\r
57         \r
58 }