New API for GNPy
[transportpce.git] / pce / src / main / java / org / opendaylight / transportpce / pce / gnpy / consumer / GnpyConsumer.java
index 5c69347a1efa641651f6889ba4dc901faa8d89e4..b45a3880f3cb92af924993a06e160fcefce2eaef 100644 (file)
@@ -7,8 +7,10 @@
  */
 package org.opendaylight.transportpce.pce.gnpy.consumer;
 
-import org.opendaylight.yang.gen.v1.gnpy.gnpy.api.rev190103.GnpyApi;
-import org.opendaylight.yang.gen.v1.gnpy.path.rev200909.Result;
+
+import org.opendaylight.yang.gen.v1.gnpy.gnpy.api.rev220221.Request;
+import org.opendaylight.yang.gen.v1.gnpy.path.rev220221.Result;
+
 
 public interface GnpyConsumer {
 
@@ -23,6 +25,6 @@ public interface GnpyConsumer {
      * @param request GnpyApi.
      * @return Result the result of pat computation.
      */
-    Result computePaths(GnpyApi request);
+    Result computePaths(Request request);
 
 }