Added the Buffer-Id to packet-in. 68/9968/1
authorAndré Martins <aanm@ua.pt>
Fri, 15 Aug 2014 02:10:08 +0000 (03:10 +0100)
committerAndré Martins <aanm@ua.pt>
Fri, 15 Aug 2014 02:13:14 +0000 (03:13 +0100)
Acordingly with OF-spec Packet-In have a Buffer-Id.

Change-Id: I93a1007a48d1d29c34d981ef6965b3062ad8fc4b
Signed-off-by: André Martins <aanm@ua.pt>
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;