[ovs-dev] band types
YAMAMOTO Takashi
yamamoto at valinux.co.jp
Tue Jul 16 04:43:15 UTC 2013
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
More information about the dev
mailing list