This documentation supports the 9.1 to 9.1 Service Pack 3 version and its patches of BMC Atrium Core. The documentation for version 9.1.04 and its patches is available here.

To view the latest version, select the version from the Product version menu.

CMDBGraphWalkRelation structure

The CMDBGraphWalkRelation structure holds information about the relationship to walk recursively, the qualification for the query, and the attributes to retrieve.


typedef struct CMDBGraphWalkRelation
{
   CMDBClassNameId classNameId;
   ARNameList *getAttrList;
   CMDBQualifierStruct *qualification;
   unsigned int direction;
   ARBoolean isImpactGraphWalk;
}CMDBGraphWalkRelation;



The CMDBGraphWalkRelation structure consists of the following elements:

classNameId

The class name and namespace for which the attribute values are specified.

getAttrList

The list of attributes to retrieve.

qualification



A pointer to the CMDBQualifierStruct structure, which holds the qualification for the query.

direction

An integer value indicating the direction in which to traverse the relationship graph.

  • 0 --Return those relationships in which the node is the destination (CMDB_RELATIONSHIP_DIRECTION_OUT ).
  • 1 --Return those relationships in which the node is the source (CMDB_RELATIONSHIP_DIRECTION_IN ).
  • 2 --Return those relationships in which the node is either the source or the destination (CMDB_RELATIONSHIP_DIRECTION_BOTH ).

isImpactGraphWalk

A boolean value indicating whether to walk only Impact relationships in the query for the given CI.

  • TRUE-- The CMDBGraphWalk function uses only impact attributes in the query. The query returns only those CIs that share Impact relationships among each other.
  • FALSE --Walk only regular relationships in the query. The Impact relationships for the CI are ignored.

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

Comments