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
Hello,
I would like to ask you if there is a document that help me to understand
l2_multi code.
Best regards,
Amer
Thank you Junaid Khalid and Murphy!
I just got this from pox.openflow.libopenflow_o1
ofp_flow_mod_command_rev_map = {
'OFPFC_ADD' : 0,
'OFPFC_MODIFY': 1,
'OFPFC_MODIFY_STRICT' : 2,
'OFPFC_DELETE': 3,
'OFPFC_DELETE_STRICT' : 4,
}
I am not getting clear how do
There isn't. In short, it's like this:
The discovery component raises LinkEvents when links change.
l2_multi keeps an adjacency map. The value of adjacency[sw1][sw2] is the
port which connects sw1 to sw2. This is updated by the l2_multi class, which
watches LinkEvents. LinkEvents also
Set your flow-mod's .command attribute to OFPFC_MODIFY (or
OFPFC_MODIFY_STRICT). If you've imported libopenflow as of (the POX
convention), it's something like:
fm = of.ofp_flow_mod()
...
fm.command = of.OFPFC_MODIFY_STRICT
...
connection.send(fm)
-- Murphy
On Dec 15, 2013, at 10:16 PM,
Thank you Murphy, It gave me a fair idea to precede.
On Mon, Dec 16, 2013 at 11:29 AM, Murphy McCauley murphy.mccau...@gmail.com
wrote:
Set your flow-mod's .command attribute to OFPFC_MODIFY (or
OFPFC_MODIFY_STRICT). If you've imported libopenflow as of (the POX
convention), it's something