Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-4685

[BGP RPD]BGP Peer getting restarted once we sent flow with prefix 0.0.0.0/16 and 0.0.0.0/24

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      ONOS — Device

    • Story Points:
      4

      Description

      BGP Peer getting restarted once we sent flow with prefix 0.0.0.0/16 and 0.0.0.0/24

      0.0.0.0/32 working fine

      ONOS
      onos> Create flow

      CONTAINER: ExtFlowContainer{container=[DefaultExtKeyName

      {keyName=abc, type=EXT_FLOW_RULE_KEY}, DefaultExtPrefix{prefix=[0.0.0.0/16], type=IPV4_DST_PFX}, DefaultExtTrafficAction{terminal=true, sample=true, rpd=true, type=TRAFFIC_ACTION}, DefaultExtWideCommunityInt{value=[1], type=WIDE_COMM_FLAGS}, DefaultExtWideCommunityInt{value=[5], type=WIDE_COMM_HOP_COUNT}, DefaultExtWideCommunityInt{value=[18], type=WIDE_COMM_COMMUNITY}, DefaultExtWideCommunityInt{value=[100], type=WIDE_COMM_CONTEXT_AS}, DefaultExtWideCommunityInt{value=[100], type=WIDE_COMM_LOCAL_AS}, DefaultExtWideCommunityInt{value=[15], type=WIDE_COMM_PARAMETER}, DefaultExtTarget{localSpeaker=DefaultExtPrefix{prefix=[40.1.1.1/32], type=IPV4_SRC_PFX}, remoteSpeaker=DefaultExtPrefix{prefix=[40.1.1.2/32], type=IPV4_DST_PFX}, type=WIDE_COMM_EXT_TARGET}], deviceId=l3::routinguniverse=0:asn=100:domainid=16843009:isoid=1111.1111.1111}
      ADD


      ************** EXTENSION:ExtFlowContainer{container=[DefaultExtKeyName{keyName=abc, type=EXT_FLOW_RULE_KEY}

      , DefaultExtPrefix

      {prefix=[0.0.0.0/16], type=IPV4_DST_PFX}, DefaultExtTrafficAction{terminal=true, sample=true, rpd=true, type=TRAFFIC_ACTION}, DefaultExtWideCommunityInt{value=[1], type=WIDE_COMM_FLAGS}, DefaultExtWideCommunityInt{value=[5], type=WIDE_COMM_HOP_COUNT}, DefaultExtWideCommunityInt{value=[18], type=WIDE_COMM_COMMUNITY}, DefaultExtWideCommunityInt{value=[100], type=WIDE_COMM_CONTEXT_AS}, DefaultExtWideCommunityInt{value=[100], type=WIDE_COMM_LOCAL_AS}, DefaultExtWideCommunityInt{value=[15], type=WIDE_COMM_PARAMETER}, DefaultExtTarget{localSpeaker=DefaultExtPrefix{prefix=[40.1.1.1/32], type=IPV4_SRC_PFX}, remoteSpeaker=DefaultExtPrefix{prefix=[40.1.1.2/32], type=IPV4_DST_PFX}, type=WIDE_COMM_EXT_TARGET}], deviceId=l3::routinguniverse=0:asn=100:domainid=16843009:isoid=1111.1111.1111}

      ************** String value in provider[DefaultExtKeyName{keyName=abc, type=EXT_FLOW_RULE_KEY}, DefaultExtPrefix{prefix=[0.0.0.0/16], type=IPV4_DST_PFX}

      , DefaultExtTrafficAction

      {terminal=true, sample=true, rpd=true, type=TRAFFIC_ACTION}, DefaultExtWideCommunityInt{value=[1], type=WIDE_COMM_FLAGS}, DefaultExtWideCommunityInt{value=[5], type=WIDE_COMM_HOP_COUNT}, DefaultExtWideCommunityInt{value=[18], type=WIDE_COMM_COMMUNITY}, DefaultExtWideCommunityInt{value=[100], type=WIDE_COMM_CONTEXT_AS}, DefaultExtWideCommunityInt{value=[100], type=WIDE_COMM_LOCAL_AS}, DefaultExtWideCommunityInt{value=[15], type=WIDE_COMM_PARAMETER}, DefaultExtTarget{localSpeaker=DefaultExtPrefix{prefix=[40.1.1.1/32], type=IPV4_SRC_PFX}, remoteSpeaker=DefaultExtPrefix{prefix=[40.1.1.2/32], type=IPV4_DST_PFX}, type=WIDE_COMM_EXT_TARGET}]
      All the parsing is ok sending it out ::::::::::::::::DIRECT PEER::: 172.16.0.116Create flow

      CONTAINER: ExtFlowContainer{container=[DefaultExtKeyName{keyName=abc, type=EXT_FLOW_RULE_KEY}, DefaultExtPrefix{prefix=[0.0.0.0/24], type=IPV4_DST_PFX}, DefaultExtTrafficAction{terminal=true, sample=true, rpd=true, type=TRAFFIC_ACTION}

      , DefaultExtWideCommunityInt

      {value=[1], type=WIDE_COMM_FLAGS}, DefaultExtWideCommunityInt{value=[5], type=WIDE_COMM_HOP_COUNT}, DefaultExtWideCommunityInt{value=[18], type=WIDE_COMM_COMMUNITY}, DefaultExtWideCommunityInt{value=[100], type=WIDE_COMM_CONTEXT_AS}, DefaultExtWideCommunityInt{value=[100], type=WIDE_COMM_LOCAL_AS}, DefaultExtWideCommunityInt{value=[15], type=WIDE_COMM_PARAMETER}, DefaultExtTarget{localSpeaker=DefaultExtPrefix{prefix=[40.1.1.1/32], type=IPV4_SRC_PFX}, remoteSpeaker=DefaultExtPrefix{prefix=[40.1.1.2/32], type=IPV4_DST_PFX}, type=WIDE_COMM_EXT_TARGET}], deviceId=l3::routinguniverse=0:asn=100:domainid=16843009:isoid=1111.1111.1111}
      ADD


      ************** EXTENSION:ExtFlowContainer{container=[DefaultExtKeyName{keyName=abc, type=EXT_FLOW_RULE_KEY}, DefaultExtPrefix{prefix=[0.0.0.0/24], type=IPV4_DST_PFX}, DefaultExtTrafficAction{terminal=true, sample=true, rpd=true, type=TRAFFIC_ACTION}, DefaultExtWideCommunityInt{value=[1], type=WIDE_COMM_FLAGS}

      , DefaultExtWideCommunityInt

      {value=[5], type=WIDE_COMM_HOP_COUNT}, DefaultExtWideCommunityInt{value=[18], type=WIDE_COMM_COMMUNITY}, DefaultExtWideCommunityInt{value=[100], type=WIDE_COMM_CONTEXT_AS}, DefaultExtWideCommunityInt{value=[100], type=WIDE_COMM_LOCAL_AS}, DefaultExtWideCommunityInt{value=[15], type=WIDE_COMM_PARAMETER}, DefaultExtTarget{localSpeaker=DefaultExtPrefix{prefix=[40.1.1.1/32], type=IPV4_SRC_PFX}, remoteSpeaker=DefaultExtPrefix{prefix=[40.1.1.2/32], type=IPV4_DST_PFX}, type=WIDE_COMM_EXT_TARGET}], deviceId=l3::routinguniverse=0:asn=100:domainid=16843009:isoid=1111.1111.1111}

      ************** String value in provider[DefaultExtKeyName{keyName=abc, type=EXT_FLOW_RULE_KEY}, DefaultExtPrefix{prefix=[0.0.0.0/24], type=IPV4_DST_PFX}, DefaultExtTrafficAction{terminal=true, sample=true, rpd=true, type=TRAFFIC_ACTION}, DefaultExtWideCommunityInt{value=[1], type=WIDE_COMM_FLAGS}, DefaultExtWideCommunityInt{value=[5], type=WIDE_COMM_HOP_COUNT}

      , DefaultExtWideCommunityInt

      {value=[18], type=WIDE_COMM_COMMUNITY}

      , DefaultExtWideCommunityInt

      {value=[100], type=WIDE_COMM_CONTEXT_AS}

      , DefaultExtWideCommunityInt

      {value=[100], type=WIDE_COMM_LOCAL_AS}

      , DefaultExtWideCommunityInt

      {value=[15], type=WIDE_COMM_PARAMETER}

      , DefaultExtTarget{localSpeaker=DefaultExtPrefix

      {prefix=[40.1.1.1/32], type=IPV4_SRC_PFX}

      , remoteSpeaker=DefaultExtPrefix

      {prefix=[40.1.1.2/32], type=IPV4_DST_PFX}

      , type=WIDE_COMM_EXT_TARGET}]
      All the parsing is ok sending it out ::::::::::::::::DIRECT PEER::: 172.16.0.116::::::::::::::::DIRECT PEER::: 172.16.0.116::::::::::::::::DIRECT PEER::: 172.16.0.116::::::::::::::::DIRECT PEER::: 172.16.0.116
      onos>
      onos>
      onos>

        Attachments

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

          Activity

            People

            Assignee:
            saravanaonos Saravanakumar S
            Reporter:
            saravanaonos Saravanakumar S
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: