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

IntentPerfInstaller does not read in numNeighbors from config file

    XMLWordPrintable

    Details

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

      commit 20daf57e60a841720abbc2e18906f5b35ad30726

      Description

      using org.onosproject.intentperf.IntentPerfInstaller.cfg to configure installer. Its seems that the config of numKeys can be change, but not numNeighbors.

      The following log was capture with numKeys changed from 40000 to 50000, then numNeighbors changed from from 0 to 1; then numKeys changed from 50000 back to 40000. From the log, it seems only numKeys changes are reflected, but not numNeighbors.

      ---------Log-----------------
      ubuntu@suibin-dev:~$ onos-log $OC1 |grep IntentPerf
      2015-03-18 16:26:07,873 | INFO | FelixStartLevel | IntentPerfCollector | 161 - org.onosproject.onos-app-intent-perf - 1.2.0.SNAPSHOT | Started
      2015-03-18 16:26:07,939 | INFO | FelixStartLevel | IntentPerfInstaller | 161 - org.onosproject.onos-app-intent-perf - 1.2.0.SNAPSHOT | Reconfigured with appId 4; numKeys = 50000; cyclePeriod = 1000 ms; numNeighbors=0
      2015-03-18 16:26:52,578 | INFO | -karaf-3.0.2/etc | fileinstall | 7 - org.apache.felix.fileinstall - 3.4.2 | Updating configuration from org.onosproject.intentperf.IntentPerfInstaller.cfg
      2015-03-18 16:27:33,637 | INFO | -karaf-3.0.2/etc | fileinstall | 7 - org.apache.felix.fileinstall - 3.4.2 | Updating configuration from org.onosproject.intentperf.IntentPerfInstaller.cfg
      2015-03-18 16:31:03,867 | INFO | -karaf-3.0.2/etc | fileinstall | 7 - org.apache.felix.fileinstall - 3.4.2 | Updating configuration from org.onosproject.intentperf.IntentPerfInstaller.cfg
      2015-03-18 16:31:03,869 | INFO | ntPerfInstaller) | IntentPerfInstaller | 161 - org.onosproject.onos-app-intent-perf - 1.2.0.SNAPSHOT | Reconfigured with appId 4; numKeys = 40000; cyclePeriod = 1000 ms; numNeighbors=0

        Attachments

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

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            suibin suibin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: