Dueling presets

Dan Morphis dan at milkcarton.com
Fri Jun 26 16:57:47 EDT 2015


Correction to my email. The presets only
flop InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.Enable value
only flops back and forth if I do a GetParameterValue or RefreshObject on
any parameter/object instance. Not on informs.

On Fri, Jun 26, 2015 at 8:50 AM, Dan Morphis <dan at milkcarton.com> wrote:

> I have two presets that apply to a particular CPE. The lowest value one
> (20) sets up the base config of the CPE, including setting values for the
> WLANConfiguration (enabling the WiFi). The next preset is specific to this
> particular CPE, and specifically
> sets InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.Enable to false.
>
> Every time the CPE does an inform, the value of
> InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.Enable changes back
> and forth between true and false. The odd thing is it only happens to this
> one CPE. I have about 5 other CPE (all with the same configuration as the
> problem CPE) specific presets that
> set InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.Enable to false
> with no issues.
>
> I've tried restarting the the cwmp, nbi, mongo and redis processes and
> still have the same issue. Any help would be most appreciated!
>
> -dan
>
>
> Base config for all CPE's:
> {
>   "_id": "Routed_No_WanPort",
>   "weight": 20,
>   "precondition":
> "{\"$and\":[{\"_tags\":\"SmartRG\"},{\"_tags\":\"Routed\"},{\"_tags\":{\"$ne\":\"WanPort\"}}]}",
>   "configurations": [
>     {
>       "type": "add_object",
>       "name":
> "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection",
>       "object": "Routed_Mode_WanPPP"
>     },
>     {
>       "type": "add_object",
>       "name": "*InternetGatewayDevice.LANDevice.1.WLANConfiguration*",
>       "object": "*WLAN_Config*"
>     }
>   ]
> }
>
> WLAN Config object:
> {
>   "_id": "WLAN_Config",
>   "RegulatoryDomain": "US",
>   "WPAEncryptionModes": "TKIPandAESEncryption",
>   "BasicEncryptionModes": "None",
>   "BeaconType": "WPAand11i",
>   "BasicAuthenticationMode": "None",
>   "WPAAuthenticationMode": "PSKAuthentication",
>   "IEEE11iEncryptionModes": "TKIPandAESEncryption",
>   "IEEE11iAuthenticationMode": "PSKAuthentication",
>   *"Enable": true,*
>   "_keys": [
>     "RegulatoryDomain"
>   ]
> }
>
> Preset specific to the CPE:
> {
>   "_id": "Routed_customer_name",
>   "weight": 200,
>   "precondition":
> "{\"_tags\":\"Routed\",\"summary.mac\":\"00:23:6a:98:86:d8\"}",
>   "configurations": [
>     {
>       "type": "value",
>       "name": "
> *InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.Enable*",
>       "value": *false*
>     }
>   ]
> }
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20150626/088ba342/attachment.html>


More information about the Users mailing list