ofctl_nicira_ext: Fix not enough arguments for format string
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.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
8c5071e2db
commit
016ec1c644
|
@ -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}' %
|
||||
|
|
Loading…
Reference in New Issue