Cisco Systems OL-27172-01 Mobility Aid User Manual


 
4-10
Cisco Broadband Access Center 3.8 Administrator Guide
OL-27172-01
Chapter 4 CPE Management Overview
Multi-Instance Object Support
2. Next, BAC validates the expression. Since the expression parameters are configured with
multi-instance object parameters, BAC first discovers and identify the instances to evaluate the
expression.
3. After the expression is evaluated to true, BAC discovers the instance for
Device.Services.FAPService. by using GetParameterNames RPC with next level set to true.
4. To discover the multi-instance object at next level, it issues GetParameterNames RPC for
Device.Services.FAPService.{last()}.REM.UMTS.GSM.Cell.
5. Finally, BAC issues DeleteObject Message for the instance in the second index in the returned array.
Example 4-4 Invalid Example-Adding a Template Without Instance Attribute
The following example illustrates adding a template without the instance attribute.
<tc:Template
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:tc="urn:com:cisco:bac:common-template"
xmlns="urn:com:cisco:bac:cwmp-template"
xsi:schemaLocation="urn:com:cisco:bac:common-template CommonTemplateConstructs.xsd">
<Configuration templateVersion="3.0">
<ParameterDictionaries>
<ParameterDictionary>tr196-parameter-dictionary.xml</ParameterDictionary>
</ParameterDictionaries>
<ObjectInstance name="Device">
<ObjectInstance name="Services">
<ObjectInstance name="FAPService">
<ObjectInstance name="{i}" sync-method="discovered"
instance="compare(DeviceType equals CWMP1)">
<ObjectInstance name="AccessMgmt">
<ObjectInstance name="MemberDetail">
<ObjectInstance name="{i}" sync-method="discovered">
<Parameter>
<Name>Enable</Name>
<Value>true</Value>
</Parameter>
<Parameter>
<Name>IMSI</Name>
<Value>310410268739757</Value>
</Parameter>
</ObjectInstance>
</ObjectInstance>
</ObjectInstance>
</ObjectInstance>
</ObjectInstance>
</ObjectInstance>
</ObjectInstance>
</Configuration>
</tc:Template>
When this template is added through API or admin UI, the following validation error is displayed:
Error: Template file validation has failed with the following error.
[Missing instance attribute for the sync-method 'discovered']
Firmware Rules Template
Earlier to this release, the expression support in the firmware rules was not flexible enough to handle
multi-instance objects in the parameter names. This enhancement is extended to firmware rules template
where BAC discovers the multi-instance parameters to evaluate the expression.