1 module transportpce-portmapping {
3 namespace "http://org/opendaylight/transportpce/portmapping";
4 prefix "org-opendaylight-transportpce-portmapping";
6 import org-openroadm-common-types { prefix org-openroadm-common-types; revision-date 2018-10-19; }
7 import ietf-inet-types { prefix ietf-inet-types; revision-date 2013-07-15; }
12 "transportPCE committers - ODL";
14 "YANG definitions of RPCs supported by OLM. Copyright (c) 2017
15 AT&T and others. All rights reserved. authors: Dhruv Bhardwaj
16 ( db929a@att.com ) Shweta Vachhani ( sv111y@att.com )";
20 "Version 2. To manage device 2.2.1";
24 description "Initial revision of port mapping model";
33 "Unique identifier for node in the network";
37 type org-openroadm-common-types:node-types;
39 "Identifier for node-type e.g Roadm, xponder";
41 leaf openroadm-version {
58 "Common Language Location Identifier.";
63 "Vendor of the equipment";
68 "Physical resource model information.";
70 leaf node-ip-address {
71 type ietf-inet-types:ip-address;
73 "Current IP Address of device";
79 "Mapping for Physical circuit pack/port/parent interfaces corresponding
80 to each logical connection point present in the node.";
81 key logical-connection-point;
82 leaf logical-connection-point {
85 leaf supporting-circuit-pack-name {
88 "Circuit pack where the logical connection point is located";
90 leaf supporting-port {
93 "Port where the logical connection point is located";
98 "OMS interface provisioned on the port";
100 leaf supporting-ots {
103 "OTS interface provisioned on the port";
105 leaf port-direction {
108 "Useful for line port of XPDR, for which there is no indication
109 in its logical-termination-point naming";
114 "Useful to identify from portmapping client from network ports
117 leaf associated-lcp {
120 "For XPDR, associate two logical-connection-points from device/connnection-map
126 "For XPDR unidirectional NETWORK port, associate two logical-connection-points
127 from device/partner port data";
132 "This mapping helps locate degree number of the circuitpack that
133 does lldp protocol management";
134 key circuit-pack-name;
135 leaf circuit-pack-name {
141 leaf interface-name {