EasyCwmp

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000050easycwmp[All Projects] Helppublic2015-04-28 14:592015-05-02 17:51
Reporterfeckert 
Assigned Tomohamed.kallel 
PrioritynoneSeveritytextReproducibilityN/A
StatusresolvedResolutionno change required 
PlatformOSOS Version
Summary0000050: common_execute_command_in_apply_service
DescriptionHi,

I have set some own Parameters over genieacs into my router. The Parameters are my own.
Now i want to restart my service to get my changes applied.
I Could do this in every script with the "common_delay_service_restart_in_apply_service" cmd from /functions/common
But this is not very smart to restart the service at every function call when a lot of parameters are changed.
I saw that it is possible to call the function "common_execute_command_in_apply_service" but theres is now description how it works!

Do I have to send an apply_service action as seen in easycwmp.sh?
Do I have to write my own scripts?

Kind regards

Flo
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000190)
mohamed.kallel (manager)
2015-05-01 12:47
edited on: 2015-05-01 12:48

You ca refer to the lan_device and wan_device scripts to see where to call the common_delay_service_restart_in_apply_service and common_execute_command_in_apply_service function.

These functions allow to specify the commands to execute and the services to restart at the end of the session with ACS and they do not execute them immediately.
And if you make set of many parameters that require the same service restart, then the service will restart only one time at the end of the session


- Issue History
Date Modified Username Field Change
2015-04-28 14:59 feckert New Issue
2015-05-01 12:47 mohamed.kallel Note Added: 0000190
2015-05-01 12:48 mohamed.kallel Note Edited: 0000190 View Revisions
2015-05-02 17:51 mohamed.kallel Status new => resolved
2015-05-02 17:51 mohamed.kallel Resolution open => no change required
2015-05-02 17:51 mohamed.kallel Assigned To => mohamed.kallel


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker