blob: 61c903d4c21dcb585449c2264230f7e562f05a01 [file] [log] [blame]
Dan Talaycof75360a2010-02-05 22:22:54 -08001
2# of_message specific controls
3
4# Do not include any arrays marked [0]
Dan Talayco11e598b2010-03-09 21:46:19 -08005IGNORE_ZERO_ARRAYS = True
Dan Talaycof75360a2010-02-05 22:22:54 -08006
7# Do not include the ofp_header as a member in any structure
8# This allows messages to be consistently generated as:
9# explicit header declaration
10# core member declaration
11# variable length data
Dan Talayco11e598b2010-03-09 21:46:19 -080012IGNORE_OFP_HEADER = True
Dan Talaycof75360a2010-02-05 22:22:54 -080013
14# Generate object equality functions
Dan Talayco11e598b2010-03-09 21:46:19 -080015GEN_OBJ_EQUALITY = True
Dan Talaycof75360a2010-02-05 22:22:54 -080016
17# Generate object show functions
Dan Talayco11e598b2010-03-09 21:46:19 -080018GEN_OBJ_SHOW = True
Dan Talaycof75360a2010-02-05 22:22:54 -080019
20# Generate lists of enum values
Dan Talayco11e598b2010-03-09 21:46:19 -080021GEN_ENUM_VALUES_LIST = False
Dan Talaycof75360a2010-02-05 22:22:54 -080022
23# Generate dictionary of enum strings to values
Dan Talayco11e598b2010-03-09 21:46:19 -080024GEN_ENUM_DICTIONARY = True
Dan Talaycoac1cb812010-02-06 20:34:18 -080025
26# Auxilary info: Stuff written to stdout for additional processing
27# Currently generates a (python) map from a class to a list of
28# the data members; used for documentation
Dan Talayco11e598b2010-03-09 21:46:19 -080029GEN_AUX_INFO = True