Cisco Systems OL-27172-01 Mobility Aid User Manual


 
6-9
Cisco Broadband Access Center 3.8 Administrator Guide
OL-27172-01
Chapter 6 Firmware Management
Authoring Firmware Rules Templates
noMatch—Specifies that the device parameter value must not match any of the values in a
case-sensitive comparison.
noMatchIgnoreCase—Specifies that the device parameter value must not match any of the values in
a case-insensitive comparison.
Example 6-1 Expression - match InformParameterName
In the following sample expression, the match condition indicates that the subsequent rules are valid
when the InformParameter
Inform.EventCode has exactly the value 1 BOOT. The device reports this
value in the Inform message when it contacts the autoconfiguration server (ACS).
<Expression>
<InformParameterName>Inform.EventCode</InformParameterName>
<Value>1 BOOT</Value>
<Operator>match</Operator>
</Expression>
Example 6-2 Expression - match RpcArgumentName (RequestDownload.FileType)
In the following sample expression, the match condition indicates that the subsequent rules should be in
effect when the RPCArgumentName
RequestDownload.FileType matches exactly the value 1 Firmware
Upgrade Image.
<Expression>
<RpcArgumentName>RequestDownload.FileType</RpcArgumentName>
<Value>1 Firmware Upgrade Image</Value>
<Operator>match</Operator>
</Expression>
Example 6-3 Expression - match RpcArgumentName (RequestDownload.FileTypeArg)
In the following sample expression, the match condition indicates that the subsequent rules should be in
effect when the RPCArgumentName
RequestDownload.FileTypeArg.Version matches the value 1.1.
Note The CWMP specification defines Version to be a FileTypeArg that you can use if File Type is
Web Content.
<Expression>
<RpcArgumentName>RequestDownload.FileType</RpcArgumentName>
<Value>2 Web Content</Value>
<Operator>match</Operator>
</Expression>
<Expression>
<RpcArgumentName>RequestDownload.FileTypeArg.Version</RpcArgumentName>
<Value>1.1</Value>
<Operator>match</Operator>
</Expression>
Example 6-4 Expression - noMatch ParameterName
In the following sample expression, the match condition indicates that the subsequent rules should be in
effect when the Parameter
InternetGatewayDevice.DeviceInfo.SoftwareVersion does not match the
software version 1.02.
<Expression>
<ParameterName>InternetGatewayDevice.DeviceInfo.SoftwareVersion</ParameterName>