Got it, Thanks your help. BR, Jalee
-----Original Message----- From: takahashi.minoru [mailto:[email protected]] Sent: Monday, June 23, 2014 12:00 PM To: jalee; [email protected] Subject: Re: [Ryu-devel] About restAPI question for idel-timeout/hard-timeout On Sun, 22 Jun 2014 01:24:40 +0800 jalee <[email protected]> wrote: > Hi All, > > Can I use REST_API add idle-timeout/hard-timeout into the flow entry, could you tell me how can I edit it? > > Thanks, > > > > Jalee > > > > Such as: > > curl -d '{"cookie": "1", > > "dpid": "0000000000000001", set value as follows. eg. "idle_timeout": "30", "hard_timeout": "60", > > "priority": "23999", > > "match": {"in_port": "49", > > "dl_dst": "00901a400011"}, > > "actions": [{"type": "METER", "meter_id": "11"}, > > {"type": "OUTPUT", "port": "51"}]}' > http://10.1.25.52:8080/stats/meterentry/add and, please correct the URL as follows. {"type": "OUTPUT", "port": "51"}]}' http://10.1.25.52:8080/stats/flowentry/add ^^^^ > > > > > ====================================================================== > ============== This message may contain information which is private, > privileged or confidential of INNO-Tech Network & Service Inc. > If you are not the intended recipient of this message, please notify the sender and destroy/delete the message. > Any review, retransmission, dissemination or other use of, or taking > of any action in reliance upon this information, by persons or entities other than the intended recipient is prohibited. > ====================================================================== > ============== > > > ---------------------------------------------------------------------- > -------- HPCC Systems Open Source Big Data Platform from LexisNexis > Risk Solutions Find What Matters Most in Your Big Data with HPCC > Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. > Leverages Graph Analysis for Fast Processing & Easy Data Exploration > http://p.sf.net/sfu/hpccsystems > > > > _______________________________________________ > Ryu-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ryu-devel > ==================================================================================== This message may contain information which is private, privileged or confidential of INNO-Tech Network & Service Inc. If you are not the intended recipient of this message, please notify the sender and destroy/delete the message. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information, by persons or entities other than the intended recipient is prohibited. ==================================================================================== ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
