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 SAPI/DAPI lcp hash value";
38 "Add necessary parameters to consolidate OTN
39 and address ONAP MDONS use case";
43 "Add OTN data from device and necessary
44 to build node inside otn topology";
52 "Version 2. To manage device 2.2.1";
56 "Initial revision of port mapping model";
65 "Unique identifier for node in the network";
69 type org-openroadm-common-types:node-types;
71 "Identifier for node-type e.g Roadm, xponder";
73 leaf openroadm-version {
90 "Common Language Location Identifier.";
95 "Vendor of the equipment";
100 "Physical resource model information.";
102 leaf node-ip-address {
103 type ietf-inet-types:ip-address;
105 "Current IP Address of device";
109 key "logical-connection-point";
111 "Mapping for Physical circuit pack/port/parent interfaces corresponding
112 to each logical connection point present in the node.";
113 leaf logical-connection-point {
116 leaf supporting-circuit-pack-name {
119 "Circuit pack where the logical connection point is located";
121 leaf supporting-port {
124 "Port where the logical connection point is located";
126 leaf supporting-oms {
129 "OMS interface provisioned on the port";
131 leaf supporting-ots {
134 "OTS interface provisioned on the port";
136 leaf port-direction {
139 "Useful for line port of XPDR, for which there is no indication
140 in its logical-termination-point naming";
145 "Useful to identify from portmapping client from network ports
148 leaf supporting-ethernet {
151 "Ethernet interface provisioned on the port";
153 leaf supporting-odu4 {
156 "ODU4 interface provisioned on the port";
161 "Rate supported by the port";
163 leaf-list supported-interface-capability {
165 base org-openroadm-port-types:supported-if-capability;
169 type org-openroadm-common-types:xpdr-node-types;
171 leaf connection-map-lcp {
174 "For XPDR, associate two logical-connection-points from device/connnection-map
180 "For XPDR unidirectional NETWORK port, associate two logical-connection-points
181 from device/partner port data";
186 "Hash value generated from node-id and lcp. This value will be used to map-
187 back SAPI and DAPI resource";
191 key "circuit-pack-name";
193 "This mapping helps locate degree number of the circuitpack that
194 does lldp protocol management";
195 leaf circuit-pack-name {
201 leaf interface-name {
205 list switching-pool-lcp {
206 key "switching-pool-number";
208 "For MUXPDR and SWITCH, associates from device/odu-switching-pools data, the logical-connection-points";
209 leaf switching-pool-number {
212 "Unique identifier for this odu-switching-pool";
214 leaf switching-pool-type {
215 type org-openroadm-switching-pool-types:switching-pool-types;
217 list non-blocking-list {
222 "Identifier for this non-blocking-list. Unique within odu-switching-pool";
224 leaf interconnect-bandwidth-unit {
227 "Switch fabric interconnect bandwidth unit rate in bits per second.
228 Represents granularity of switch fabric";
230 leaf interconnect-bandwidth {
233 "Total interconnect bandwidth for a non-blocking element expressed as
234 number of inter-connect-bandwidth units : corresponds to capable-
235 inter-connect bandwidth";
237 leaf available-interconnect-bandwidth {
240 "Total interconnect bandwidth available for a non-blocking element can use as
241 number of inter-connect-bandwidth units";