Update portmapping YANG model
[transportpce.git] / api / src / main / yang / transportpce-alarmsuppression@2017-11-02.yang
1 module transportpce-alarmsuppression {
2   yang-version 1;
3   namespace "http://org/opendaylight/transportpce/alarmsuppression";
4   prefix org-opendaylight-transportpce-alarmsuppression;
5
6   organization
7     "transportPCE";
8   contact
9     "transportPCE committers - ODL";
10   description
11     "YANG definitions of RPCs supported by OLM.
12      Copyright (c) 2017 AT&T and others.  All rights reserved.
13      authors: Dhruv Bhardwaj ( db929a@att.com )
14               Shweta Vachhani ( sv111y@att.com )";
15
16   revision 2017-11-02 {
17     description
18       "Initial revision of alarm suppression model";
19   }
20
21   container service-nodelist {
22     list nodelist {
23       key "service-name";
24       leaf service-name {
25         type string;
26         description
27           "Unique identifier for service";
28       }
29       list nodes {
30         key "node-id";
31         leaf node-id {
32           type string;
33           description
34             "Unique identifier for node in the network";
35         }
36         /*leaf-list interface-list {
37             type string;
38         }
39         leaf-list connection-list {
40             type string;
41         }
42         leaf-list degree-number-list {
43             type uint16;
44         }
45         leaf-list srg-number-list {
46             type uint16;
47         }
48         leaf-list circuit-pack-list {
49             type string;
50         }
51         leaf-list port-list {
52             type string;
53         }
54          */
55       }
56     }
57   }
58 }