Uploaded image for project: 'Fast Datapath Product'
  1. Fast Datapath Product
  2. FDP-458

ovs-ofctl replace-flows replaces an identical flow with nw_frag=yes field match

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • openvswitch3.2
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • rhel-sst-network-fastdatapath
    • ssg_networking

      [root@ovn-worker2 ~]# ovs-ofctl dump-flows breth0 | grep nw_frag; ovs-ofctl replace-flows --bundle breth0 - < <(ovs-ofctl dump-flows --no-stats breth0); echo "--"; ovs-ofctl dump-flows breth0 | grep nw_frag
       cookie=0xdeff105, duration=8.204s, table=0, n_packets=0, n_bytes=0, idle_age=8, priority=110,ip,in_port=1,nw_frag=yes actions=ct(table=0,zone=64003)
       cookie=0xdeff105, duration=8.204s, table=0, n_packets=0, n_bytes=0, idle_age=8, priority=110,ipv6,in_port=1,nw_frag=yes actions=ct(table=0,zone=64003)
      --
       cookie=0xdeff105, duration=0.008s, table=0, n_packets=0, n_bytes=0, idle_age=0, priority=110,ip,in_port=1,nw_frag=yes actions=ct(table=0,zone=64003)
       cookie=0xdeff105, duration=0.008s, table=0, n_packets=0, n_bytes=0, idle_age=0, priority=110,ipv6,in_port=1,nw_frag=yes actions=ct(table=0,zone=64003)
      

      In the excerpt above we replace all the flows with the existing flows. The ones that have "nw_frag=yes" get their stats, such as duration, reset whereas other flows remain unchanged.

              amorenoz@redhat.com Adrian Moreno
              jcaamano@redhat.com Jaime Caamaño Ruiz
              Qi Jun Ding Qi Jun Ding
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: