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]> 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
> 
> {
>      "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]> 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
>>> 
>>> And some info:
>>> 
>>> 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]> 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