-
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
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