On Dec 14, 2013, at 1:56 PM, Sadia Bashir <11msccssbas...@seecs.edu.pk> wrote:
> Hi, > > I want to modify queue_id in installed flows on a switch periodically by > sending a flow_mod message from controller(i.e., controller-to-switch > message) I tried it using this way on pox-controller: > > def _timer_func (): > for connection in core.openflow._connections.values(): > connection.send(of.ofp_action_nw_tos(port = 1, queue_id = 2)) This isn’t a flow-mod. This is just an action! Construct flow mods for the flows you want to change and include the new action. > def launch(): > from pox.lib.recoco import Timer > Timer(4, _timer_func, recurring=True) > > Please tell me if there is a way to modify a value in already existing flow > entries on the switch. > > Thanks in advance for any hint or help. > -- > sadia Hope that helps. — Murphy