HP SIM V5.1 User Guide (356920-009, January 2007)

<node-filter name="attribute-name" operator="ct"
value="attribute-value" />
or
<node-filter name="attribute-name" operator="neq"
value="attribute-value" />
or
<node-filter name="attribute-name" operator="nct"
value="attribute-value" />
The eq operator specifies that the system on which the tool can run must have exactly the attribute value
specified. It applies to any attribute name allowed in a system filter expression. The ge operator specifies
that a system on which the tool can run on must have at least the attribute value specified. The lt and ge
operators can only be used with revision attributes, specifically
OSRevision
in the
OS type
filter and all of
the attributes of the
Protocol type
filter. The value of these attributes can be numeric or can be character
strings. The ct operator specifies that a system on which the tool can run on must have an attribute that
contains the value specified. The neq operator specifies that a system on which the tool can run on must not
have the exact attribute value specified. It applies to any attribute name allowed in a system filter expression.
The nct operator specifies that a system on which the tool can run on must have the attribute that does not
contain the value specified. For systems, the numeric valued attributes the filter expression can specify include
the
OSRevision
and
Protocol Support
attributes, whose values are version numbers. The values permitted for
version numbers and how they are compared is described in the Version Numbers in the following section.
The attribute-name is one of the values listed in the tables in the following section, or a protocol name from
the
ProtocolSupport
attribute of a system. The attribute-value is one of the possible system attribute values
for attribute-name.
Attribute values are based on the Distributed Management Task Force (DMTF) Common Information Model
(CIM). Usually these values are defined during the system identification process, which uses WBEM and
SNMP to determine system attributes. For this release, valid
OSName
values are HP-UX and Linux. For an
OSName
value of HP-UX, the
OSRevision
attribute values have the leading alphabetic field removed (for
example B.11.11 is stored as 11.11).
A system filter expression is used as part of an include filter expression. There are three types of include filter
expressions. Each type allows a different category of attribute names on which to be filtered.
Attribute names allowedFilter typeCategory
OSName, OSVendor, OS RevisionosOperating System
DeviceType, DeviceSubType, ModelhardwareHardware
Any protocol name, except HTTPprotocolProtocol Support
Can be any predefined system attribute or
any custom-system attribute.
otherOther
An include filter includes one or more system filter expressions using the attributes names allowed for it. For
example, an
os
filter could consist of:
<include-filter type="os">
<node-filter name="OSName"
operator="eq" value="LINUX" />
<node-filter name="OSVendor"
operator="eq" value="RedHat" />
<node-filter name="OSRevision"
operator="ge" value="7.2" />
</include-filter>
302 Tools that extend management