Actually, I figure this out... Turns out to be simpler than I thought. Once I grabbed the "id", I simply set that attribute to the desired VLAN id.
Thanks, Ali On Fri, Jun 6, 2014 at 1:51 PM, A Sydney <asydney...@gmail.com> wrote: > Hi folks, > When a packet arrives at my controller, I'd like to > insert/modify the VLAN tag. The link below shows an example of changing the > dns IP address in a packet: > > http://codepad.org/TcYyTZyV > > How would I go about doing something similar for the VLAN ID? For example, > a packet arrives at the controller tagged with VLAN x, and I'd like to > change this to VLAN y, before sending it to the switch. > > Thanks, > Ali >