Commit graph

13 commits

Author SHA1 Message Date
MOHAMED Kallel
01c8fae1b7 load of function scripts changed.
The prefix of the related script is added in the load of the script

Signed-off-by: MOHAMED Kallel <mohamed.kallel@pivasoftware.com>
2014-11-12 16:29:22 +01:00
Simon Kers
7a7b0895f4 Adding parameter for base MAC address. refs #5276 #5505 2014-10-03 15:48:10 +02:00
MOHAMED Kallel
9a5e22be8e fix merge conflict of supporting value
Signed-off-by: MOHAMED Kallel <mohamed.kallel@pivasoftware.com>
2014-09-17 12:25:06 +01:00
Simon Kers
36f9a0e193 adding ModelName to DeviceInfo 2014-03-24 16:41:01 +01:00
Strhuan Blomquist
f1392c597c device info needs to take info from hardware database 2014-01-22 15:39:18 +01:00
Mohamed Kallel
08d577185d fix uptime notification 2013-10-03 13:08:07 +02:00
Mohamed Kallel
f9feb491a2 fix scripts issues 2013-10-03 13:08:07 +02:00
Mohamed Kallel
5d2cc6a81d script fix 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
5d36ae2167 fixes for device info 2013-07-18 10:02:01 +02:00
Strhuan Blomquist
42ed981f62 more freecwmp move 2013-07-17 16:23:54 +02:00
Renamed from src/scripts/functions/device_info (Browse further)