Currently, the assignment for 'table_id' is missing in the arguments of str representation. This patch fixes this problem.
Signed-off-by: IWASE Yusuke <iwase.yusu...@gmail.com> --- ryu/lib/ofctl_nicira_ext.py | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/ryu/lib/ofctl_nicira_ext.py b/ryu/lib/ofctl_nicira_ext.py index 0cfa3a0..98f5167 100644 --- a/ryu/lib/ofctl_nicira_ext.py +++ b/ryu/lib/ofctl_nicira_ext.py @@ -108,11 +108,16 @@ def action_to_str(act, ofctl_action_to_str): 'table_id: %s, ' 'fin_idle_timeout: %s, ' 'fin_hard_timeout: %s, ' - 'specs: %s}' % (act.idle_timeout, act.hard_timeout, - act.priority, act.cookie, act.flags, - act.fin_idle_timeout, - act.self.fin_hard_timeout, - specs)) + 'specs: %s}' % + (act.idle_timeout, + act.hard_timeout, + act.priority, + act.cookie, + act.flags, + act.table_id, + act.fin_idle_timeout, + act.self.fin_hard_timeout, + specs)) elif sub_type == nicira_ext.NXAST_CONJUNCTION: return ('NX_CONJUNCTION: {clause: %s, number_of_clauses: %s, id: %s}' % -- 2.7.4 ------------------------------------------------------------------------------ _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel