Adding Devices Manually

Zaid Abdulla zaid at genieacs.com
Mon Jun 1 07:13:19 EDT 2015


On Tue, May 26, 2015, at 09:45 PM, Dan Morphis wrote:
> No need to add the refreshObject. It will happen automatically at every
> boot. 

Shouldn't happen on every boot, actually. a refreshObject will be
triggered in the following cases:

- Bootstrap event (e.g. first time contact, factory reset, ACS URL
change). This will refresh the entire data model.

- When a new parameter is detected in inform parameters. For example,
say in first inform the IP address is given at
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress.
Then in the next inform the IP address, for some reason, is repoted at
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.2.ExternalIPAddress.
In this case, the ACS will automatically refresh the parent parameter
(i.e.
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection)
adding the newly discovered parameter and removing the one that no
longer exists.

It's worth noting that in the case of bootstrap event, any tasks in the
queue will be deleted. This is to ensure that when doing factory reset
no tasks from presets based on previous configuration will be applied
after the device configuration is reset.

-- 
  Zaid Abdulla
  zaid at genieacs.com


More information about the Users mailing list