Preset : how should it work ?

Nicolas Grondin grondin.nicolas at gmail.com
Thu Dec 24 03:42:28 EST 2015


Hi Dan,
With your help and few tests, i've succeeded to make it work.

First, I created an alias on the Object B not present in default factory
CPE.
Then, I created 2 presets for all CPE from factory default :

   - Preset n°1 :
      - precondition :
         - OUI et Poduct Class match the CPE
         - IP address like 172.16.x.x or 172.17.x.x
         - Object B.Param1 "not exists" (list all possible values)
      - Configuration:
         - Set default common values for all new CPE
         - Add Object A
         - Add 2 tags for each next step : X & Y
         - Set ACS.URL:7547 (to generate a BOOTSTRAP)
      - Preset n°2 :
      - precondition :
         - OUI et Poduct Class match the CPE
         - Tag X
         - Object B.Param1 "not exists" (list all possible values)
      - Configuration:
         - Add Object B
         - Remove Tag X
         - Set ACS.URL:80 (to generate a BOOTSTRAP)
      - CPE Preset :
      - precondition :
         - Serial Number
         - Tag X not present and Tag Y present
         - Object B.Param set to Value 0
      - Configuration:
         - Set PPPoE and SIP account settings
         - Set Object B.Param to 1
         - Remove Tag Y
         - Set ACS.URL (to generate a BOOTSTRAP)

It works with the original version of GenieACS from Zaidka v1.0 branch.

I don't know if it could work without "Set ACS.URL" in each preset.

The documentation about Presets would be helpfull.

Zaid,
take time to do it please.

Regards

Merry Xmas !!!

Nicolas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20151224/37ef6e55/attachment.html>


More information about the Users mailing list