Delay for set next parameters

I want to configure WLAN parameters but CPU utilization 100% at this time. I have a “session timeout” by device when configured that. And other parameters don’t set. How can i set delay for next operation in provisioning?

server.keepAliveTimeout = 30000;
genieacs version 1.1.3

Split your provisioning into two steps:

  1. First preset is triggered on 0 BOOTSTRAP event. Apply the various configuration you need and set a tag to trigger the next step.

  2. The second preset is triggered on said tag and the lack of a 0 BOOTSTRAP event. Apply the remaining configuration and remove tag.

i have a similar issue i am setting tag on BOOTSTRAP
the provision is in 3 steps
bootstrap > create connections > set tag “Step1” > Reboot
boot > create voice profile > set tag “Setp2” clear tag “Step1” > Reboot
boot > change passwords > set tag “provisioned” clear tag “Step2” > Reboot

Firstep works as said
but on second step the script is running multiple times so before reboot the step 3 is executing !!

any solution ??

I see you emphasize on the “and the lack of 0 BOOTSTRAP” … this means setting -0 BOOTSTRAP at the events to match for? In this case the second preset will run immediately after the first one? or it will run only on the next non bootstrap event ?

It will run on the next inform from the CPE that does not include 0 BOOTSTRAP.

1 Like

why so many reboot? all presets will be done on Inform 1 BOOT in one time.

try that:
bootstrap > set periodic = 10 and other auth > set tag “auth_on”
2 PERIODIC, if tag == “auth_on” > create connections > set tag “Step1”, clear tag “auth_on”
2 PERIODIC, if tag == “Step1” > create voice profile > set tag “Setp2”, clear tag “Step1”
2 PERIODIC, if tag == “Step2” > create passwords > set periodic = 3600, set tag “provisioned”, clear tag “Step2”

this example work for me