[pox-dev] Modifying existing flows on a switch periodically
Sadia Bashir
11msccssbashir at seecs.edu.pk
Sat Dec 14 13:56:50 PST 2013
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))
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/attachments/20131215/a6091ec0/attachment.htm>
More information about the pox-dev
mailing list