ofproto meters: Keep provider meter_id over mods.
authorJarno Rajahalme <jrajahalme@nicira.com>
Fri, 13 Sep 2013 22:03:31 +0000 (15:03 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 16 Sep 2013 22:23:36 +0000 (15:23 -0700)
commite555eb7c38c38b170c165b2e4b9cd222f0fd20e8
tree05c3c68e79272d4c6fb6834ffcbb0d57ea5ab720
parentf0f8c6c221a890d0dc9476f9c76081afbc6c9392
ofproto meters: Keep provider meter_id over mods.

Changed the ofproto meter API to require the provider keep the provider
meter ID unchanged when modifying a meter.  This makes the mapping from
an OpenFlow meter ID to a datapath meter ID consistent over the lifetime
of the meter.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-provider.h
ofproto/ofproto.c