L'exemple de fichier XML suivant ajoute des spécifications de changement à la demande de changement 24. Le fichier changeorder24.xml indique que l'attribut alarm_id devient server1 et l'attribut location devient 2.4.6.8.
<GRLoader>
informations de connexion
<objecttype>ci_planned_change</objecttype>
<description>created by grloader *now* </description>
<attribute_name>alarm_id</attribute_name>
<chg>24</chg>
<ci>server1</ci>
<attribute_value_planned>2,4.6,8</attribute_value_planned>
</object>
informations de connexion
<objecttype>ci_planned_change</objecttype>
<description>created by grloader *now* </description>
<attribute_name>location</attribute_name>
<chg>24</chg>
<ci>server1</ci>
<attribute_value_planned>NY</attribute_value_planned>
</object>
</GRLoader>
Exécutez la commande suivante :
grloader -u ServiceDesk -p mot_passe -s http://hostname:8080 -i changeorder24.xml
|
Copyright © 2013 CA.
Tous droits réservés.
|
|