loxi-prep: rename action_list.add to append
For consistency with the list type.
diff --git a/tests/port_stats.py b/tests/port_stats.py
index 8aeefa4..b4815c2 100644
--- a/tests/port_stats.py
+++ b/tests/port_stats.py
@@ -170,7 +170,7 @@
flow_mod_msg.idle_timeout = 0
flow_mod_msg.hard_timeout = 0
act.port = egress_port
- flow_mod_msg.actions.add(act)
+ flow_mod_msg.actions.append(act)
# send flow
logging.info("Inserting flow")
@@ -216,7 +216,7 @@
flow_mod_msg.hard_timeout = 0
act = ofp.action.output()
act.port = egress_port
- flow_mod_msg.actions.add(act)
+ flow_mod_msg.actions.append(act)
logging.info("Ingress " + str(ingress_port) +
" to egress " + str(egress_port))
@@ -293,7 +293,7 @@
flow_mod_msg.hard_timeout = 0
act = ofp.action.output()
act.port = egress_port
- flow_mod_msg.actions.add(act)
+ flow_mod_msg.actions.append(act)
logging.info("Ingress " + str(ingress_port) +
" to egress " + str(egress_port))