Dan Talayco | f75360a | 2010-02-05 22:22:54 -0800 | [diff] [blame] | 1 | |
| 2 | # of_message specific controls |
| 3 | |
| 4 | # Do not include any arrays marked [0] |
Dan Talayco | 11e598b | 2010-03-09 21:46:19 -0800 | [diff] [blame^] | 5 | IGNORE_ZERO_ARRAYS = True |
Dan Talayco | f75360a | 2010-02-05 22:22:54 -0800 | [diff] [blame] | 6 | |
| 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 Talayco | 11e598b | 2010-03-09 21:46:19 -0800 | [diff] [blame^] | 12 | IGNORE_OFP_HEADER = True |
Dan Talayco | f75360a | 2010-02-05 22:22:54 -0800 | [diff] [blame] | 13 | |
| 14 | # Generate object equality functions |
Dan Talayco | 11e598b | 2010-03-09 21:46:19 -0800 | [diff] [blame^] | 15 | GEN_OBJ_EQUALITY = True |
Dan Talayco | f75360a | 2010-02-05 22:22:54 -0800 | [diff] [blame] | 16 | |
| 17 | # Generate object show functions |
Dan Talayco | 11e598b | 2010-03-09 21:46:19 -0800 | [diff] [blame^] | 18 | GEN_OBJ_SHOW = True |
Dan Talayco | f75360a | 2010-02-05 22:22:54 -0800 | [diff] [blame] | 19 | |
| 20 | # Generate lists of enum values |
Dan Talayco | 11e598b | 2010-03-09 21:46:19 -0800 | [diff] [blame^] | 21 | GEN_ENUM_VALUES_LIST = False |
Dan Talayco | f75360a | 2010-02-05 22:22:54 -0800 | [diff] [blame] | 22 | |
| 23 | # Generate dictionary of enum strings to values |
Dan Talayco | 11e598b | 2010-03-09 21:46:19 -0800 | [diff] [blame^] | 24 | GEN_ENUM_DICTIONARY = True |
Dan Talayco | ac1cb81 | 2010-02-06 20:34:18 -0800 | [diff] [blame] | 25 | |
| 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 Talayco | 11e598b | 2010-03-09 21:46:19 -0800 | [diff] [blame^] | 29 | GEN_AUX_INFO = True |