[Ryu-devel] how to configure ofagent in multi-node openstack?

2015-08-19 Thread xueguan...@hotmail.com
Hi,All, I want to test ofagent in openstack,my enviroment is: openstack kilo multi-node deploy(compute+network/controller) i refer to the link below: https://github.com/osrg/ryu/wiki/Configuration-OpenStack-OFAgent-agent now the br-int is connected to localhost controller,but br-tun & br-ex is n

Re: [Ryu-devel] [IMPORTANT]: Query regarding BGP Speaker and BGP Peer States.

2015-08-19 Thread FUJITA Tomonori
On Wed, 19 Aug 2015 13:21:25 +0530 Vikram Choudhary wrote: > The provided function looks good. Will test and let you know. Thanks! > We are targeting Liberty-3. I see. > Do you normally hangout over the IRC's? Nowadays, I'm not on any IRC channels. -

Re: [Ryu-devel] A bug of ofctl_rest.py

2015-08-19 Thread Yusuke Iwase
Hi, On 2015年08月20日 01:15, Liu, Weijie wrote: > Hi, > > I am using ofctl_rest.py and maybe find a bug. > > I used "match = parser.OFPMatch(metadata=(15,255), tunnel_id=(31,255))" as > the match with OpenFlow 1.3. > > After that, I used "/stats/flow/" of ofctl_rest.py to see the flow > rules.

Re: [Ryu-devel] Fwd: Failure while adding flow using curl.

2015-08-19 Thread vinay pai
Hi Iwase, Thank you so much for your response! Yes the inputs seemed fine to me as well and hence I was confused as to what mistake I was doing. I am using a Cisco switch. It might be a bug from the switch side. Let me get back to you on this. Thanks again! Regards, Vinay Pai B.H. On Wed, Aug

Re: [Ryu-devel] Fwd: Failure while adding flow using curl.

2015-08-19 Thread Yusuke Iwase
Hi, > error msg ev version: 0x4 msg_type 0x1 xid 0xf6b65182 OFPErrorMsg(code=5, > ..., type=4) This message shows the error type is 4 (OFPET_BAD_MATCH) and the error code is 5 (OFPBMC_BAD_WILDCARDS). OFPBMC_BAD_WILDCARDS is described at "7.2.3.4 Flow Matching" in OpenFlow Spec 1.3.4. By the w

[Ryu-devel] Fwd: Failure while adding flow using curl.

2015-08-19 Thread vinay pai
Hi Ryu Developers, I am not able to make any progress because of this issue and would be really grateful if anyone could help me out with this. I can figure out that type 0x1 (which meant bad request) and and code = 5 which means OFPBAC_BAD_ARGUMENT. Am I passing any bad argument? Any pointers wi

Re: [Ryu-devel] problem with receiving barrier reply

2015-08-19 Thread Andre Schütze
Thank you for taking some time and get into the problem. I already solve the problem. I implement the method in the wrong class. Am 17.08.2015 um 17:09 schrieb FUJITA Tomonori: > On Thu, 13 Aug 2015 23:52:05 +0200 > Andre Schütze wrote: > >> Hallo ryu - devel team, >> >> I try to implement an Op

[Ryu-devel] A bug of ofctl_rest.py

2015-08-19 Thread Liu, Weijie
Hi, I am using ofctl_rest.py and maybe find a bug. I used "match = parser.OFPMatch(metadata=(15,255), tunnel_id=(31,255))" as the match with OpenFlow 1.3. After that, I used "/stats/flow/" of ofctl_rest.py to see the flow rules. But it returned: Traceback (most recent call last): File "/h

Re: [Ryu-devel] Send packet-out with buffer_id to reprocess error

2015-08-19 Thread Vinllen Chen
Got it, Thankyou Yi On Wed, Aug 19, 2015 at 6:48 PM, Yi Tseng wrote: > Hi > > In OpenFlow 1.3 spec > > buffer_id will be OFP_NO_BUFFER(0x) if switch disable buffer (or > there's no buffer in switch). > > > -- > Yi > > 2015-08-19 17:58 GMT+08:00 Vinllen Chen : > >> Hi, Yi, >> >> My switch

Re: [Ryu-devel] Send packet-out with buffer_id to reprocess error

2015-08-19 Thread Yi Tseng
Hi In OpenFlow 1.3 spec buffer_id will be OFP_NO_BUFFER(0x) if switch disable buffer (or there's no buffer in switch). -- Yi 2015-08-19 17:58 GMT+08:00 Vinllen Chen : > Hi, Yi, > > My switch is hardware switch. The app is written by myself. > So buffer_id equal 0 means disabling buffe

Re: [Ryu-devel] Send packet-out with buffer_id to reprocess error

2015-08-19 Thread Vinllen Chen
Hi, Yi, My switch is hardware switch. The app is written by myself. So buffer_id equal 0 means disabling buffering, am i right ? On Wed, Aug 19, 2015 at 4:35 PM, Yi Tseng wrote: > Hi > > What switch(ovs? LINE? or real hardware?) you use? > > Did you use simple_switch_13? simple_switch_13 use OF

Re: [Ryu-devel] Send packet-out with buffer_id to reprocess error

2015-08-19 Thread Yi Tseng
Hi What switch(ovs? LINE? or real hardware?) you use? Did you use simple_switch_13? simple_switch_13 use OFPCML_NO_BUFFER for packet in (line 47) -- Yi 2015-08-19 16:07 GMT+08:00 Vinllen Chen : > Hi, Yi, > > Do you kown the reason that the buffer_id of message is always 0 ? Does it > means th

Re: [Ryu-devel] Send packet-out with buffer_id to reprocess error

2015-08-19 Thread Vinllen Chen
Hi, Yi, Do you kown the reason that the buffer_id of message is always 0 ? Does it means that the switch disable the buffering ? Thankyou verymuch. On Wed, Aug 19, 2015 at 3:34 PM, Vinllen Chen wrote: > Aha, It helped me, thankyou Yi ^_^ > > On Wed, Aug 19, 2015 at 3:13 PM, Yi Tseng wrote: >

Re: [Ryu-devel] [IMPORTANT]: Query regarding BGP Speaker and BGP Peer States.

2015-08-19 Thread Vikram Choudhary
Hi Fujita, The provided function looks good. Will test and let you know. We are targeting Liberty-3. Do you normally hangout over the IRC's? Thanks Vikram On Wed, Aug 19, 2015 at 6:05 AM, FUJITA Tomonori < fujita.tomon...@lab.ntt.co.jp> wrote: > On Mon, 17 Aug 2015 23:19:55 +0900 (JST) > FUJ

Re: [Ryu-devel] Send packet-out with buffer_id to reprocess error

2015-08-19 Thread Vinllen Chen
Aha, It helped me, thankyou Yi ^_^ On Wed, Aug 19, 2015 at 3:13 PM, Yi Tseng wrote: > Hi > > "data" should be None if you want to use buffer id. > > so the code should look like this: > > out = datapath.ofproto_parser.OFPPacketOut( > datapath = datapath, > buffer_id = msg.buffer_id, >

Re: [Ryu-devel] how to configure ofagent in multi-node openstack?

2015-08-19 Thread xueguanwen
sorry,all,the format of previous mail is unreadable,so i attach the operations to a txt file. Hi,All,I want to test ofagent in openstack,my enviroment is:openstack kilomulti-node deploy(compute+network/controller)i refer to the link below:https://github.com/osrg/ryu/wiki/Configuration-OpenStack-

[Ryu-devel] Send packet-out with buffer_id to reprocess error

2015-08-19 Thread Vinllen Chen
Hi, all, I want to send packet-out message with buffer_id to let the packet to be reprocess to rego through the pipeline: actions = [] actions.append(datapath.ofproto_parser.OFPActionOutput( datapath.ofproto.OFPP_TABLE)