BroadbandForum / obuspa

OB-USP-AGENT is a system daemon providing a User Services Platform (USP) Agent. https://github.com/BroadbandForum/obuspa/wiki
BSD 3-Clause "New" or "Revised" License
93 stars 62 forks source link

Notify message not fired from USPAgent #86

Closed M0ulinamary closed 1 year ago

M0ulinamary commented 1 year ago

I want to trigger Events (Boot/Periodic/Push) from Agent to Controller.

Already there is 1 Queue (/agent/queue) published by Agent and Subscribed by Controller. Now, i want to know how to trigger/notify these messages from Agent to Controller ? Any reference for this ?

Do we simply need to add any specific parameters in Factory_reset.txt itself ?? or do we need to update the code inside agent ? If so, could you please guide me on the initial steps to test ?

holme-r commented 1 year ago

You need to have a subscription to the event in the Subscription table. See https://usp-data-models.broadband-forum.org/tr-181-2-15-1-usp.html#D.Device:2.Device.LocalAgent.Subscription.{i}.