XML
Element |
Attributes
|
Possible
Values |
Description
|
---|---|---|---|
<state>
|
None |
DisabledIdle, EnabledIdle,
EnabledActive
|
BellCore
primary state |
<secState>
|
Blocked, Busy, ColdStandby, Combined,
Diagnostic, Disabled, Disconnected, Exercise, FacilityFailure,
FarEndProcessorOutage, Fault, Forced, HotStandby, Idle,
IdleReceive, IdleTransmit, InhibitInProgress, LockedOut,
LoopbackTest, Maintenance, MaintenanceLimited,
MismatchOfEquipmen, Monitor, Overflow,
PerformanceMonitorInhibited, Power, PrePostService,
ProtectionReleaseInhibited, ProtectionSwitchExercise,
ProtectionSwitchInhibited, Protocol, Rearrangement, RedLined,
SoftwareDownloading, SoftwareTransferInhibited,
SoftwareTransferOnly, SoftwareUploading, StandbyInhibited,
StandbySwitched, SupportedEntityAbsent, SupportedEntityExists,
SupportingEntityOutage, SupportingEntitySwapped, SuspendBoth,
SuspendOrigination, SuspendTermination,
SwitchedSystemActivity, TerminatedBoth, TerminatedFrom,
TerminatedTo, Test, TestFailure,Transferred, Unassigned,
Unequipped, Working
|
BellCore
secondary states |
|
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="NE3"> <class>ilog.tgo.model.IltNetworkElement</class> <attribute name="name">NE3</attribute> <attribute name="type">Router</attribute> <attribute name="position" javaClass="ilog.cpl.graphic.IlpPoint"> <x>151</x> <y>512</y> </attribute> <attribute name="objectState" javaClass="ilog.tgo.model.IltBellcoreObjectState"> <state>EnabledActive</state> <secState>TestFailure</secState> </attribute> </addObject>
<updateObject>
to modify the attribute
objectState
:
<updateObject id="NE1"> <attribute name="objectState" javaClass="ilog.tgo.model.IltBellcoreObjectState"> <state>EnabledActive</state> <secState>Blocked</secState> <secState>Busy</secState> </attribute> </updateObject>
<updateObject id="NE1"> <updateState> <state>EnabledIdle</state> <secState operation="remove">Blocked</secState> <secState operation="remove">Busy</secState> <secState>HotStandby</secState> </updateState> </updateObject>