Hi,
I might be wrong but I want to give you my 5 cents.
For the case you explained a meter is a non-sense since you can
already check the usage of the flow in the input to know if it is
below 10Mbps BUT if you want to know if the addition of X hosts (X big
enough) are using less than 10Mbps, then the easiest way is to put a
Meter on the input device and point all the input flows to that meter.
With that you will easily calculate how much bandwidth is being used.
Look at
OFPMF_STATS = 1 << 3, /* Collect statistics. */
in the openflow standard.
This is a flag to be set, although not sure if that can only be used
with EXPERIMETER type of Meter.
On the other hand you have the OFPMP_AGGREGATE message to aggregate
the statistics from multiple flows but in that case you have to be
"polling" the info (If I'm not wrong) and with the meter the info
would come automatically with the Meter Stats.
As Luca said, intentframework is your friend here.
@Luca: is there a way to obtain the paths actually used by a precise
intent? and the flows? If so, this info could be used to look at the
statistics.
Regards
Jordi
> "Northbound brigade" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
brigade-northbo...@onosproject.org.
> To post to this group, send email to
brigade-n...@onosproject.org.
> Visit this group at
>
https://groups.google.com/a/onosproject.org/group/brigade-northbound/.
> To view this discussion on the web visit
>
https://groups.google.com/a/onosproject.org/d/msgid/brigade-northbound/56dbbf1d-4f5e-42c3-ba44-2d1a78611bf7%40onosproject.org.
>
> For more options, visit
>
https://groups.google.com/a/onosproject.org/d/optout.