1 module transportpce-portmapping {
3 namespace "http://org/opendaylight/transportpce/portmapping";
4 prefix org-opendaylight-transportpce-portmapping;
6 import org-openroadm-common-types {
7 prefix org-openroadm-common-types;
8 revision-date 2018-10-19;
10 import org-openroadm-switching-pool-types {
11 prefix org-openroadm-switching-pool-types;
12 revision-date 2017-12-15;
14 import org-openroadm-port-types {
15 prefix org-openroadm-port-types;
16 revision-date 2018-10-19;
18 import ietf-inet-types {
19 prefix ietf-inet-types;
20 revision-date 2013-07-15;
26 "transportPCE committers - ODL";
28 "YANG definitions of RPCs supported by OLM. Copyright (c) 2017
29 AT&T and others. All rights reserved. authors: Dhruv Bhardwaj
30 ( db929a@att.com ) Shweta Vachhani ( sv111y@att.com )";
34 "Add necessary parameters to consolidate OTN
35 and address ONAP MDONS use case";
39 "Add OTN data from device and necessary
40 to build node inside otn topology";
48 "Version 2. To manage device 2.2.1";
52 "Initial revision of port mapping model";
61 "Unique identifier for node in the network";
65 type org-openroadm-common-types:node-types;
67 "Identifier for node-type e.g Roadm, xponder";
69 leaf openroadm-version {
86 "Common Language Location Identifier.";
91 "Vendor of the equipment";
96 "Physical resource model information.";
98 leaf node-ip-address {
99 type ietf-inet-types:ip-address;
101 "Current IP Address of device";
105 key "logical-connection-point";
107 "Mapping for Physical circuit pack/port/parent interfaces corresponding
108 to each logical connection point present in the node.";
109 leaf logical-connection-point {
112 leaf supporting-circuit-pack-name {
115 "Circuit pack where the logical connection point is located";
117 leaf supporting-port {
120 "Port where the logical connection point is located";
122 leaf supporting-oms {
125 "OMS interface provisioned on the port";
127 leaf supporting-ots {
130 "OTS interface provisioned on the port";
132 leaf port-direction {
135 "Useful for line port of XPDR, for which there is no indication
136 in its logical-termination-point naming";
141 "Useful to identify from portmapping client from network ports
144 leaf supporting-ethernet {
147 "Ethernet interface provisioned on the port";
149 leaf supporting-odu4 {
152 "ODU4 interface provisioned on the port";
157 "Rate supported by the port";
159 leaf-list supported-interface-capability {
161 base org-openroadm-port-types:supported-if-capability;
165 type org-openroadm-common-types:xpdr-node-types;
167 leaf connection-map-lcp {
170 "For XPDR, associate two logical-connection-points from device/connnection-map
176 "For XPDR unidirectional NETWORK port, associate two logical-connection-points
177 from device/partner port data";
181 key "circuit-pack-name";
183 "This mapping helps locate degree number of the circuitpack that
184 does lldp protocol management";
185 leaf circuit-pack-name {
191 leaf interface-name {
195 list switching-pool-lcp {
196 key "switching-pool-number";
198 "For MUXPDR and SWITCH, associates from device/odu-switching-pools data, the logical-connection-points";
199 leaf switching-pool-number {
202 "Unique identifier for this odu-switching-pool";
204 leaf switching-pool-type {
205 type org-openroadm-switching-pool-types:switching-pool-types;
207 list non-blocking-list {
212 "Identifier for this non-blocking-list. Unique within odu-switching-pool";
214 leaf interconnect-bandwidth-unit {
217 "Switch fabric interconnect bandwidth unit rate in bits per second.
218 Represents granularity of switch fabric";
220 leaf interconnect-bandwidth {
223 "Total interconnect bandwidth for a non-blocking element expressed as
224 number of inter-connect-bandwidth units : corresponds to capable-
225 inter-connect bandwidth";
227 leaf available-interconnect-bandwidth {
230 "Total interconnect bandwidth available for a non-blocking element can use as
231 number of inter-connect-bandwidth units";