[openflow-discuss] Problem with flow removal

2012-04-17 Thread Matteo Gerola
Dear all, I'm trying to remove all the flows from a switch (something similar to the first flow_mod from the NOX controller during the initialization). I have a flow (udp stream) that flows in my network. After a while I want to change the path. My idea is to remove the flow from the

Re: [openflow-discuss] Problem with flow removal

2012-04-17 Thread Xuan-Nam Nguyen
Hi, Let's try this : /** * remove all flow entries * @param sw */ private void removeAllFlows(IOFSwitch sw) { try { OFMatch match = new OFMatch().setWildcards(OFMatch.OFPFW_ALL); OFMessage fm = ((OFFlowMod)

Re: [openflow-discuss] arbitrary wildcard

2012-04-17 Thread Masoud Moshref Javadi
An alternative is the tree-based data structure which has its own advantages and disadvantages. The current structure is very good, as there is no overhead in updating the ruleset and leverages the current limitations on wildcard bitpattern. However, its performance depends on how the rules