Commit graph

9 commits

Author SHA1 Message Date
Mohamed Kallel
315581929e move the script to load and the path prfixes from the config to the freecwmp script 2013-10-03 13:08:08 +02:00
Mohamed Kallel
6398e63086 use /etc/init.d/network reload for wifi and for wan 2013-10-03 13:08:08 +02:00
Mohamed Kallel
85a2c3f3b8 Fix SPV of Secret parameters like Password and Key 2013-10-03 13:08:07 +02:00
Mohamed Kallel
5a0ebbd982 secret values like passwords and keys suold not be set in the cache when the SPV is updating the cache 2013-10-03 13:08:07 +02:00
Mohamed Kallel
003a7aa2ce fix some issues 2013-10-03 13:08:06 +02:00
Mohamed Kallel
8c81780a1a code indent 2013-10-03 13:08:06 +02:00
Mohamed Kallel
40e86bb5ab Optimization Phase2 using cache first delivery 2013-10-03 13:08:06 +02:00
Mohamed Kallel
27b73d5af7 PIVA::DELIVERY 8
script optimization
Voice parameters: AddObject/DeleteObject
Voice parameters: Vendor specific parameter

Concerning what we did in the optimization task:
1)  The main script  (freecwmp) is loaded only 1 time during the session. the load is done just before the start of the session. the function scripts are loaded within the load of the main script (freecwmp) only one time. The old behaviour consist to load the main script (freecwmp) and the function scripts for each parameter treatment. Core code (C) and Scripts are changed
2) Optimize the preparing of inform message. old script take ~30s and now it takes ~2s. Core code (C) and Scripts are changed
3) Execute only the function related to the parameter. For example if the requested parameter is "InternetGatewayDevice.ManagementServer.URL" then the main script freecwmp will execute only the related function of this parameter which is get_management_server(). The old behaviour consist to execute all get functions: get_wan_device(), get_lan_device(), get_device_info()...
4) Minimize the size of the script files: Replace some blocks o othe source code by a functions
2013-07-24 16:05:32 +01:00
Strhuan Blomquist
42ed981f62 more freecwmp move 2013-07-17 16:23:54 +02:00
Renamed from src/scripts/functions/common (Browse further)