Cisco Systems OL-27172-01 Mobility Aid User Manual


 
6-10
Cisco Broadband Access Center 3.8 Administrator Guide
OL-27172-01
Chapter 6 Firmware Management
Authoring Firmware Rules Templates
<Value>1.02</Value>
<Operator>noMatch</Operator>
</Expression>
While specifying the Regex pattern, the operator tag may be one of the following:
regexMatch—Indicates a condition that is set to ensure that the firmware rule is applied only when
the device parameter value matches the Regex pattern.
regexNoMatch—Indicates a condition that is set to ensure that the firmware rule is applied only
when the device parameter value does not match the Regex pattern.
Example 6-5 Expression - regexMatch
In the following sample expression, the regexMatch condition indicates that the firmware rule comes into
effect when the Parameter
Inform.EventCode matches Regex pattern ^[0-9]\s\w.
<Expression>
<InformParameterName>Inform.EventCode</InformParameterName>
<Value>^[0-9]\s\w</Value>
<Operator>regexMatch</Operator>
</Expression>
If the condition is specified as regexNoMatch, the firmware rule is applied only when the
Inform.EventCode does not match the Regex pattern ^[0-9]\s\w specified in the value tag.
Note Under expression, if the operator is regexMatch or regexNoMatch, ensure that only one value tag is used.
Internal Firmware File vs. External Firmware File
The Internal and External firmware image file elements define whether the firmware image files are
located within the Cisco BAC file server or at remote file server.
InternalFirmwareFile
The InternalFirmwareFile element describes the filename of the firmware image that was added to the
RDU and automatically distributed to DPEs and the delivery transport method employed to download
the firmware image to a device. It comprises:
FileName—Specifies the name of the file in the RDU database.
DeliveryTransport—Specifies service HTTP 1 or service HTTP 2 transfer.
You should configure the corresponding file service (HTTP 1 or HTTP 2) on the DPE. For
configuration details, see the Cisco Broadband Access Center 3.8 DPE CLI Reference.
If you define multiple services on the DPE with the same transport, for example, two HTTP, the DPE
chooses the first one to service the device.
FileType—Specifies the vendor specific download FileType element. This element is optional. The
default value is 1 Firmware Upgrade Image. The template version must be set to 2.0 to enable this
feature.
Location—Specifies the location where the files are stored. Possible values are Cache and File
System. The default value is Cache. Specifying the location is optional and to enable this, you must
set the template version to 2.0.