Partial network elements

A partial network element is an abstraction which denotes a network element that is only part of the real-world network element. Partial network elements can be used in several situations, for example:
  • To represent distributed clusters where parts of a cluster need to be divided across different subnetworks.
  • To allow one network element to be used by different service providers. In this case, the network element needs to be divided in several parts. Each part is represented as a partial network element and its state reflects only the elements that are interesting for the service provider that is using it.
A network element can be defined as partial by setting the value of the attribute partial in the business object. This attribute can be set programmatically using PartialAttribute.

How to create a partial network element

The following example illustrates how a network element is created using the attribute partial via XML
<addObject id="NE1">
  <class>ilog.tgo.model.IltNetworkElement</class>
  <attribute name="name">NE1</attribute>
  <attribute name="partial">true</attribute>
  <attribute name="type">NE</attribute>
</addObject>
Partial network elements are graphically represented by an icon located at the bottom left of the network element base.
networkelements226.gif
Partial network elements expanded and collapsed