While presets are the easiest way to get started, you have much greater flexibility using provisioning scripts. Provisioning scripts are initiated by presets.
To that end, the events precondition is an all or nothing thing. If you put "1 BOOT","M Reboot" in the event field, then the preset will only execute if the inform event matches both of those criteria. On Fri, May 17, 2019 at 4:20 AM holloo <[email protected]> wrote: > Hi, > > I am very beginner in field of TR069 and GeniACS, I try to define some > presets in GUI for VDSL CPEs. A basic sample: in case of reboot > InternetGatewayDevice.DeviceInfo.ProvisioningCode == 123456 > > Name= test > Channel= default > Weight= 0 > Schedule= nothing > Events= "M Reboot" (or "1 BOOT") > Precondition: nothing > Configurations= Set to InternetGatewayDevice.DeviceInfo.ProvisioningCode > to 123456 > > When I reboot the VDSL CPE I can see the follow messages from ACS and CPE > in window of genieacs-cwmp: > > 2019-05-17T11:50:46.650Z [INFO] x.x.x.x > D476EA-ZXHN%20H168N-ZTEERTHG1J00140: ACS request; acsRe│ss="0.0.0.0" > port=7557 questId="16ac5a157870000" acsRequestName="Reboot" > > 2019-05-17T11:52:08.204Z [INFO] x.x.x.x > D476EA-ZXHN%20H168N-ZTEERTHG1J00140: Inform; cpeRequestId="1" > informEvent="1 BOOT,M Reboot,4 VALUE CHANGE" informRetryCount=0 > │ > > So, the messages seem to be good, but the the preset does not apply > > What can be the problem? > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.genieacs.com/mailman/listinfo/users >
_______________________________________________ Users mailing list [email protected] http://lists.genieacs.com/mailman/listinfo/users
