Adding Enum for Output -Port Values 14/3714/3
authorGaurav Bhagwani <gaurav.bhagwani@ericsson.com>
Fri, 13 Dec 2013 17:22:24 +0000 (22:52 +0530)
committerEd Warnicke <eaw@cisco.com>
Sat, 14 Dec 2013 14:06:24 +0000 (14:06 +0000)
Signed-off-by: Gaurav Bhagwani <gaurav.bhagwani@ericsson.com>
Change-Id: Ic77422b4ce0b1f047df25ce820001707e90813d8
Signed-off-by: Ed Warnicke <eaw@cisco.com>
opendaylight/md-sal/model/model-flow-base/src/main/yang/opendaylight-flow-types.yang

index 6e87cc6..f8d5a4e 100644 (file)
@@ -15,6 +15,41 @@ module opendaylight-flow-types {
     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 {
             key "order";
@@ -230,4 +265,4 @@ module opendaylight-flow-types {
             uses match:match;
         }
     }
-}
\ No newline at end of file
+}