of12: support actions keyword argument in packet_out message
diff --git a/src/python/of12/action_list.py b/src/python/of12/action_list.py
index f3c0723..78341e2 100644
--- a/src/python/of12/action_list.py
+++ b/src/python/of12/action_list.py
@@ -41,9 +41,11 @@
 
     """
 
-    def __init__(self):
+    def __init__(self, actions=None):
         ofp_base_list.__init__(self)
         self.actions = self.items
+        if actions:
+            self.actions.extend(actions)
         self.name = "action"
         self.class_list = action_class_list