<Property> element

The <Property> element assigns a value to a parameter property.

Syntax

Parent element: <Parameter>

The following attributes are supported:

Table 1. Attributes
Attribute Required Type Description
name yes string Specifies the name of the property.
value no string Specifies the value of the property.

Usage

The <Property> element assigns a value to the property name of the parent element. This value is used when the %p[name] sequence is expanded during command-line generation.

The <Property> element is generally not added manually to profiles. The element is inserted automatically in the output profile when the artexget –r and artexget –n commands are run, based on the command defined under the corresponding <Property> element of the catalog file.

Example

The following example sets the nodeId property for the netaddr parameter. The property value is captured by the artexget –r command and is the output of the uname –f command:


<Parameter name="netaddr" value="172.16.128.13">
 <Target class="device" instance="en0"/>
 <Property name="nodeId" value="8000108390E00009"/>
</Parameter>

Related information

The artex_catalog_elem_PropertyDef.html (in catalog files).