[Ryu-devel] FYI: Ryu 3.24 is Unable to Parse DHCP

2015-09-11 Thread A Sydney
Hi Ryu folks, This is just an observation... As shown in the reference below, I am unable to parse DHCP pkts with Ryu 3.24. However, the parser works just fine in 3.25. REF: http://codepad.org/3NaZK1fX Thanks, -Ali -

Re: [Ryu-devel] Possible bugs in dhcp parser

2015-08-31 Thread A Sydney
Thank you so much for your reply. Please see inline comments below: On Sun, Aug 30, 2015 at 8:52 AM, FUJITA Tomonori < fujita.tomon...@lab.ntt.co.jp> wrote: > Hi, thanks for the report! > > On Fri, 28 Aug 2015 16:52:41 -0400 > A Sydney wrote: > > > ... > > &

[Ryu-devel] Possible bugs in dhcp parser

2015-08-28 Thread A Sydney
Hi Ryu folks, I'm attempting to write a controller application which needs to extract the DHCP header from a packet-in using the dhcp parser in Ryu. I believe I have found a bug in the parser and have provided a possible fix below. In addition, I believe there may be a second bug. I

Re: [Ryu-devel] Possible bug in match.append_fields for mac addresses?

2015-08-16 Thread A Sydney
Match(oxm_fields={'eth_src': '02:a3:33:b2:2d:21'}) > > Thanks, > Iwase > > > On 2015年08月15日 11:33, Gandhimathi Velusamy wrote: > > Hi, > > > > I just tried to modify the code simple_switch_13.py in app folder of ryu. > > > > When packet

Re: [Ryu-devel] Possible bug in match.append_fields for mac addresses?

2015-08-14 Thread A Sydney
atch() match.set_in_port(4) match.set_dl_src("02:a3:33:b2:2d:21") print "matching:", match matching: OFPMatch(oxm_fields={}) But as shown, the output is empty REF: https://github.com/osrg/ryu/blob/master/ryu/app/rest_router.py#L1722 On Fri, Aug 14, 2015 at 2:13 PM, A Sydne

Re: [Ryu-devel] Possible bug in match.append_fields for mac addresses?

2015-08-14 Thread A Sydney
Any feedback? On Wed, Aug 12, 2015 at 5:29 PM, A Sydney wrote: > Hi Ryu folks, > This may be a trivial question... > > I'm using ryu 3.23.2 on CentOS 6.6 (OF 1.3). As shown below, when I insert > a mac address (02:a3:33:b2:2d:21), "appends_fie

[Ryu-devel] Possible bug in match.append_fields for mac addresses?

2015-08-12 Thread A Sydney
Hi Ryu folks, This may be a trivial question... I'm using ryu 3.23.2 on CentOS 6.6 (OF 1.3). As shown below, when I insert a mac address (02:a3:33:b2:2d:21), "appends_fields" seem to do something smart that results in "30:32:3a:61:33:3a" in "match" (as opposed to "02:a3:33:b2:2

Re: [Ryu-devel] Passing config file to Ryu app

2015-02-19 Thread A Sydney
of OFPHandler > test_param_int = 0 > test_param_str = test > test_param_jsn = { "switches" : [ { "dpid" : "b6-ad-fb-ca-08-45", "ports" > : [ { "port-number" : 1, "vlans" : [101, 102, 103] }, { "port-number" : 2, >

Re: [Ryu-devel] Passing config file to Ryu app

2015-02-16 Thread A Sydney
Any feedback? Thanks, Ali On Fri, Feb 13, 2015 at 10:34 AM, A Sydney wrote: > Thanks for the quick reply :) > > Perhaps I should expound a bit... > > Below is an example of such a config file I'd like to pass to my ryu > application: for each dpid, I'd like t

Re: [Ryu-devel] Passing config file to Ryu app

2015-02-13 Thread A Sydney
$ ryu-manager ryu.app.simple_switch_13 > loading app ryu.app.simple_switch_13 > loading app ryu.controller.ofp_handler > instantiating app ryu.app.simple_switch_13 of SimpleSwitch13 > instantiating app ryu.controller.ofp_handler of OFPHandler > test_param1 = 12345 > test_param

[Ryu-devel] Passing config file to Ryu app

2015-02-12 Thread A Sydney
Hi Ryu folks, I'd like to pass a configuration file to an OF 1.3 app (perhaps containing information of dpids and corresponding ports). The documentation says I could use "--config-file" to pass a file to an application, but how do I go about creating the file and extracting the