Dueling presets

Dan Morphis dan at milkcarton.com
Fri Jun 26 12:50:01 EDT 2015


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/c42b59cc/attachment.html>


More information about the Users mailing list