From 69fd8078a23dc93f7eddc9837ef08a6a0c08e6fe Mon Sep 17 00:00:00 2001 From: Gaurav Bhagwani Date: Fri, 13 Dec 2013 22:52:24 +0530 Subject: [PATCH] Adding Enum for Output -Port Values Signed-off-by: Gaurav Bhagwani Change-Id: Ic77422b4ce0b1f047df25ce820001707e90813d8 Signed-off-by: Ed Warnicke --- .../main/yang/opendaylight-flow-types.yang | 37 ++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) 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 +} -- 2.36.6