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-13" {
22 description "Add OTN data from device and necessary
23 to build node inside otn topology";
26 revision "2019-11-15" {
27 description "OTN support";
32 "Version 2. To manage device 2.2.1";
36 description "Initial revision of port mapping model";
45 "Unique identifier for node in the network";
49 type org-openroadm-common-types:node-types;
51 "Identifier for node-type e.g Roadm, xponder";
53 leaf openroadm-version {
70 "Common Language Location Identifier.";
75 "Vendor of the equipment";
80 "Physical resource model information.";
82 leaf node-ip-address {
83 type ietf-inet-types:ip-address;
85 "Current IP Address of device";
91 "Mapping for Physical circuit pack/port/parent interfaces corresponding
92 to each logical connection point present in the node.";
93 key logical-connection-point;
94 leaf logical-connection-point {
97 leaf supporting-circuit-pack-name {
100 "Circuit pack where the logical connection point is located";
102 leaf supporting-port {
105 "Port where the logical connection point is located";
107 leaf supporting-oms {
110 "OMS interface provisioned on the port";
112 leaf supporting-ots {
115 "OTS interface provisioned on the port";
117 leaf port-direction {
120 "Useful for line port of XPDR, for which there is no indication
121 in its logical-termination-point naming";
126 "Useful to identify from portmapping client from network ports
129 leaf supporting-ethernet{
132 "Ethernet interface provisioned on the port";
134 leaf supporting-odu4{
137 "ODU4 interface provisioned on the port";
142 "Rate supported by the port";
144 leaf-list supported-interface-capability {
146 base org-openroadm-port-types:supported-if-capability;
150 type org-openroadm-common-types:xpdr-node-types;
152 leaf connection-map-lcp {
155 "For XPDR, associate two logical-connection-points from device/connnection-map
161 "For XPDR unidirectional NETWORK port, associate two logical-connection-points
162 from device/partner port data";
167 "This mapping helps locate degree number of the circuitpack that
168 does lldp protocol management";
169 key circuit-pack-name;
170 leaf circuit-pack-name {
176 leaf interface-name {
181 list switching-pool-lcp {
183 "For MUXPDR and SWITCH, associates from device/odu-switching-pools data, the logical-connection-points";
184 key "switching-pool-number";
185 leaf switching-pool-number {
188 "Unique identifier for this odu-switching-pool";
190 leaf switching-pool-type {
191 type org-openroadm-switching-pool-types:switching-pool-types;
193 list non-blocking-list {
198 "Identifier for this non-blocking-list. Unique within odu-switching-pool";
200 leaf interconnect-bandwidth-unit {
203 "Switch fabric interconnect bandwidth unit rate in bits per second.
204 Represents granularity of switch fabric";
206 leaf interconnect-bandwidth {
209 "Total interconnect bandwidth for a non-blocking element expressed as
210 number of inter-connect-bandwidth units";