Giter Club home page Giter Club logo

Comments (5)

k-sasagawa avatar k-sasagawa commented on June 3, 2024

By the way,in the case of DELETE,match:inport=any and no instructions,
no problems occur.

from ofsoftswitch13.

k-sasagawa avatar k-sasagawa commented on June 3, 2024

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.

ederlf avatar ederlf commented on June 3, 2024

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.

k-sasagawa avatar k-sasagawa commented on June 3, 2024

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.

ederlf avatar ederlf commented on June 3, 2024

I found the problem, it was due to non strict matching all oxm flows.
Thanks.

from ofsoftswitch13.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.