Renderer and OLM update
[transportpce.git] / api / src / main / yang / org-transportpce-common-types@2017-09-07.yang
index 912d548ed278f06a73806920eec27795c19e46cd..27c52c5bb8403b24f878a922a746ca1566b1a356 100644 (file)
@@ -53,11 +53,11 @@ module org-transportpce-common-types {
             mandatory true;
         }
         leaf resource-type {
-            type string;
+            type org-openroadm-resource-types:resource-type-enum;
             description "Type of the PM resource";
             mandatory true;
         }
-        //container resource-identifier {
+        container resource-identifier {
             leaf resource-name {
                 type string;
                 description "Identifier of particular resource of given type";
@@ -71,9 +71,9 @@ module org-transportpce-common-types {
                 mandatory true;
 
             }
-        //}
+        }
         leaf granularity {
-            type string;
+            type org-openroadm-pm-types:pm-granularity;
             description "Granularity of PM bin can be
                 notApplicable,15min,24Hour";
             mandatory true;