Renderer and OLM update
[transportpce.git] / api / src / main / yang / renderer@2017-02-28.yang
index c673b5289e2253795b0eed5dabcee31e2dd3a47c..4b3eea46008b015831b4ed983873b1058cc5777b 100644 (file)
@@ -37,31 +37,7 @@ module renderer {
           }
         }
       }
-      leaf service-name {
-            type string;
-        }
-        leaf wave-number {
-            type uint32;
-        }
-        list nodes {
-            ordered-by user;
-            key "node-id";
-            leaf node-id {
-                type string;
-                description "Gloabally unique identifier
-                    for the node";
-            }
-            leaf src-tp {
-                type string;
-                description "Source termination point ";
-                mandatory true;
-            }
-            leaf dest-tp {
-                type string;
-                description "Destination termination point ";
-                mandatory true;
-            }
-        }
+      uses org-transportpce-common-types:olm-renderer-input;
     }
     output{
       leaf success {
@@ -74,7 +50,7 @@ module renderer {
     }
   }
 
-  /*rpc renderer-rollback {
+  rpc renderer-rollback {
     input {
       uses org-transportpce-common-types:node-interfaces;
     }
@@ -92,5 +68,5 @@ module renderer {
         }
       }
     }
-  }*/
+  }
 }