Re: [Ryu-devel] Parsing DNS packets with Ryu?

2015-03-15 Thread 林哲緯
Hi, Matthew Hayes There is no DNS parser lib in Ryu but you can use dpkt (https://pypi.python.org/pypi/dpkt ) to parsing DNS packet. Cheers, Che-Wei Lin , John Lin Institute of Communication Engineering, National Tsing Hua Unive

Re: [Ryu-devel] Parsing DNS packets with Ryu?

2015-03-15 Thread YAMAMOTO Takashi
> Hi, > > > > Does anyone know a way to parse data from DNS requests / replies with Ryu? I > can't find a dns.py in the packet library? you're right, there's no dns support in our packet library. you need to write code to parse the payload. contributions are welcome. :-) alternatively you can

[Ryu-devel] Parsing DNS packets with Ryu?

2015-03-15 Thread Matthew Hayes
Hi, Does anyone know a way to parse data from DNS requests / replies with Ryu? I can't find a dns.py in the packet library? Thanks in advance, Matt -- Dive into the World of

Re: [Ryu-devel] [PATCH] ryu.app.ofctl: Handle a race with connection close

2015-03-15 Thread YAMAMOTO Takashi
fwiw the crash this patch would fix has been observed when testing neutron OVS-agent with ryu. > Report the failure to the client rather than crashing. > --- > ryu/app/ofctl/exception.py | 9 + > ryu/app/ofctl/service.py | 16 > 2 files changed, 21 insertions(+), 4 del

Re: [Ryu-devel] curl add flow w/ ipv6_exthdr mask

2015-03-15 Thread Yusuke Iwase
Hi Mark, Currently, curl command of ryu (ofctl_rest.py) is not support ipv6_exthdr with mask. I will make a patch. Thanks On 2015年03月16日 11:51, mark wrote: > Hi Sir, > > i would like to use curl to add flow w/ ipv6_exthdr mask in lab. > > i refer ryu/test/switches/0f13/match/39_IPV6_EXTHDR_Ma

Re: [Ryu-devel] [PATCH] Reduce logging overhead by cleaning up logging calls

2015-03-15 Thread YAMAMOTO Takashi
> Signed-off-by: Jerry Cen > Author: Mark Lentczner > Date: Fri, 13 Mar 2015 12:02:15 -0700 > Subject: [PATCH] Reduce logging overhead by cleaning up logging calls > > Deferred formatting to the logging system: > - > In general > logger.debug('xxx

Re: [Ryu-devel] Measuring link bandwidth between open vswitch and server

2015-03-15 Thread YAMAMOTO Takashi
> I have an open vswitch connected to a mininet host acting as a http server. > I want to monitor the bandwidth and delay of the link between open vswitch > and server. > How can I do that using openvswitch and controller like Ryu(or anything > else) assuming the server is heavily loaded, openflow

Re: [Ryu-devel] curl add flow w/ ipv6_exthdr mask

2015-03-15 Thread mark
Hi Sir, i would like to use curl to add flow w/ ipv6_exthdr mask in lab. i refer ryu/test/switches/0f13/match/39_IPV6_EXTHDR_Mask.json file, but i don't know how to set *"mask":496* in curl command. can you please kindly tell! Thanks mark "prerequisite":[ {

Re: [Ryu-devel] Openvswitch problem and mininet and ryu installation

2015-03-15 Thread YAMAMOTO Takashi
> Hi, > I have installed openvswitch but there is a problem with the > openvswitch-datapath-dkms Pls what can i do to solve this. > Second the ovs-vswitchd --version is only showing openflow 1.0 how will i > gat support for 1.3 and how will i configure it to work with ryu > successfully, I am

Re: [Ryu-devel] (no subject)

2015-03-15 Thread YAMAMOTO Takashi
hi, > Hello, > > I'm using ofsoftswitch13 installed on a router and connected it to > controller over wlan interface. I have used following commands in switch to > connect to controller > > ofdatapath punix:/var/run/dp0 -i wlan0 -d 0001 --detach > > ofprotocol unix:/var/run/dp0 tcp:10.1

Re: [Ryu-devel] ImportError: No module named ryu.cmd.manager

2015-03-15 Thread Talal Alharbi
>>> /ryu# ./bin/ryu-manager ryu/app/simple_switch.py Sent from my iPhone On Mar 16, 2015, at 12:04 PM, YAMAMOTO Takashi wrote: >> I installed it from >> https://github.com/osrg/ryu/wiki/OpenFlow_Tutorial >> >> I tried your suggestion but it's incorrect >> >> Any suggestion ??!! > > the pro

Re: [Ryu-devel] ImportError: No module named ryu.cmd.manager

2015-03-15 Thread YAMAMOTO Takashi
> I installed it from > https://github.com/osrg/ryu/wiki/OpenFlow_Tutorial > > I tried your suggestion but it's incorrect > > Any suggestion ??!! the procedure on the wiki seems working for me: kuma% mkdir /tmp/ryu kuma% cd /tmp/ryu kuma% git clone git://github.com/osrg/ryu.git

Re: [Ryu-devel] ImportError: No module named ryu.cmd.manager

2015-03-15 Thread Talal Alharbi
I installed it from https://github.com/osrg/ryu/wiki/OpenFlow_Tutorial I tried your suggestion but it's incorrect Any suggestion ??!! Best, Talal On Mar 13, 2015, at 6:11 PM, YAMAMOTO Takashi wrote: >> How to fix this ? >> >> >> /ryu# ./bin/ryu-manager ryu/app/simple_switch.py >> Tracebac