Hi,
I want setting VLAN_ID to OpenFlow by nox controller, so I edit pyswitch.py,
see below:
---
def forward_l2_packet(dpid, inport, packet, buf, bufid):
dstaddr = packet.dst.tostring()
print test
if
I assume that pyswitch worked okay before the modification.
I took a quick look at the code in NOX for sending this action and at your code
below and they both look okay at first glance.
Given that, my suggestion would be one of:
1) Install the OpenFlow Wireshark plugin and examine the flow mod
One last thought is that... you probably also want to have an output action as
well as the VLAN action. It could be that the switch assumes there will be one.
-- Murphy
On Mar 6, 2011, at 9:09 AM, false wrote:
Hi,
I want setting VLAN_ID to OpenFlow by nox controller, so I edit
Sorry, I was incorrect I am getting packet_out's.
Aaron
On Sat, Mar 5, 2011 at 10:50 PM, Aaron Rosen aro...@clemson.edu wrote:
I've also tried this which yields the same results:
if packet.next.protocol == 0x4:
print UNENCAPED1
packet.next = packet.next.next