Example 1: Adding an object
Example 1, when imported into OpsCenter Analytics, adds the object Detroit under the MyMasterServers view.
(The DTD header has been snipped.)
<application version="2.0"> <objects> <object id="o3" name="master.abc.domain.com" action="declare" type="MASTER_SERVER" dbid="58"> <attribute> <name>Location</name> <value>Illinois</value> </attribute> </object> <object id="o4" name="master1" action="declare" type="MEDIA_CLIENT" dbid="61" /> <object id="o5" name="dailybackuppolicy" action="declare" type="POLICY" dbid="62" /> <object id="o6" name="weeklybackuppolicy" action="declare" type="POLICY" dbid="63" /> <object id="o7" name="monthlybackuppolicy" action="declare" type="POLICY" dbid="64" /> </object> <object id="o10" name="Detroit" action="add" type="GENERIC" /> </objects> <view identifier="MyMasterServers" type="Master Server" action="update"> <node id="n268" action="add" object="o9" /> <node id="n269" action="add" object="o3" parents="n268" /> </view> </application>