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

CLI to show members of GossipDeviceStore class to help debug in case of local store mismatch

    XMLWordPrintable

    Details

    • Type: Story
    • Status: In Progress (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.12.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      3 ONOS cluster deployment

      Version : ONOS 1.12

    • Story Points:
      1

      Description

      There was problem that the 'offline' member os the GossipDeviceStore class was mismatched between distributed controllers. (refer to ONOS-7372)

      The following CLI is provided to easily analyze these problems.

      onos:device-local-available             Lists all available devices in local device store                     
      onos:device-local-offline                 Lists all offline info in local device store                          
      onos:device-local-removal-request Lists all removal request info in local device store  

       

      CLI execution screen

      onos> onos:device-local-available   
      Available device count : 2
      id=of:00000ebef77bfa49
      id=of:00007644b0981f41
      
      onos> onos:device-local-offline 
      id=of:00000ebef77bfa49, offline=MastershipBasedTimestamp{termNumber=1, sequenceNumber=9}
      
      onos> onos:device-local-removal-request
      id=of:00000ebef77bfa49, offline=MastershipBasedTimestamp{termNumber=1, sequenceNumber=9}
      

        Attachments

          Activity

            People

            • Assignee:
              sysim SangYeok Sim
              Reporter:
              sysim SangYeok Sim
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: