XML
Element |
Attributes
|
Possible
Values |
Description
|
---|---|---|---|
<performance>
|
state
|
Input, In, In_Kb, In_Mb, In_Gb,
Output, Out, Out_Kb, Out_Mb, Out_Gb, Print, Generic, Power,
Temperature, Bandwidth
|
SAN
state |
isArray
|
true
or
false
|
This
attribute is optional. It defines whether the state value is an
array or not. |
|
value
|
java.lang.Float
|
This
attribute is optional. When describing array values, each value
in the array is enclosed in an element. |
|
javaClass
|
This attribute is optional. It defines the value of the state.
The default value is
java.lang.Float
.
|
||
operation
|
add
,
remove
|
This attribute is optional. It specifies whether the state
should be added to/removed from the object state. The default
value is
add
indicating that the state will be set in the object state. This
attribute is used within an
<updateState>
element.
|
<addObject id="NE1"> <class>ilog.tgo.model.IltNetworkElement</class> <attribute name="position" javaClass="ilog.cpl.graphic.IlpPoint"> <x>68</x> <y>61</y> </attribute> <attribute name="objectState" javaClass="ilog.tgo.model.IltOSIObjectState"> <state> <administrative>ShuttingDown</administrative> <operational>Enabled</operational> <usage>Active</usage> </state> <performance state="In_Kb" isArray="true" javaClass="java.lang.Integer"> <value>50</value> <value>70</value> <value>58</value> <value>60</value> <value>58</value> <value>62</value> <value>54</value> <value>24</value> <value>56</value> <value>85</value> <value>58</value> <value>65</value> <value>12</value> <value>35</value> </performance> <performance state="Input">200</performance> </attribute> </addObject>
<updateObject>
to modify the attribute
objectState
:
<updateObject id="NE1"> <attribute name="objectState" javaClass="ilog.tgo.model.IltBellcoreObjectState"> <state>EnabledActive</state> <performance state="Input">200</performance> </attribute> </updateObject>
<updateObject id="NE1"> <updateState> <performance state="Input" operation="remove"/> <performance state="Bandwidth">50</performance> </updateState> </updateObject>