Comments (5)
By the way,in the case of DELETE,match:inport=any and no instructions,
no problems occur.
from ofsoftswitch13.
A mistake was found.
By the way,in the case of DELETE,match:inport=any and no instructions,(mistake)
By the way,in the case of DELETE,match:all any and no instructions, (correct)
no problems occur.
from ofsoftswitch13.
I couldn't reproduce the error. Here's is the switch log when it receives
the flow
Feb 21 08:51:31|01907|dp_ctrl|DBG|received control msg:
flow_mod{table="all", cmd="del", cookie="0x0", mask="0x0", idle="0",
hard="0", prio="32768", buf="none", port="any", group="any", flags="0x0",
match=oxm{in_port="1"}, insts=[]}
I'm sending the rule via dpctl. Are you using a controller? Could you give
us more background on that error?
Thank you.
On Thu, Feb 21, 2013 at 12:30 AM, k-sasagawa [email protected]:
A mistake was found.
By the way,in the case of DELETE,match:inport=any and no
instructions, +By the way,in the case of DELETE,match:all any and no
instructions, no problems occur.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/15#issuecomment-13871122.
Eder Leão Fernandes, Jr Researcher
Converged Networks Business Unit
CPqD - Center for Research and Development in Telecommunications
Tel.:+55 19-3705-5932 / Cel.: +55 19-8300-6776
from ofsoftswitch13.
Please see following log.
root@ubuntu02:~/git/ofsoftswitch13# dpctl tcp:localhost:1000 flow-mod cmd=add,table=0 apply:output=2
SENDING:
flow_mod{table="0", cmd="add", cookie="0x0", mask="0x0", idle="0", hard="0", prio="32768", buf="none", port="any", group="any",
flags="0x0", match=oxm{all match}, insts=[apply{acts=[out{port="2"}]}]}
OK.
root@ubuntu02:~/git/ofsoftswitch13# dpctl tcp:localhost:1000 stats-flow
SENDING:
stat_req{type="flow", flags="0x0", table="all", oport="any", ogrp="any", cookie=0x0", mask=0x0", match=oxm{all match}}
RECEIVED:
stat_repl{type="flow", flags="0x0", stats=[{table="0", match="oxm{all match}", dur_s="1", dur_ns="656000", prio="32768",
idle_to="0", hard_to="0", cookie="0x0", pkt_cnt="4", byte_cnt="240", insts=[apply{acts=[out{port="2"}]}]}]}
root@ubuntu02:~/git/ofsoftswitch13# dpctl tcp:localhost:1000 flow-mod cmd=del in_port=3 apply:output=2
SENDING:
flow_mod{table="all", cmd="del", cookie="0x0", mask="0x0", idle="0", hard="0", prio="32768", buf="none", port="any", group="any",
flags="0x0", match=oxm{in_port="3"}, insts=[apply{acts=[out{port="2"}]}]}
dpctl: Error during transaction.
from ofsoftswitch13.
I found the problem, it was due to non strict matching all oxm flows.
Thanks.
from ofsoftswitch13.
Related Issues (20)
- Userspace AP in Mininet-WiFi cannot connect to RYU controller HOT 2
- dpctl flow-mod Segmentation fault
- in_port == out_port (Re HOT 1
- RTNETLINK answers: No such file or directory HOT 2
- How can i add a new column into the flow table? HOT 5
- Does ofsoftswitch13 support openflow 1.0?
- Influence of package dropping to tcp links when using meter table HOT 3
- iperf does not work HOT 4
- How to use dscp_remark flexibly? HOT 2
- packet drop after dscp remark HOT 10
- Adding new action in openflow
- How do I clean all the switch rules by one command? HOT 2
- [BUG] Hex conversion
- Problem about Meter Table HOT 6
- Error when integrating ofsoftswitch13 with NS3.31 HOT 1
- Username and password of the predefined VM HOT 3
- Controller connection to 5G core
- [ERROR]_builtin_strncpy’ specified bound 16 equals destination size [-Werror=stringop-truncation]
- Not able to make HOT 1
- make[2]: *** [/lede-master/dl/open_wrt.zip] Error 255 ERROR: package/openflow-1.3 failed to build. HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ofsoftswitch13.