Re: [Ryu-devel] Question about switch memory and finding out about flow size

2016-12-04 Thread Iwase Yusuke
Hi,


On 2016年12月03日 19:51, Moh'd Reza Abbasi wrote:
> So, OpenFlow protocol doesn't have any feature to know about the total
> flow-table size (memory size) or how much of the flow-table is available?

AFAIK, the OpenFlow Spec does not mention about the memory usage or allocation
on the OpenFlow switch.

"OpenFlow" defines just protocol between switch and controller, and some
requirements for switch interfaces.
So, does not mention about implementations.


>> Have you tried to contact your switch's team?
>
> I am working alone, it is for my personal use and interest, and I was
> looking for something general which can be true for most of the available
> switches

FYI, Ryu provides the "OpenFlow Switch Test Tool".
   http://osrg.github.io/ryu-book/en/html/switch_test_tool.html
This test suite checks the compatibility of the OpenFlow switches and ouputs
the reports.
   http://osrg.github.io/ryu/certification.html


Thanks,
Iwase


>
> On Fri, Dec 2, 2016 at 1:02 AM, Iwase Yusuke 
> wrote:
>
>> Hi,
>>
>> Hummm... it is depending on the implementation of your switch, I guess.
>>
>> The length of the OpenFlow messages in bytes can be retried from
>> ofp_header,
>> but how to allocate memory for those rules is not mentioned on the OpenFlow
>> Spec.
>>
>> Have you tried to contact your switch's team?
>>
>> Thanks,
>> Iwase
>>
>>
>> On 2016年11月28日 21:50, Moh'd Reza Abbasi wrote:
>>
>>> Hello all,
>>> I am new to SDN and Ryu controller world, so I have couple of questions:
>>>
>>>1. How can I find out about switch TCAM capacity and available memory?
>>>2. How can I find out about a flow size before installing the
>>> flow-rules
>>>in the switches and establishing the path between the source and the
>>>destination?
>>>
>>>
>>> Thanks in advance
>>>
>>>
>>>
>>> 
>>> --
>>>
>>>
>>>
>>> ___
>>> Ryu-devel mailing list
>>> Ryu-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>>
>>>
>
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>
>
>
> ___
> Ryu-devel mailing list
> Ryu-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>

--
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


Re: [Ryu-devel] Question about switch memory and finding out about flow size

2016-12-01 Thread Iwase Yusuke
Hi,

Hummm... it is depending on the implementation of your switch, I guess.

The length of the OpenFlow messages in bytes can be retried from ofp_header,
but how to allocate memory for those rules is not mentioned on the OpenFlow
Spec.

Have you tried to contact your switch's team?

Thanks,
Iwase


On 2016年11月28日 21:50, Moh'd Reza Abbasi wrote:
> Hello all,
> I am new to SDN and Ryu controller world, so I have couple of questions:
>
>1. How can I find out about switch TCAM capacity and available memory?
>2. How can I find out about a flow size before installing the flow-rules
>in the switches and establishing the path between the source and the
>destination?
>
>
> Thanks in advance
>
>
>
> --
>
>
>
> ___
> Ryu-devel mailing list
> Ryu-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


[Ryu-devel] Question about switch memory and finding out about flow size

2016-11-28 Thread Moh'd Reza Abbasi
Hello all,
I am new to SDN and Ryu controller world, so I have couple of questions:

   1. How can I find out about switch TCAM capacity and available memory?
   2. How can I find out about a flow size before installing the flow-rules
   in the switches and establishing the path between the source and the
   destination?


Thanks in advance
--
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel