Provisioning Devices 1: Basic Setup
This tutorial describes how to configure ACS to push specific default and override parameters to a group of devices in a lab setting.
This tutorial is intended for TR-069 devices, but is generic enough that it can be applied, with some changes, to SNMP and MQTT devices.
Prerequisite
Connect one or more devices in a lab environment.
Record the serial number of each device. The serial number is required later in the tutorial when you create the device model for each newly discovered device.
Configure Devices
Configure each device to contact ACS automatically when the device is powered on.
When a TR-069-capable device connects to the network for the first time, it obtains an IP address and initiates a connection session with ACS using an Inform Request remote procedure call (RPC) that contains event codes indicating the session purpose.
(InternetGateway)Device.ManangementServer.ManagementURL
parameter. There are three ways that the device can obtain the
ACS URL.- It can be hard-coded into the device firmware by factory default.
- It can be locally configured on the device.
- The device can discover it.
Often technicians pre-configure devices before shipment to customer premises, or they load a local software installation tool for the broadband subscriber to use. For a device to discover the ACS URL, often the DHCP server that assigns it an IP address also provides the ACS URL through DHCP options or, in the case of DOCSIS devices, TLVs.
When contacted by a device, ACS discovers the device’s attributes and adds the device to the Devices screen.
A new device lacks a device model. The device model must be created for or assigned to the device.
(Optional) Modify the Discovery Algorithm
Before you can create device models, the devices that are used to create the models must be discovered correctly. If discovery fails for any devices, it is possible that the devices cannot be discovered in one session due to hardware limitations. In such cases, you may need to manually set the parameter batch size for the discovery algorithm and retry discovery.
On the Devices page, all devices for which discovery failed show “Discovery Failed” in the Status column.
About Device Models
Device models, in the service, act as containers for metadata about physical devices, and their associated firmware versions. This data lists supported parameters, describes features, such as how to configure WiFi services, details special parameters, such as those that hold log file and interface information, and defines service characteristics, such as how to discover the device and how to handle the device on factory reset.
Before you can manage a device, the service must contain a device model to store the parameters retrieved during discovery. During the device discovery process, the service matches devices to device models based on association logic which uses identifiers such as OUI, product class, and firmware version.
ACS uses the device model to generate the default dashboard for a device type. Device models are firmware-specific.
Create Device Models
For each device type, create a device model from a device with no associated models.
This task assumes that you have the serial number of each device that you want to use as the basis for creating a device model.
ACS retrieves device attributes required for the device model, creates the device model, and displays a screen with the model details.
When you create a device model from a device with no associated models, ACS automatically assigns the new model to the device.
(Optional) Auto-Assign Device Models
If other discovered devices match a new device model, you can force ACS to assign existing device models to matching devices without a model.
About Default Service Classes
Service classes are groupings of parameters, their values, and attributes (“Access List” and “Notification”). You can associate service classes with device groups, so every parameter configured within is provisioned to all the devices within the group. When a new device enters a device group, it is also provisioned with those values. You can associate multiple service classes with the same device group.
The Walled Garden device group is a pre-existing default container for newly discovered devices that are unknown to the service. It is recommended that you create a service class with default parameter configurations and add it to the Walled Garden device group. The service will apply these default parameters to devices as they discover to ACS for the first time.
For this tutorial, use the information in the following tables to create the default service class.
Name | Priority |
---|---|
Default Configurations | 100 |
Name | Value |
---|---|
InternetGatewayDevice.ManagementServer.ConnectionRequestPassword |
password |
InternetGatewayDevice.ManagementServer.ConnectionRequestUsername |
username |
InternetGatewayDevice.ManagementServer.PeriodicInformInterval |
3600 |