vppapigen: expose the values of per-message "options" in the api.json files
[vpp.git] / src / tools / vppapigen / vppapigen_json.py
index 93ec21f..5fa839f 100644 (file)
@@ -77,6 +77,7 @@ def walk_defs(s, is_message=False):
         if is_message and t.crc:
             c = {}
             c['crc'] = "{0:#0{1}x}".format(t.crc, 10)
+            c['options'] = t.options
             d.append(c)
 
         r.append(d)