Hi all,

I have 2 questions about meters:

If OVS loses connection to controller it delete active flows but does not 
delete active meters. Shouldn't meters be deleted as well.

Meters are stored in an array in ofproto where meter_id is used as an index 
into the array.
The datapath need to pre-declare the array size using max_meters during a call 
to meter_get_features.
This puts a hard limit on the range of Meter IDs 0-max_meters.
It may be very convenient to the controller to have freedom in the selection of 
meter_id 32 bits in order to easily associate flows to meters.
For example: if the bridge states that max_meters=4 the controller may want to 
select meter-ids as a function of vlan: 1000, 1200, 1560, 3420.
Is it possible to change meters in ofproto from an array into hash?

The above was observed in openvswitch-2.1.2 release.

Thanks,
Gur

[E-Banner]<http://www.mrv.com/products/optidriver>


The contents of this message, together with any attachments, are intended only 
for the use of the person(s) to whom they are addressed and may contain 
confidential and/or privileged information. If you are not the intended 
recipient, immediately advise the sender, delete this message and any 
attachments and note that any distribution, or copying of this message, or any 
attachment, is prohibited.
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to