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

Getting " Missin Opening bracket in arguments error" #81

Closed M0ulinamary closed 1 year ago

M0ulinamary commented 1 year ago

Hi, I have done Docker setup with Agent and trying to do few operations. But it is not getting complete.

Please help me with correct arguments and command to pass the command(boot).

Also, let me know what are all the operations available with these on Agent?

Error: root@sdadsadsasd:/# obuspa -c operate boot Missing opening bracket in the argument root@sdadsadsasd:/# obuspa -c operate [boot] Missing opening bracket in the argument root@sdadsadsasd:/# obuspa -c operate [reboot] Missing opening bracket in the argument

anderewrey commented 1 year ago

You may refer to https://github.com/BroadbandForum/obuspa/blob/master/QUICK_START_GUIDE.md#ob-usp-agent-command-line-arguments

In your case, there's two things:

obuspa -c operate "Device.Reboot()"

All the commands must be written in the TR-369 way: https://usp-data-models.broadband-forum.org/tr-181-2-15-1-usp.html#D.Device:2.Device.Reboot().