Support for CreatingTerminatingService RPC
[vpnservice.git] / itm / itm-api / src / main / yang / itm-rpc.yang
index 83d520938b44f73f57d4d2895e15d2394d7cdfe4..69e1ea9bd8e8111ca46a19f7117f02ea7656b48d 100644 (file)
@@ -19,7 +19,11 @@ module itm-rpc {
         prefix odlif;
         revision-date "2015-03-31";
     }
-    
+
+    import opendaylight-action-types {prefix action;revision-date "2013-11-12";}
+    import opendaylight-flow-types {prefix offlow;revision-date "2013-10-26";}
+
+        
     revision "2015-12-17" {
         description "ODL Specific Itm Manager Rpcs Module";
     }
@@ -120,4 +124,30 @@ module itm-rpc {
             }
         }
      }
+
+     rpc create-terminating-service-actions {
+         description  "used for programming the terminating service actions";
+         input {
+             leaf dpn-id {
+               type uint64;  
+             }
+             leaf service-id {
+                type uint16;
+             }
+             uses offlow:instruction-list;
+         }
+     }
+
+     rpc remove-terminating-service-actions {
+              description  "used for removing the terminating service actions";
+              input {
+                  leaf dpn-id {
+                    type uint64;  
+                  }
+                  leaf service-id {
+                     type uint16;
+                  }
+              }
+     }
+
 }
\ No newline at end of file