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 org-openroadm-switching-pool-types { prefix org-openroadm-switching-pool-types; revision-date 2017-12-15; }
8 import org-openroadm-port-types {prefix org-openroadm-port-types; revision-date 2018-10-19; }
10 import ietf-inet-types { prefix ietf-inet-types; revision-date 2013-07-15; }
15 "transportPCE committers - ODL";
17 "YANG definitions of RPCs supported by OLM. Copyright (c) 2017
18 AT&T and others. All rights reserved. authors: Dhruv Bhardwaj
19 ( db929a@att.com ) Shweta Vachhani ( sv111y@att.com )";
21 revision "2020-01-28" {
22 description "Add necessary parameters to consolidate OTN
23 and address ONAP MDONS use case";
26 revision "2020-01-13" {
27 description "Add OTN data from device and necessary
28 to build node inside otn topology";
31 revision "2019-11-15" {
32 description "OTN support";
37 "Version 2. To manage device 2.2.1";
41 description "Initial revision of port mapping model";
50 "Unique identifier for node in the network";
54 type org-openroadm-common-types:node-types;
56 "Identifier for node-type e.g Roadm, xponder";
58 leaf openroadm-version {
75 "Common Language Location Identifier.";
80 "Vendor of the equipment";
85 "Physical resource model information.";
87 leaf node-ip-address {
88 type ietf-inet-types:ip-address;
90 "Current IP Address of device";
96 "Mapping for Physical circuit pack/port/parent interfaces corresponding
97 to each logical connection point present in the node.";
98 key logical-connection-point;
99 leaf logical-connection-point {
102 leaf supporting-circuit-pack-name {
105 "Circuit pack where the logical connection point is located";
107 leaf supporting-port {
110 "Port where the logical connection point is located";
112 leaf supporting-oms {
115 "OMS interface provisioned on the port";
117 leaf supporting-ots {
120 "OTS interface provisioned on the port";
122 leaf port-direction {
125 "Useful for line port of XPDR, for which there is no indication
126 in its logical-termination-point naming";
131 "Useful to identify from portmapping client from network ports
134 leaf supporting-ethernet{
137 "Ethernet interface provisioned on the port";
139 leaf supporting-odu4{
142 "ODU4 interface provisioned on the port";
147 "Rate supported by the port";
149 leaf-list supported-interface-capability {
151 base org-openroadm-port-types:supported-if-capability;
155 type org-openroadm-common-types:xpdr-node-types;
157 leaf connection-map-lcp {
160 "For XPDR, associate two logical-connection-points from device/connnection-map
166 "For XPDR unidirectional NETWORK port, associate two logical-connection-points
167 from device/partner port data";
172 "This mapping helps locate degree number of the circuitpack that
173 does lldp protocol management";
174 key circuit-pack-name;
175 leaf circuit-pack-name {
181 leaf interface-name {
186 list switching-pool-lcp {
188 "For MUXPDR and SWITCH, associates from device/odu-switching-pools data, the logical-connection-points";
189 key "switching-pool-number";
190 leaf switching-pool-number {
193 "Unique identifier for this odu-switching-pool";
195 leaf switching-pool-type {
196 type org-openroadm-switching-pool-types:switching-pool-types;
198 list non-blocking-list {
203 "Identifier for this non-blocking-list. Unique within odu-switching-pool";
205 leaf interconnect-bandwidth-unit {
208 "Switch fabric interconnect bandwidth unit rate in bits per second.
209 Represents granularity of switch fabric";
211 leaf interconnect-bandwidth {
214 "Total interconnect bandwidth for a non-blocking element expressed as
215 number of inter-connect-bandwidth units : corresponds to capable-
216 inter-connect bandwidth";
218 leaf available-interconnect-bandwidth {
221 "Total interconnect bandwidth available for a non-blocking element can use as
222 number of inter-connect-bandwidth units";