Re: [Ryu-devel] Curl command to add multiple buckets with same group.

2014-11-12 Thread Ashok Jude
Thank you!. This works! On 11/12/14, 4:13 PM, "Yusuke Iwase" wrote: >Hi, > >You can describe buckets as comma-separated array. >How about this command like as follows? > >$ curl -X POST -d '{ >"dpid": 1, >"type": "ALL", >"group_id": 1, >"buckets": [ >{ >"actio

Re: [Ryu-devel] Curl command to add multiple buckets with same group.

2014-11-12 Thread Yusuke Iwase
Hi, You can describe buckets as comma-separated array. How about this command like as follows? $ curl -X POST -d '{ "dpid": 1, "type": "ALL", "group_id": 1, "buckets": [ { "actions":[ { "type": "DEC_MPLS_TTL"

[Ryu-devel] Curl command to add multiple buckets with same group.

2014-11-11 Thread Ashok Jude
Hi All I am able to add one bucket per group using the below command. I wanted to add more buckets to same groupID. Can you please give me the curl command for that? Not abe to find with search. Basically, each bucket should have different actions. curl -X POST -d '{ \ "dpid": 71145865295