X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=api%2Fsrc%2Fmain%2Fyang%2Forg-transportpce-common-types%402017-09-07.yang;h=27c52c5bb8403b24f878a922a746ca1566b1a356;hb=80f9070187cb60c40f057df83bd2ecd123b84b5d;hp=912d548ed278f06a73806920eec27795c19e46cd;hpb=74d11927047a7b6ace072a208ee7b1d9a3769d9d;p=transportpce.git diff --git a/api/src/main/yang/org-transportpce-common-types@2017-09-07.yang b/api/src/main/yang/org-transportpce-common-types@2017-09-07.yang index 912d548ed..27c52c5bb 100644 --- a/api/src/main/yang/org-transportpce-common-types@2017-09-07.yang +++ b/api/src/main/yang/org-transportpce-common-types@2017-09-07.yang @@ -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;