Fixed two bugs in OpenFlow land

Change-Id: I74f37221d93c71398a1985143f03706297bd1661
diff --git a/ofagent/converter.py b/ofagent/converter.py
index f18d07e..a7ec653 100644
--- a/ofagent/converter.py
+++ b/ofagent/converter.py
@@ -122,7 +122,7 @@
 def loxi_group_mod_to_ofp_group_mod(lo):
     return pb2.ofp_group_mod(
         command=lo.command,
-        type=lo.type,
+        type=lo.group_type,
         group_id=lo.group_id,
         buckets=[to_grpc(b) for b in lo.buckets])