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

[ONOS-YMS-TEST] Notification service registration in YMS fails

    XMLWordPrintable

    Details

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

      ONOS ymstest app

    • Story Points:
      2

      Description

      Issue:

      In YMS code, the below if condition always fails.

      YmsManager::registerService()

      if (defaultYangSchemaRegistry.verifyNotificationObject(yangService))

      { getYangNotificationExtendedService().registerAsListener( (ListenerService) yangManager); //TODO: register notification handler. }

      Test steps:

      1) Activate yms, ymstest & restconf apps
      2) Run testcase testNbiNotification

      export ONOS_APPS=drivers,openflow,proxyarp,mobility,fwd,yms,ymstest,restconf
      onos> yms-test testNbiNotification

      Test code snippet:

      MultiNotificationManger multiNotificationManger = new MultiNotificationManger();
      ymsService.registerService(multiNotificationManger, MultiNotification.class, null);

      Confimed and fixed by: Bharat

      https://github.com/GauravAgrawal-Huawei/ymsm/commit/50b8e9d655ba9a467e9a947bd9d17b48c5f7aa82

        Attachments

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

          Activity

            People

            Assignee:
            SojanKoshy Sojan Koshy
            Reporter:
            SojanKoshy Sojan Koshy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: