Uploaded image for project: 'CORD'
  1. CORD
  2. CORD-2861

Fix Service Dependency can't work properly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Progress (View Workflow)
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ONOS, VTN
    • Labels:
      None
    • Story Points:
      5

      Description

      Service Dependency function have 2 issues that may cause dependencies flow/group rules added into OVS doesn't work fine.
       
      1. subscriber service's instance ping provider service's instance.
       
      In getProviderGroupBuckets, it will generate a treatment without IP address, and when subscriber instance sent a ICMP echo, only L2 dest (mac address) will be changed, after provider instance received packet, because L3 dest is service IP, not instance's IP, so provider instance wasn't deal this packet due to IP address not match.
       
      2. subscriber can't 3-ways handshake with provider's instance
       
      Assume first question fixed, this is next problem will happen. When subscriber try to establish TCP connection with provider service, subscriber send a SYN message to provider service IP, and VTN change L2/L3 destination address in group table, and then send to one of provider instances. Provider will reply the SYN/ACK message to subscriber's instance, but SYN/ACK message's IP source is provider instances' real IP, not service IP.
      So in result, subscriber send packet to provider's service IP, and get a reply message from different IP address. Subscriber will send a RESET message for correcting IP address's problem, connection will never be established. 

        Attachments

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

          Activity

            People

            Assignee:
            aweimeow Wei-Yu Chen
            Reporter:
            aweimeow Wei-Yu Chen
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes