Merge "Added the Buffer-Id to packet-in."
[controller.git] / opendaylight / md-sal / model / model-flow-service / src / main / yang / packet-processing.yang
index 50368e46a6a3f100725ac2fa80f3bca4eb9dcec2..022c623afd62d598dfd3d0897db5abf21c68e056 100644 (file)
@@ -16,6 +16,10 @@ module packet-processing {
         description "";
     }
 
+    typedef buffer-id {
+        type uint32;
+    }
+
     typedef connection-cookie {
         type uint32;
     }
@@ -59,6 +63,11 @@ module packet-processing {
     }
 
     notification packet-received {
+
+        leaf buffer-id {
+            type buffer-id;
+        }
+
        leaf connection-cookie {
                 type connection-cookie;
         }
@@ -96,7 +105,7 @@ module packet-processing {
                        type inv:node-connector-ref;
                }
             leaf buffer-id {
-                  type uint32;
+                  type buffer-id;
             }
 
                uses raw-packet;