1 module org-transportpce-common-types {
2 namespace "http://org/transportpce/common-types";
3 prefix org-transportpce-common-types;
5 import org-openroadm-resource-types {
6 prefix org-openroadm-resource-types;
7 revision-date 2016-10-14;
9 import org-openroadm-pm-types {
10 prefix org-openroadm-pm-types;
11 revision-date 2016-10-14;
14 revision "2017-09-07" {
15 description "Initial revision of TransportPCE common-types";
18 grouping olm-renderer-input {
30 description "Gloabally unique identifier
35 description "Source termination point ";
40 description "Destination termination point ";
45 "Type to be used by OLM and Renderer RPCs";
48 grouping olm-get-pm-input {
51 description "Gloabally unique identifier
56 type org-openroadm-resource-types:resource-type-enum;
57 description "Type of the PM resource";
60 container resource-identifier {
63 description "Identifier of particular resource of given type";
66 leaf circuit-pack-name {
67 when "../../resource-type = 'port'";
69 description "In case resource type is port, then particular resource is identified by port-name
70 (resource-name) and circuit-pack-name (this leaf).";
76 type org-openroadm-pm-types:pm-granularity;
77 description "Granularity of PM bin can be
78 notApplicable,15min,24Hour";
83 grouping node-interfaces {
89 leaf-list och-interface-id {
92 leaf-list otu-interface-id {
95 leaf-list odu-interface-id {
98 leaf-list eth-interface-id {
101 leaf-list connection-id {