From: Gaurav Bhagwani Date: Fri, 13 Dec 2013 17:22:24 +0000 (+0530) Subject: Adding Enum for Output -Port Values X-Git-Tag: jenkins-controller-bulk-release-prepare-only-2-1~190^2 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=69fd8078a23dc93f7eddc9837ef08a6a0c08e6fe Adding Enum for Output -Port Values Signed-off-by: Gaurav Bhagwani Change-Id: Ic77422b4ce0b1f047df25ce820001707e90813d8 Signed-off-by: Ed Warnicke --- diff --git a/opendaylight/md-sal/model/model-flow-base/src/main/yang/opendaylight-flow-types.yang b/opendaylight/md-sal/model/model-flow-base/src/main/yang/opendaylight-flow-types.yang index 6e87cc6f1c..f8d5a4e2bd 100644 --- a/opendaylight/md-sal/model/model-flow-base/src/main/yang/opendaylight-flow-types.yang +++ b/opendaylight/md-sal/model/model-flow-base/src/main/yang/opendaylight-flow-types.yang @@ -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 +}