pyloxi: use OFClass directly
It now includes everything we need except pyname.
diff --git a/py_gen/templates/meter_band.py b/py_gen/templates/meter_band.py
index 37cc6d9..3273314 100644
--- a/py_gen/templates/meter_band.py
+++ b/py_gen/templates/meter_band.py
@@ -54,7 +54,7 @@
:: #endfor
parsers = {
-:: sort_key = lambda x: x.type_members[0].value
+:: sort_key = lambda x: x.member_by_name('type').value
:: msgtype_groups = itertools.groupby(sorted(ofclasses, key=sort_key), sort_key)
:: for (k, v) in msgtype_groups:
:: k = util.constant_for_value(version, "ofp_meter_band_type", k)