Symantec logo

Example agent information file (Windows)

The agent's information file is an XML file, named agent_name.xml, located in the agent directory. The file contains information about the agent, such as its name and version, and the description of the arguments for the resource type attributes. For example, the following file contains information for the FileOnOff agent:

<?xml version="1.0">

<agent name="FileOnOff" version="5.0">

<agent_description>Creates, removes, and monitors files.

</agent_description>

<!--Platform the agent runs on-->

<platform>Windows</platform>

<!--Type of agent : script-Binary-Mixed-->

<agenttype>Binary</agenttype>

<!--info entry point implemented or not-->

<info_implemented>No</info_implemented>

<!--The minimum VCS version needed

for this agent-->

<minvcsversion>4.01.0</minvcsversion>

<!--The agent vendor name-->

<vendor>Symantec</vendor>

<!--Attributes list for this agent-->

<attributes>

<PathName type="str" dimension="Scalar" editable="True"

important="True" mustconfigure="True" unique="True"

persistent="True" range="" default=""

displayname="PathName">

<attr_description>Specifies the absolute pathname.

</attr_description>

</PathName>

</attributes>

<!--List of files installed by this agent-->

<agentfiles>

<file name="%VCS_HOME\bin\FileOnOff\FileOnOffAgent" />

</agentfiles>

</agent>

Agent information

The information describing the agent is contained in the first section of the XML file. The following table describes this information, which is also contained in the previous file example:

Attribute argument details

The agent's attribute information is described by several arguments. The following table describes them. Refer also to the previous XML file example for the FileOnOff agent and see how the PathName attribute information is included in the file.