5a0a36545c2a90b2f5e824664373abb7882fc5cb
[transportpce.git] / api / src / main / yang / portmapping.yang
1 module portmapping {
2   yang-version 1;
3   namespace "urn:opendaylight:params:xml:ns:yang:portmapping";
4   prefix "portmapping";
5
6   revision "2017-2-28" {
7     description "Initial revision of port mapping model";
8   }
9   container network{
10     list nodes{
11       key node-id;
12       leaf node-id{
13         type string;
14         description
15           "Unique identifier for node in the network";
16       }
17       list mapping{
18         description
19           "Mapping for Physical circuit pack/port/parent interfaces
20           corresponding to each logical connection point present in the node.";
21         key logical-connection-point;
22         leaf logical-connection-point{
23           type string;
24         }
25         leaf supporting-circuit-pack-name{
26           type string;
27           description
28           "Circuit pack where the logical connection point is located";
29         }
30         leaf supporting-port{
31           type string;
32           description
33           "Port where the logical connection point is located";
34         }
35         leaf supporting-oms{
36           type string;
37           description
38           "OMS interface provisioned on the port";
39         }
40       }
41     }
42   }
43 }