ofproto_v1_5_parser: Add missing field in OFPMeterFeaturesStats
"features" field is introduced in OpenFlow 1.5, but this field is not defined in ofproto_v1_5_parser.py. This patch adds this missing field. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
a1fd26f89a
commit
5cb8f8ccc7
@ -3309,7 +3309,7 @@ class OFPMeterDescStatsReply(OFPMultipartReply):
|
||||
|
||||
class OFPMeterFeaturesStats(ofproto_parser.namedtuple('OFPMeterFeaturesStats',
|
||||
('max_meter', 'band_types', 'capabilities',
|
||||
'max_bands', 'max_color'))):
|
||||
'max_bands', 'max_color', 'features'))):
|
||||
@classmethod
|
||||
def parser(cls, buf, offset):
|
||||
meter_features = struct.unpack_from(
|
||||
|
@ -5,6 +5,7 @@
|
||||
"OFPMeterFeaturesStats": {
|
||||
"band_types": 2147483654,
|
||||
"capabilities": 15,
|
||||
"features": 3,
|
||||
"max_bands": 255,
|
||||
"max_color": 0,
|
||||
"max_meter": 16777216
|
||||
|
Loading…
Reference in New Issue
Block a user