Cisco Systems OL-27172-01 Mobility Aid User Manual


 
4-7
Cisco Broadband Access Center 3.8 Administrator Guide
OL-27172-01
Chapter 4 CPE Management Overview
Multi-Instance Object Support
Index - This option can be used for direct indexing and accepts a valid positive integer. This is the
index into the returned instance names. For example, index value 1 returns the first instance.
In configuration template, the expression parameters in pre-requisites can also be configured with
multi-instance object parameters, with any of the discovered options. For more information on
prerequisites, see Prerequisites, page 5-9.
Example 4-1 Multi-Instance Object Using replace-all in Configuration Template
The following example illustrates usage of multi-instance object using replace-all in configuration
template:
<Configuration templateVersion="3.0">
<ParameterDictionaries>
<ParameterDictionary>tr196-cwmp-dictionary-v2.0.xml</ParameterDictionary>
</ParameterDictionaries>
<ObjectInstance name="Device">
<ObjectInstance name="Services">
<ObjectInstance name="FAPService">
<ObjectInstance name="{i}" sync-method="discovered" instance="all()">
<ObjectInstance name="CellConfig">
<ObjectInstance name="UMTS">
<ObjectInstance name="RAN">
<ObjectInstance name="NeighborList">
<ObjectInstance name="IntraFreqCell"
sync-method="replace-all" primary-keys="PLMNID,LAC,RNCID">
<ObjectInstance name="{i}">
<Parameter>
<Name>RAC</Name>
<Value>10</Value>
</Parameter>
<Parameter>
<Name>PLMNID</Name>
<Value>VAR(name=FC-PLMN-ID,
defaultValue=123452)</Value>
</Parameter>
<Parameter>
<Name>LAC</Name>
<Value>65532</Value>
</Parameter>
<Parameter>
<Name>RNCID</Name>
<Value>18</Value>
</Parameter>
</ObjectInstance>
<ObjectInstance name="">
<Parameter>
<Name>RAC</Name>
<Value>11</Value>
</Parameter>
<Parameter>
<Name>PLMNID</Name>
<Value>123452</Value>
</Parameter>
<Parameter>
<Name>LAC</Name>
<Value>65533</Value>
</Parameter>
<Parameter>
<Name>RNCID</Name>
<Value>21</Value>
</Parameter>
</ObjectInstance>