Thats correct, the script only exercises the OpenFlow plugin API which 
basically is used to push flows/groups/meters. Path Computation is something 
left to ODL applications.

> On Aug 18, 2016, at 3:50 AM, Selvakumar Murugasekaran 
> <[email protected]> wrote:
> 
> Hello Luis Gomez,
> 
> Good day to you.
> 
> We need a clarification about bulk flows install in single REST request.
> 
> Based on the the script(odl_tester.py) , we observed that the difference 
> between the "single flow install in single REST request" and  "bulk flows 
> install in single REST request" is only about the number of flow templates 
> sent per single REST request message. i.e., one flow template is sent for 
> single flow install and multiple flow templates are sent for bulk flows 
> install per REST request.
> 
> The above script sends bulk flows (REST request) to only one openflow switch 
> randomly.
> 
> Example: If 2 switch's connected in linear, the script send the bulk flows to 
> either openflow switch1 or switch2. 
> 
> As per our observation, the ODL controller only receive the REST request(HTTP 
> POST) and convert it to openflow "FLOW_MOD" message to OVS switch and does 
> not make any path computation based on the src/dst address via learnt 
> topology. 
> 
> Could you please clarify if the above observation is correct/expected?
> 
> Thanks and Regards,
> Selvakumar Murugasekaran.
> 
> 
> 
> On 8/15/2016 1:18 PM, Luis Gomez wrote:
>> BTW, there is also this test plan to illustrate how to use the odl_tester.py 
>> script:
>> 
>> https://wiki.opendaylight.org/view/Openflow:Testing#Test_Case_1_-_Northbound_.28REST.29_benchmark
>>  
>> <https://wiki.opendaylight.org/view/Openflow:Testing#Test_Case_1_-_Northbound_.28REST.29_benchmark>
>> 
>> 
>> 
>>> On Aug 15, 2016, at 12:30 AM, Luis Gomez <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> 
>>> Hi Selvakumar,
>>> 
>>> The odl_tester.py script supports a parameter called -fpr that indicates 
>>> how many flows you want to configure in a single REST request. The format 
>>> is very simple:
>>> 
>>> POST 
>>> http://localhost:8181/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/0
>>>  
>>> <http://localhost:8181/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/0>
>>> 
>>> {
>>>      "flow": [
>>>        {
>>>          "id": "2",
>>>          "match": {
>>>            "ethernet-match": {
>>>              "ethernet-type": {
>>>                "type": 2048
>>>              }
>>>            },
>>>            "ipv4-destination": "10.0.20.0/24"
>>>          },
>>>          "priority": 2,
>>>          "table_id": 0
>>>        },
>>>        {
>>>          "id": "1",
>>>          "match": {
>>>            "ethernet-match": {
>>>              "ethernet-type": {
>>>                "type": 2048
>>>              }
>>>            },
>>>            "ipv4-destination": "10.0.10.0/24"
>>>          },
>>>          "priority": 2,
>>>          "table_id": 0
>>>        }
>>>      ]
>>> }
>>> 
>>> BR/Luis
>>> 
>>> 
>>>> On Aug 8, 2016, at 12:41 AM, Selvakumar Murugasekaran 
>>>> <[email protected] 
>>>> <mailto:[email protected]>> wrote:
>>>> 
>>>> Hello Luis Gomez,
>>>> 
>>>> Good day to you.
>>>> 
>>>> We are trying to install bulk flows from northbound interface in single 
>>>> request(HTTP POST/PUT) message .
>>>> 
>>>> Regarding that we are searching the script to send the bulk flows in 
>>>> single request message.
>>>> 
>>>> Could you please share us if you have any script to install bulk flows 
>>>> from northbound interface in single request message?
>>>> 
>>>> Let me know if you need any more information.
>>>> 
>>>> 
>>>> Thanks and Regards,
>>>> Selvakumar M 
>>>> 
>>>> On 6/24/2016 4:59 AM, Luis Gomez wrote:
>>>>> Sure, here are our controller NB scripts:
>>>>> 
>>>>> https://git.opendaylight.org/gerrit/gitweb?p=integration/test.git;a=tree;f=tools/odl-mdsal-clustering-tests/clustering-performance-test
>>>>>  
>>>>> <https://git.opendaylight.org/gerrit/gitweb?p=integration/test.git;a=tree;f=tools/odl-mdsal-clustering-tests/clustering-performance-test>
>>>>> 
>>>>> And some info:
>>>>> 
>>>>> https://wiki.opendaylight.org/view/CrossProject:Integration_Group:Performance_Tests#RESTCONF_Performance_.26_Scale_Tools_2
>>>>>  
>>>>> <https://wiki.opendaylight.org/view/CrossProject:Integration_Group:Performance_Tests#RESTCONF_Performance_.26_Scale_Tools_2>
>>>>> 
>>>>> For ODL NB test I would recommend the odl_tester.py
>>>>> 
>>>>> BR/Luis
>>>>> 
>>>>> 
>>>>>> On Jun 22, 2016, at 10:15 PM, Selvakumar Murugasekaran 
>>>>>> <[email protected]> 
>>>>>> <mailto:[email protected]> wrote:
>>>>>> 
>>>>>> Hello all,
>>>>>> 
>>>>>> Good day to you,
>>>>>> 
>>>>>> I am planing to do benchmark the performance of ODL beryllium controller 
>>>>>> in proactive mode.
>>>>>> 
>>>>>> I am searching the script to install the flow from 
>>>>>> northbound(Application) interface to controller.
>>>>>> 
>>>>>> Could you please help me to find the script for the same ?
>>>>>> 
>>>>>> Let me know if you need any more information.
>>>>>> 
>>>>>> 
>>>>>> Thanks and Regards,
>>>>>> Selvakumar Murugasekaran.
>>>>> 
>>>> 
>>> 
>> 
> 

_______________________________________________
L2switch-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/l2switch-dev

Reply via email to