dc60f57a7eaf7f9c2cc241f1e255d3e642d7631e
[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         leaf supporting-ots{
41           type string;
42           description
43           "OTS interface provisioned on the port";
44         }
45       }
46     }
47   }
48 }