Hi,
Another question... I have the following code:
CODE A
match = parser.OFPMatch(vlan_pcp=0, vlan_vid=id_grupo)
actions = [parser.OFPActionGroup(group_id=id_grupo)]
resp = self.add_flow(datapath,32768,match,actions)
ADD_FLOW is this code:
ofproto = datapath.ofproto
parser = datapath.ofproto_parser
instruct =
[parser.OFPInstructionActions(ofproto.OFPIT_APPLY_ACTIONS,actions)]
mod = parser.OFPFlowMod(datapath=datapath,priority=priority,match=match,
instructions=instruct,command=ofproto.OFPFC_ADD,table_id=0)
datapath.send_msg(mod)
Using the code as is, I have no flow entry added to the switch at all...
when I remove the valn_pcp field from the match, the flow is added
normaly....
I am using an ovs switch with openflow 1.3... I already tried to manually
add the flow entry using dpctl with the vlan_pcp field, and it adds the
flow rule normally, so I am guessing this might be a Ryu problem...
Any sugestions at all??
--
-------------------------------
Me. Ricardo Balbinot
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel