Distinguish flex vs fixed for PCE 400G
[transportpce.git] / api / src / main / yang / transportpce-portmapping@2021-04-26.yang
index e8b45d0e063519815dc1b4f1983ed753123750e4..285c049749d1af4ddd5d488a1b1cc2752c39b400 100644 (file)
@@ -271,15 +271,17 @@ module transportpce-portmapping {
 
   grouping mc-capabilities {
     list mc-capabilities {
-      when "../node-info/node-type = 'rdm'";
       key "mc-node-name";
       description
-        "Capabilities of the media channel associated with a degree or a SRG.";
+        "Capabilities of the media channel associated with a degree SRG, or
+        XPDR (7.1 and above). ";
       leaf mc-node-name {
         type string;
         description
           "Name of the node, it has the format of DEGi-TTP or SRGj-PP
-           Where i, and j are the degree and SRG numbers respectively";
+           Where i, and j are the degree and SRG numbers respectively.
+           For XPDR type it will have one element in the leaf-list,
+           with name XPDR-mcprofile";
       }
       leaf slot-width-granularity {
         type org-openroadm-common-optical-channel-types:frequency-GHz;