Uploaded image for project: 'sfc'
  1. sfc
  2. SFC-148

Missing actions in SFF egress flows

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • unspecified
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • 6068
    • Highest

    Description

      The following actions are missing in egress flows:

      move:NXM_NX_NSI[]->NXM_NX_NSI[],
      move:NXM_NX_NSP[]->NXM_NX_NSP[],
      move:NXM_NX_NSH_C1[]->NXM_NX_TUN_IPV4_DST[],
      move:NXM_NX_NSH_C2[]->NXM_NX_TUN_ID[0..31]

      Example:
      Should be
      cookie=0xba5eba11ba5eba11, duration=148.460 table=15, n_packets=150 n_bytes=1195, priority=650,nsp=95,nsi=253 actions=move:NXM_NX_NSI[]>NXM_NX_NSI[],move:NXM_NX_NSP[]>NXM_NX_NSP[],move:NXM_NX_NSH_C1[]>NXM_NX_TUN_IPV4_DST[],move:NXM_NX_NSH_C2[]>NXM_NX_TUN_ID[0..31],IN_PORT
      But is
      cookie=0xba5eba11ba5eba11, duration=9.303s, table=15, n_packets=48, n_bytes=3552, priority=751,nsp=95,nsi=253,in_port=1 actions=IN_PORT

      https://github.com/opendaylight/sfc/blob/stable/beryllium/sfcofl2/src/main/java/org/opendaylight/sfc/l2renderer/openflow/SfcL2FlowProgrammerOFimpl.java

      I looked into configureVxlanGpeLastHopTransportEgressFlow method here on line 1085 (priority of flows are FLOW_PRIORITY_TRANSPORT_EGRESS + 1)

      And I noticed, that all the missing actions are actually being configured.
      Therefore it's possible that the problem may also be caused by Openflowplugin.

      The misconfigured flow can be seen here:
      https://jenkins.opendaylight.org/releng/view/groupbasedpolicy/job/groupbasedpolicy-csit-1node-6node-only-beryllium/539/robot/report/log.html#s1-s2-s11-t4-k2-k2

      please notice the flow
      priority 751,table=15,nsi=253,...

      Nodes config and operational DS can be also seen on robot output:
      nodes config:
      https://jenkins.opendaylight.org/releng/view/groupbasedpolicy/job/groupbasedpolicy-csit-1node-6node-only-beryllium/539/robot/report/log.html#s1-s2-s11-t4-k2-k2
      nodes operational:
      https://jenkins.opendaylight.org/releng/view/groupbasedpolicy/job/groupbasedpolicy-csit-1node-6node-only-beryllium/539/robot/report/log.html#s1-s2-s11-t10-k2

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            tcechval Tomas Cechvala
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: