Hi Kyriakos,

in these days I am working in order to add my multi-action in the action-list.
I put my action type in the openflow.h file and also I create some specific 
action in the dp_act.c.
Up to now I'am able to do only simple action on the switch, not multi-actions, 
but I'm going on this direction.

But I have 2 questions:
When I describe the action I put the implementation in the file 
"udatapath/dp_act.c".
I see that there is also another similar file in "datapath/dp_act.c" that more 
or less is the same.
So wich are the differences between these 2 files?
And it's right to implement the action only in the udatapath/dp_act.c (as I do)?

Thanks,
Attilio
    


----- Original Message -----
From: "Kyriakos Zarifis" <kyr.zari...@gmail.com>
To: "Attilio Broglio" <attilio.brog...@create-net.org>
Cc: nox-dev@noxrepo.org
Sent: Monday, October 25, 2010 9:08:04 PM
Subject: Re: [nox-dev] multi command to a switch

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 Broglio < 
attilio.brog...@create-net.org > wrote: 


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 the port 3 with a 
different VLAN_ID. 

Is this possible or not? 

Thanks, 
Attilio 

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


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

Reply via email to