X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=api%2Fsrc%2Fmain%2Fyang%2Ftransportpce-portmapping%402017-02-28.yang;h=8a6d14a24b866eeb00fb136d249f7b661d11938b;hb=6ba82b354cf8bea7792102fb738580fc65225841;hp=3e892da1995d89967908a08a9f9843387428e0b5;hpb=82610815f1b706e2f9b5e5578474f3a8205c41aa;p=transportpce.git diff --git a/api/src/main/yang/transportpce-portmapping@2017-02-28.yang b/api/src/main/yang/transportpce-portmapping@2017-02-28.yang index 3e892da19..8a6d14a24 100644 --- a/api/src/main/yang/transportpce-portmapping@2017-02-28.yang +++ b/api/src/main/yang/transportpce-portmapping@2017-02-28.yang @@ -29,6 +29,21 @@ module transportpce-portmapping { description "Unique identifier for node in the network"; } + + leaf openroadm-version{ + type enumeration { + enum "1.2.1" { + value 1; + description + "Version 1.2.1"; + } + enum "2.2.1" { + value 2; + description + "Version 2.2.1"; + } + } + } leaf node-type{ type org-openroadm-common-types:node-types; description @@ -62,6 +77,23 @@ module transportpce-portmapping { description "OTS interface provisioned on the port"; } + leaf port-direction{ + type string; + description + "Useful for line port of XPDR, for which there is no + indication in its logical-termination-point naming"; + } + leaf port-qual{ + type string; + description + "Useful to identify from portmapping client from network ports of XPDR"; + } + leaf associated-lcp{ + type string; + description + "For XPDR, associate two logical-connection-points + from device/connnection-map data"; + } } list cp-to-degree{ description