L2 Gw create changes related to ITM Tunnels creation in neutronvpn module
[vpnservice.git] / interfacemgr / interfacemgr-api / src / main / yang / odl-interface-rpc.yang
index ef1cad591a0b54e739a31d6a8330dde28bd247eb..281caff8885c30f4939ac2d144c8d09d15a60afa 100644 (file)
@@ -73,6 +73,21 @@ module odl-interface-rpc {
         }
     }
 
+    rpc get-egress-actions {
+        description "used to retrieve group actions to use from interface name";
+        input {
+            leaf intf-name {
+                type string;
+            }
+            leaf service-tag {
+                type uint32;
+            }
+        }
+        output {
+            uses action:action-list;
+        }
+    }
+
     rpc get-egress-instructions-for-interface {
         description "used to retrieve flow instructions to use from interface name";
         input {
@@ -115,6 +130,23 @@ module odl-interface-rpc {
         }
     }
 
+    rpc get-tunnel-type {
+    description "to get the type of the tunnel interface(vxlan or gre)";
+        input {
+            leaf intf-name {
+                type string;
+            }
+        }
+        output {
+            leaf tunnel-type {
+                type identityref {
+                    base odlif:tunnel-type-base;
+                }
+            }
+        }
+    }
+
+
     rpc get-nodeconnector-id-from-interface {
     description "to get nodeconnector id associated with an interface";
         input {
@@ -142,4 +174,35 @@ module odl-interface-rpc {
                 }
             }
         }
+
+    rpc create-terminating-service-actions {
+    description "create the ingress terminating service table entries";
+        input {
+             leaf dpid {
+                 type uint64;
+             }
+             leaf tunnel-key {
+                 type uint64;
+             }
+             leaf interface-name {
+                 type string;
+             }
+             uses offlow:instruction-list;
+        }
+    }
+
+    rpc remove-terminating-service-actions {
+    description "remove the ingress terminating service table entries";
+        input {
+             leaf dpid {
+                 type uint64;
+             }
+             leaf interface-name {
+                 type string;
+             }
+             leaf tunnel-key {
+                 type uint64;
+             }
+        }
+    }
 }
\ No newline at end of file