This documentation supports the 21.05 (12.2) version of BMC Discovery.To view an earlier version of the product, select the version from the Product version menu.

Naming conventions


Data stored in the BMC Discovery datastore should follow these naming conventions:

Entity

Convention

Comments / Exceptions

Node kinds

MixedCase starting with a capital letter.

Node kinds should always be English nouns.

Unless the node kind corresponds to something that looks wrong with an initial capital letter. For example, vSphereIntegrationResult

Relationship Kinds

MixedCase starting with a capital letter.

Relationship kinds should always be English nouns.

It is important to use nouns for relationship kinds so that they make sense in both directions. For example, if you used "Contains" as a relationship kind, it would only read correctly in one direction, whereas "Containment" makes sense in both directions.

Roles

MixedCase starting with a capital letter. English nouns.


Attribute names

lower_case_with_underscores

Incoming raw data that has associated attribute names should match the incoming names, even if they do not meet this convention

"Hidden" attributes

__lower_case prefixed with two underscores

These are not shown in UIs by default. For example, __all_ip_addrs is used on Host nodes so that searching for an IP address finds a Host, even though they are primarily stored on IPAddress nodes.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*