MD-SAL Statistics Manger - Added support for fetching port statistics
[controller.git] / opendaylight / md-sal / model / model-flow-base / src / main / yang / opendaylight-flow-types.yang
index 6e87cc6f1c5642530c7175bcc7774da93824317e..2bcd40522330901eaaf08824d68680cfdb48d381 100644 (file)
@@ -12,8 +12,40 @@ module opendaylight-flow-types {
         description "Initial revision of flow service";
     }
     
-    typedef table-id {
-       type uint8;
+    typedef output-port-values {
+        type enumeration {
+            enum MAX {
+                value 1;
+            }
+            enum IN_PORT {
+                value 2;
+            }
+            enum TABLE {
+                value 3;
+            }
+            enum NORMAL {
+                value 4;
+            }
+            enum FLOOD {
+                value 5;
+            }
+            enum ALL {
+                value 6;
+            }
+            enum CONTROLLER {
+                value 7;
+            }
+            enum LOCAL {
+                value 8;
+            }
+            enum ANY {
+                value 9;
+            }
+            enum NONE {
+                value 10;
+            }
+
+        }
     }
     grouping instruction-list {
         list instruction {
@@ -230,4 +262,4 @@ module opendaylight-flow-types {
             uses match:match;
         }
     }
-}
\ No newline at end of file
+}