[nox-dev] How does switch api at nox works

2010-10-25 Thread sachin sharma
Dear All, I am able to create my set up with NOX and openVswitch. My set up is working fine. Nox is able to add flow entries in switches i connected with it. I have used following command at nox to connect it with openVswitch. ./nox_core -i ptcp:2525 switch. I know with this command

[nox-dev] multi command to a switch

2010-10-25 Thread Attilio Broglio
Hi, I have a short question about nox/openflow (I am working on the switch.cc file). I would to know if it's possible to apply 2 different actions to a flow . For example: A packet arrives to the port 1 and I want to send it to the port 2 with a vlan_ID, and at the same time, send it also to

[nox-dev] Signal 6 due to std:bad_alloc

2010-10-25 Thread Nikhil Handigol
Hi, My controller (with custom-built modules) crashed with the following error: 00485|event-dispatcher|ERR:Event processing leaked an exception: std::bad_alloc terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Caught signal 6. /proc/self/maps: Cannot

Re: [nox-dev] multi command to a switch

2010-10-25 Thread Kyriakos Zarifis
Hi Attilio, actions is a list which is executed by the switch when a flow is matched, so you should be able to do that by appending one or more actions to the action list. (Setting vlan id, stripping vlan id, sending out a port are 3 separate actions) On Mon, Oct 25, 2010 at 8:55 AM, Attilio