model.addContainment(container, containees)

Adds the containees to the container by creating suitable relationships between the nodes. containees can be a single node, or a list of nodes, for example: [node1, node2].

If the containees are SoftwareInstances or BusinessApplications instances, SoftwareContainment relationships are created; if the containees are Hosts, HostContainment relationships are created. For software containment, appropriate HostedSoftware relationships are also created to link the container to the correct Hosts according to the contained nodes.

Was this page helpful? Yes No Submitting... Thank you