Re: [nox-dev] Rewrite MAC Address OpenFlow

2011-06-09 Thread Srini Seetharaman
Hi Alexander
Can you be more specific about what error you're getting?

You are not specifying any output action. Try adding that too like:
 actions = [ [openflow.OFPAT_SET_DL_DST, 00:00:00:00:00:02],
,[openflow.OFPAT_OUTPUT, [0, outport]] ]

What switch are you using?

Thanks
Srini.

On Fri, May 27, 2011 at 10:40 PM, alexander scaranti
alexander.scara...@gmail.com wrote:
 Hi,

 I'm not able to change the MAC address of an HTTP packet OpenFlow
 follows the code I'm using to try to change, but it is coming out in
 error:
 actions = [openflow.OFPAT_SET_DL_DST, 00:00:00:00:00:02]
 self.install_datapath_flow (dpid, flow, 5, 0, actions, bufid,
 openflow.OFP_DEFAULT_PRIORITY, inport, packet)

 I am developing a python load balancer. What am I doing wrong?

 Thanks,

 Alexander Scaranti
 ___
 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


[nox-dev] Rewrite MAC Address OpenFlow

2011-05-27 Thread alexander scaranti
Hi,

I'm not able to change the MAC address of an HTTP packet OpenFlow
follows the code I'm using to try to change, but it is coming out in
error:
actions = [openflow.OFPAT_SET_DL_DST, 00:00:00:00:00:02]
self.install_datapath_flow (dpid, flow, 5, 0, actions, bufid,
openflow.OFP_DEFAULT_PRIORITY, inport, packet)

I am developing a python load balancer. What am I doing wrong?

Thanks,

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