Re: [nox-dev] error in programming flow

2011-12-12 Thread Beeram, Suresh KumarReddy
Hi all,
I tried to program flow on switch using nox controller API 
send_openflow_command(...) controller throws error code as

00099|openflow-event|ERR:received Openflow error packet from 
dpid=a0024a8d74840: type=2, code=4, 64 bytes of data

Can  anyone explain me how to debug this error?

Thanks
-B Suresh Kumar Reddy

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev


Re: [nox-dev] how to add flow through NOX

2011-12-12 Thread Murphy McCauley
There's no simple manual way to add a flow using NOX -- you must write code 
in C++ or Python to add flows.  However, you could certainly write a NOX 
component that accepts user input and uses it to add flows.

Hope that helps.

-- Murphy

On Dec 12, 2011, at 10:48 AM, Shan Hu wrote:

 Hi All,
 
 I want to ask if there is a way to manually add flow through NOX controller? 
 For now i only know that i can add flow with
 command ./ovs-ofctl add-flow ... and apparently it runs on openvswitch and 
 has nothing to do with controller.
 
 Regards,
 Shan
 ___
 nox-dev mailing list
 nox-dev@noxrepo.org
 http://noxrepo.org/mailman/listinfo/nox-dev

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev


Re: [nox-dev] what is the difference between pyswitch and routing module?

2011-12-12 Thread linbo
Hi,Murphy!
I remember there was an earlier thread:
http://noxrepo.org/pipermail/nox-dev/2011-April/007494.html

It said that nox couldn't support conventional IP routing beforeļ¼Œso does the 
routing module making nox as a IP router now?
Thank you!



linbo

From: Murphy McCauley
Date: 2011-11-04 00:44
To: Shan Hu
CC: nox-dev
Subject: Re: [nox-dev] what is the difference between pyswitch and routing 
module?
pyswitch is intended to be a very simple demo and does something along the 
lines of making each switch in the network a standalone L2 learning switch.  
Each switch gets no insight about the topology from its neighbors.  routing 
actually uses a global view of the topology, and can just generate optimal 
paths between any two endpoints.

A major result of this is that when running pyswitch, each switch needs to 
learn which port to use for each destination.  Before it learns, each switch 
will need to flood packets for destinations it doesn't know yet -- a lot of 
packets will get sent the wrong way.  With routing, once ANY switch can 
determine where a destination is, the entire system knows.  Additionally, 
pyswitch's reliance on flooding is problematic for topologies with loops -- 
it's easy for packets to unknown destinations to loop indefinitely.

Hope that helps clear things up.

-- Murphy

On Nov 2, 2011, at 11:34 AM, Shan Hu wrote:

 I'm wondering what's the different between routing module and pyswitch module?
 
 I can find from wiki that routing is basically a forwarding module. but what 
 about pyswitch?
 
 Because after i connected 3 openvswitchs(like this:host1 -- ovs1 -- ovs2 -- 
 ovs3 --host2),i firstly ran pyswitch module,then host1 can ping host2, 
 however,i tried to run UDP traffic test,and found that the larger bandwidth i 
 use, the more packet loss there are.
 Then i stopped pyswitch module and ran routing module, then host1 still can 
 ping host2, and the UDP traffic test works well, almost all the packets are 
 transfered from host1 to host2.
 
 why this happened?
 
 Shan 
 ___
 nox-dev mailing list
 nox-dev@noxrepo.org
 http://noxrepo.org/mailman/listinfo/nox-dev

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev


__ Information from ESET Smart Security, version of virus signature 
database 6409 (20110825) __

The message was checked by ESET Smart Security.

http://www.eset.com___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev