I'm sorry
can you help me? ;)

On Sun, Nov 9, 2014 at 3:29 PM, saeedeh karami <saeedehkaram...@gmail.com>
wrote:

> thanks Murphy for your attention
> i have another question, i want send, request_port_stats  for 2 port of a
> switch(port_no=3, port_no=4),  in pox, I want send my request twice within
> five seconds for both(port_no=3, port_no=4),also, I have
> written _handle_portstats_received(event) method out of class , and
> writhed core.openflow.addListenerByName("PortStatsReceived",
> _handle_portstats_received) in the lunch method. my question is how can i
> send my request for 2 port,  twice within five seconds? and i want
>  _handle_portstats_received method show report for Both time and for both
> port?
> can you body help me?
>
> On Tue, Oct 28, 2014 at 11:25 AM, Murphy McCauley <
> murphy.mccau...@gmail.com> wrote:
>
>> I think this has come up a number of times in the past few years on
>> nox-dev, pox-dev, and openflow-discuss.  For example, see:
>>
>> https://www.mail-archive.com/pox-dev@lists.noxrepo.org/msg01244.html
>>
>> The basic idea is that you sample the counters at time A and you sample
>> them at time B, subtract the first from the second and then divide by the
>> time between samples.  The biggest gotcha here is that it assumes the
>> traffic to and from the switch for the counter request/response, the
>> processing in the switch, and the processing in the controller take equal
>> time for each sample.  Depending on your needs for accuracy, you may want
>> to implement a strategy for detecting/mitigating the variance.
>>
>> Alternatively, if your switch supports some other monitoring system, it
>> may be more suitable for this task.  For example, IPFIX puts a timestamp in
>> the report packets, so variance in communication time between switch and
>> controller and within the controller don't matter.
>>
>> -- Murphy
>>
>> On Oct 28, 2014, at 12:16 AM, saeedeh karami <saeedehkaram...@gmail.com>
>> wrote:
>>
>> hi all,
>> i  have some information about flow on links(for example, links between
>> s1 and s2) by run of flow-state-request function in pox, now i want know,
>> how can i calculate traffic rate with this data?
>> can any body help me?
>>
>> On Mon, Oct 27, 2014 at 4:47 PM, saeedeh karami <
>> saeedehkaram...@gmail.com> wrote:
>>
>>>
>>> hi all,
>>> i  have some information about flow on links(for example, links between
>>> s1 and s2) by run of flow-state-request function in pox, now i want know,
>>> how can i calculate traffic rate with this data?
>>> can any body help me?
>>> --
>>> SaeedehKarami
>>>
>>
>>
>>
>> --
>> SaeedehKarami
>>
>>
>>
>
>
> --
> SaeedehKarami
>



-- 
SaeedehKarami

Reply via email to