On Jul 4, 2013, at 7:42 AM, Windhya Rankothge wrote: > I want my controller to add a tag to the packet header.. Something similar to > the VLAN ID concept.. > > Can I do it ? Can i change the packet header using controller and add a > custom tag to the packet ? > > Plese be kind to help me with this..
If a packet goes through the controller, you can rewrite it however you like. Generally, however, you'd like to get the switch to do something without involving the controller for every single packet. The expressiveness of OpenFlow 1.0 is pretty limited here. You can add a VLAN tag, but that's about it. Newer versions of OpenFlow and Open vSwitch are somewhat more flexible. For example, you may be able to add MPLS labels. In particular, POX can do this when used with (very) recent versions of Open vSwitch (or other switches supporting Nicira extensions and MPLS).