Expand field/action conversion scope of ofagent

Ofagent did not parse all fields back from protobuf to lexi,
hence ONOS was not able to confirm downloaded flows. This
made her unhappy.

Also, DHCP config info is added to ONOS netcfg.json.

Change-Id: I57ac5d3b4d14c8c52feb52e08bb420c15809238e
diff --git a/ponsim/ponsim.py b/ponsim/ponsim.py
index 3086ff5..f041171 100644
--- a/ponsim/ponsim.py
+++ b/ponsim/ponsim.py
@@ -101,6 +101,10 @@
             if f.haslayer(IP):
                 return f.getlayer(IP).dst
 
+        def get_udp_src(f):
+            if f.haslayer(UDP):
+                return f.getlayer(UDP).sport
+
         def get_udp_dst(f):
             if f.haslayer(UDP):
                 return f.getlayer(UDP).dport
@@ -137,6 +141,10 @@
                 if ipv4int2str(field.ipv4_dst) != get_ipv4_dst(frame):
                     return False
 
+            elif field.type == UDP_SRC:
+                if field.udp_src != get_udp_src(frame):
+                    return False
+
             elif field.type == UDP_DST:
                 if field.udp_dst != get_udp_dst(frame):
                     return False