Merge "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 66e79efa6a30f7815ddb284efd0b0465c7c0312f..a6f3874deee92505874a4e790b4747e4081a2ac6 100644 (file)
@@ -66,6 +66,13 @@ module odl-interface-rpc {
         input {
             leaf intf-name {
                 type string;
+                mandatory true;
+            }
+
+            leaf tunnel-key {
+                description "It can be VNI for VxLAN tunnel ifaces, Gre Key for GRE tunnels, etc.";
+                type uint32;
+                mandatory false;
             }
         }
         output {
@@ -78,6 +85,13 @@ module odl-interface-rpc {
         input {
             leaf intf-name {
                 type string;
+                mandatory true;
+            }
+
+            leaf tunnel-key {
+                description "It can be VNI for VxLAN tunnel ifaces, Gre Key for GRE tunnels, etc.";
+                type uint32;
+                mandatory false;
             }
         }
         output {