if (ec == null) continue;
f.setAccessible(true);
try {
Object obj = f.get(eventData);
switch(ec.description()) {
case DPID:
retMap.put(ec.name(), HexString.toHexString((Long) obj));
break;
case MAC:
retMap.put(ec.name(), HexString.toHexString((Long) obj, 6));