You need to do something with flow to tell it what you want to match on.
Try adding something like

flow[core.IN_PORT] = inport


Aaron

2011/11/28 Daniel de Arêa Leão <daniel.area.l...@gmail.com>

> Hi,
>
> I'm a newbie in NOX and Python and I'm trying to create a VLAN path
> using NOX. After some researches I was finally able to create a
> component that at least doesn't show any kind of compilation error,
> but it also doesn't work as I expect... It seems that it doesn't
> install the flow on the switch.
> Below, some informations that I believe that will be helpfull:
> In the environment that I've created, I'm using NOX 0.9.0 (zaku) and
> Mininet 1.0.0. In the Mininet, I am using "linear 2" as the topology
> scenario.
>
> Command lines that I have used:
> # ./nox_core -v -i ptcp:6634 dcnflow
> # mn -x --mac --controller=remote --ip=192.168.56.101 --port=6634
> --topo linear,2
>
> My code for the component: http://pastebin.com/2Ue7Hpmr
>
> And here some logs that I collected:
> dpctl show log: http://imageshack.us/photo/my-images/522/dpctl.png/
> dpctl dump-flows: http://imageshack.us/photo/my-images/853/dumpt.png/
> NOX log: http://pastebin.com/cRDzYi7F
>
> Does anyone have a tip or a solution for this problem? Reaffirming
> that I want to create a VLAN path.
>
> Thanks in advance,
> Daniel
> _______________________________________________
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev
>



-- 
Aaron O. Rosen
Masters Student - Network Communication
306B Fluor Daniel
_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev

Reply via email to