Create or edit a dependency type

Use one of the dependency types provided, or create a custom dependency type with a script that will execute in real time to generate a custom view of a Dependency Views map for a specific CI.

About this task

Create a JavaScript to customize the map. The script must comply with JavaScript syntax guidelines and the directions in the default script template, and it can call platform APIs. Use a dependency type, for example:
  • To narrow down and simplify a map, leaving out CIs that are not important for a specific task.
  • To include only specific CIs that are hidden by default, such as qualifiers, end-points, and entry points.
  • To display virtual relationships that are calculated, and that otherwise do not exist in the CMDB.
  • As a tool to plan a new topology deployment that is based on existing resources.
The following dependency types are included in the base system:
Application to Network Devices
Returns the network devices in the network paths leading to/from the given CI.
Network Device to Applications
Returns the applicative CIs which are target or source of network paths containing the given network device. In addition, returns the hosts of those applicative CIs, and for an applicative CI that is an inclusion, its parent CI is returned too.
Physical Network Connections
Returns hosts/network devices that are physically connected to the given host or network device.

Procedure

  1. Navigate to Dependency Views > Dependency Types.
  2. In the Load Filter Scripts list view, select an existing depenency type, or click New.
  3. Enter or modify a script, adhering to the guidelines and requirements in the script template that is provided.
  4. Click Submit.

Result

In a Dependency Views map, you can click Use Dependency Type to apply a custom script defined in a dependency type.