hi, it seems that openflow implementations disagree about OFPMBT_ and encoding of ofp_meter_features.band_types. (see below) can anyone clarify which is spec-wise correct? i peeked the spec but it was unclear to me. i'm afraid that other feature bitmaps have similar problems.
YAMAMOTO Takashi linc: OFPMBT_DROP = 0 # this seems like a bug band_types = (1 << OFPMBT_DROP) = 1 # would be 2 with the above bug fixed ovs: OFPMBT_DROP = 1 band_types = (1 << (OFPMBT_DROP - 1)) = 1 # ofputil_meter_band_types_to_name has a comment saying "assume"... trema-edge: OFPMBT_DROP = 1 band_types = (1 << OFPMBT_DROP) = 2 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev