From 884639f281d4a8cd676e29bbbbdb4b0448cd9a82 Mon Sep 17 00:00:00 2001 From: HsiaoHsuan Date: Thu, 19 May 2016 07:19:45 -0700 Subject: [PATCH] Fix default value error in ryu adapter, refer to #102 --- adapter/ryu/omniui/omniui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapter/ryu/omniui/omniui.py b/adapter/ryu/omniui/omniui.py index 0331eda..a521c11 100644 --- a/adapter/ryu/omniui/omniui.py +++ b/adapter/ryu/omniui/omniui.py @@ -826,7 +826,7 @@ def ryuFlow_v1_3(self, dp, omniFlow): ryuFlow['match'].update(match) # handle mutiple actions - acts = omniFlow.get('actions').split(',') + acts = omniFlow.get('actions', '').split(',') for a in acts: action = self.to_action_v1_3(dp, a) if action is not None: