yang changes for scaling, 70/68170/5
authorEdw7n <n.edwin.anthony@ericsson.com>
Mon, 12 Feb 2018 17:50:07 +0000 (23:20 +0530)
committerFaseela K <faseela.k@ericsson.com>
Thu, 22 Mar 2018 13:07:08 +0000 (13:07 +0000)
to support corresponding netvirt changes

Change-Id: If29c11f61658a44f8b5614baddfe660782fb7c69
Signed-off-by: Edw7n <n.edwin.anthony@ericsson.com>
itm/itm-api/src/main/yang/itm-rpc.yang

index 0880c5d8f6cda0cb20b9185dc18bb13c45b9bced..5d390df8aa470a0eeedfc372c6df279a1dcc960d 100644 (file)
@@ -290,21 +290,23 @@ module itm-rpc {
         }
 
         rpc get-egress-actions-for-tunnel {
-            description "used to retrieve group actions to use from interface name";
+        description "used to retrieve group actions to use from interface name";
             input {
-                leaf source-node {
+                leaf intf-name {
                     type string;
                     mandatory true;
                 }
-                leaf destination-node {
-                    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;
                 }
 
-                leaf tunnel-type {
-                    type identityref {
-                        base odlif:tunnel-type-base;
-                    }
+                leaf action-key {
+                    description "By default action keys are incremented from zero, for custom initial value set action-key";
+                    type int32;
+                    mandatory false;
                 }
             }
             output {