Re: [nox-dev] different between ofdatapath and dpctl

2011-03-09 Thread Kyriakos Zarifis
Hi, as KK said, if you want IP routing functionality you would have to build an application with the routing logic yourself on top of NOX. The 'routing' functionality that ships with nox does not do traditional IP routing (what is does is briefly described here: http://noxrepo.org/noxwiki/index.ph

Re: [nox-dev] different between ofdatapath and dpctl

2011-03-09 Thread 杨宇
Hi, Which webpage or tutorial may be a reference? May you give me some suggestion? Best regards -- Yang 2011-03-10 - 发件人:kk yap 发送日期:2011-03-10 09:46:14 收件人:杨宇 抄送:nox-dev 主题:Re: Re

Re: [nox-dev] different between ofdatapath and dpctl

2011-03-09 Thread kk yap
Hi, You have to write your own controller components for this. From what I remember, NOX does not ship with standard components that is "full IP routing". I might be wrong. Regards KK 2011/3/9 杨宇 : > Hi kk yap, > Thanks for your reply. > These days, I read a lot of tutorial of open

Re: [nox-dev] different between ofdatapath and dpctl

2011-03-09 Thread 杨宇
Hi kk yap, Thanks for your reply. These days, I read a lot of tutorial of openflow and nox in the website. Maybe I mixed these command line. Which I want to do is the followings: I want to set up a topology like this: controller __|__

[nox-dev] The getInstance function- Doubt

2011-03-09 Thread Ricardo Bennesby
Hi all. I have a doubt... The flow_fetcher component has a struct called Flow_fetcher_app. When I try to resolve flow_fetcher in a c++ component I get the following error: *../../../../../src/nox/component.hh:111: error: incomplete type ‘vigil::applications::Flow_fetcher_app’ used in nested name s

Re: [nox-dev] different between ofdatapath and dpctl

2011-03-09 Thread kk yap
Hi, This is because you are trying to add a kernel datapath on a userspace switch. I do not see this pair of commands being used in the link you provided (http://www.openflow.org/foswiki/bin/view/OpenFlow/Deployment/HOWTO/LabSetup). Any reason for doing so? /var/run/dp0 is the UNIX domain sock

Re: [nox-dev] different between ofdatapath and dpctl

2011-03-09 Thread 杨宇
hello, kk thansk for your reply.. > # ./udatapath/ofdatapath --detach punix:/var/run/dp0 -d 004E46324304 > -i eth1,eth2 This runs the OpenFlow switch. I think the punix:/var/run/dp0 is the created switch. and the 004E46324304 is the datapath , is that true ? 发件人: kk

Re: [nox-dev] different between ofdatapath and dpctl

2011-03-09 Thread kk yap
Hi, Comments inline. Regards KK 2011/3/9 杨宇 : > hi, all >when I follow the tutorial in the page > "http://www.openflow.org/foswiki/bin/view/OpenFlow/Deployment/HOWTO/LabSetup > " >there is a command line: > # ./udatapath/ofdatapath --detach punix:/var/run/dp0 -d 004E4632430

[nox-dev] different between ofdatapath and dpctl

2011-03-09 Thread 杨宇
hi, all when I follow the tutorial in the page "http://www.openflow.org/foswiki/bin/view/OpenFlow/Deployment/HOWTO/LabSetup " there is a command line: # ./udatapath/ofdatapath --detach punix:/var/run/dp0 -d 004E46324304 -i eth1,eth2 Is this same with the command line:

[nox-dev] about dpctl

2011-03-09 Thread 杨宇
hi,all when I use the command "dpctl" to add a datapath to the openflow switch, I found a problem: ./dpctl adddp nl:0 dpctl: opening management socket: No such file or directory what does this mean? who can help me ? best regards yang ―――

Re: [nox-dev] Setting VLAN_ID by nox controller, but it's error

2011-03-09 Thread false
Hi, Murphy thank you for your suggestion. Yes, I had been tried this action like the following for several times, but it's same problem. actions = [[openflow.OFPAT_SET_VLAN_VID, 2], [openflow.OFPAT_OUTPUT, [0, prt[0 I tried to use actions=[openflow.OFPAT_SET_NW_DST, '140.115.155.155'], it'

Re: [nox-dev] Setting Up a Virtual Testing Environment

2011-03-09 Thread kk yap
Hi Ramana, You can use the hda.dsk with a new kernel. Most likely, your kernel is not compatible or need some work. I do not remember very well what was the problem (since it was more than 1 year ago since I built a kernel) but newer kernel can be funky. Regards KK On 9 March 2011 03:07, Raman

Re: [nox-dev] Setting Up a Virtual Testing Environment

2011-03-09 Thread Ramana Reddy
Thanks kk yap. I will do that. But when I used existing hda.dsk with my new compiled kernel.bin, it is giving kernel panic. Does both hda.dsk and kernel.bin are related to each other ( i.e., works only on debain based machines), otherwise, can I use existing hda.dsk with any new complied kernel on

Re: [nox-dev] Setting Up a Virtual Testing Environment

2011-03-09 Thread kk yap
Hi Ramana, You can go into the provided hda.dsk and update that (using vms-qemu-run.py). The creation of hda.dsk is a little complicated and platform specific---here being Debian. Regards KK On 9 March 2011 02:49, Ramana Reddy wrote: > Yaa, I tried and succeeded  with provided hda.dsk and kern

Re: [nox-dev] Setting Up a Virtual Testing Environment

2011-03-09 Thread Ramana Reddy
Yaa, I tried and succeeded with provided hda.dsk and kernel.bin on that page with corresponding openflow1.0 binary. But I want to create my own and failed to do hda.dsk and kernel.bin using the scripts. I am using ubuntu 10.10. Regards, Ramana. On Wed, Mar 9, 2011 at 4:08 PM, Kyriakos Zarifis w

Re: [nox-dev] Setting Up a Virtual Testing Environment

2011-03-09 Thread Kyriakos Zarifis
did you try downloading and using the provided hda.dsk and kernel.bin on that page, instead of using the scripts to build your own? I'd try using these, as well as the provided openflow1.0 binary On Wed, Mar 9, 2011 at 2:30 AM, Ramana Reddy wrote: > Dear Kyriakos Zarifis, > Thanks for your reply

Re: [nox-dev] Setting Up a Virtual Testing Environment

2011-03-09 Thread Ramana Reddy
Dear Kyriakos Zarifis, Thanks for your reply. I tried using the following link http://www.openflow.org/wk/index.php/OpenFlowVMS. But when created using the scripts *(vms-create-disk.sh*,*vms-compile-kernel.sh), *I failed to do that. What is the system setup is needed to run these scripts. Does Mini

Re: [nox-dev] Setting Up a Virtual Testing Environment

2011-03-09 Thread Kyriakos Zarifis
Ramana, the instructions on that page are unfortunately pretty old, and the VM images provided there will not work with recent versions of NOX. For newer instructions please take a look at the wiki: http://noxrepo.org/noxwiki/index.php/Using_NOX#Setting_up_a_virtual_NOX.2FOpenflow_network The cu

[nox-dev] Setting Up a Virtual Testing Environment

2011-03-09 Thread Ramana Reddy
Does any one tried setting up a virtual Testing Environment. It is working fine with me with the existing file system and kernel binary from the following link: http://noxrepo.org/manual/vm_environment.html But when I created my own kernel.bin ( http://noxrepo.org/manual/vm_environment.html) in ubu