Example For Filtering Data With Regular Expression Match - HP 5920 Configuration Manual

Table of Contents

Advertisement

Operation
Less than
Not less than
Not more
than
Equal
Not equal
Include
Not include
Start with
End with
# Copy the following text to the client to retrieve extension information about the entity of which the
CPU usage is more than 50%:
<rpc message-id="100" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
xmlns:hp="http://www.hp.com/netconf/base:1.0">
<get>
<filter type="subtree">
</filter>
</get>
</rpc>

Example for filtering data with regular expression match

Network requirements
Retrieve all data including colons in the Description column of the Interfaces table under the Ifmgr
module.
Operator
match="less:value"
match="notLess:value"
match="notMore:value
"
match="equal:value"
match="notEqual:value
"
match="include:string"
match="exclude:string"
match="startWith:strin
g"
match="endWith:string
"
<top xmlns="http://www.hp.com/netconf/data:1.0">
<Device>
<ExtPhysicalEntities>
<Entity>
<CpuUsage hp:match="more:50"></CpuUsage>
</Entity>
</ExtPhysicalEntities>
</Device>
</top>
Remarks
Less than the specified value. The supported data types
include date, digit, and character string.
Not less than the specified value. The supported data types
include date, digit, and character string.
Not more than the specified value. The supported data types
include date, digit, and character string.
Equal to the specified value. The supported data types
include date, digit, character string, OID, and BOOL.
Not equal to the specified value. The supported data types
include date, digit, character string, OID, and BOOL.
Includes the specified string. The supported data types
include only character string.
Excludes the specified string. The supported data types
include only character string.
Starts with the specified string. The supported data types
include character string and OID.
Ends with the specified string. The supported data types
include only character string.
261

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900

Table of Contents